Skip to content
v2.278.0

WindowStartTimeProperty Struct ​

A custom start time for the off-peak window, in Coordinated Universal Time (UTC).

The window length will always be 10 hours, so you can't specify an end time. For example, if you specify 11:00 P.M. UTC as a start time, the end time will automatically be set to 9:00 A.M.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_opensearchservice as opensearchservice } from 'aws-cdk-lib';
const windowStartTimeProperty: opensearchservice.CfnDomain.WindowStartTimeProperty = {
  hours: 123,
  minutes: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_opensearchservice as opensearchservice

window_start_time_property = opensearchservice.CfnDomain.WindowStartTimeProperty(
    hours=123,
    minutes=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opensearchservice.*;

WindowStartTimeProperty windowStartTimeProperty = WindowStartTimeProperty.builder()
        .hours(123)
        .minutes(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.OpenSearchService;

var windowStartTimeProperty = new WindowStartTimeProperty {
    Hours = 123,
    Minutes = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

windowStartTimeProperty := &WindowStartTimeProperty{
	Hours: jsii.Number(123),
	Minutes: jsii.Number(123),
}

Properties ​

hoursnumberhoursint | floathoursNumberHoursdoubleHours*float64 required #
The start hour of the window in Coordinated Universal Time (UTC), using 24-hour time.

For example, 17 refers to 5:00 P.M. UTC. The minimum value is 0 and the maximum value is 23.

minutesnumberminutesint | floatminutesNumberMinutesdoubleMinutes*float64 required #
The start minute of the window, in UTC.

The minimum value is 0 and the maximum value is 59.