# WindowStartTimeProperty

Struct · External

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.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `hours`: number (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.

- `minutes`: number (required) — The start minute of the window, in UTC.

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