# MaintenanceWindowProperty

An optional configuration within the `SchedulingConfig` to setup a recurring maintenance window with a predetermined start time and duration for the rollout of a job document to all devices in a target group for a job.

- 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_iot as iot } from 'aws-cdk-lib';
const maintenanceWindowProperty: iot.CfnJobTemplate.MaintenanceWindowProperty = {
  durationInMinutes: 123,
  startTime: 'startTime',
};
```

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_iot as iot

maintenance_window_property = iot.CfnJobTemplate.MaintenanceWindowProperty(
    duration_in_minutes=123,
    start_time="startTime"
)
```

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.iot.*;

MaintenanceWindowProperty maintenanceWindowProperty = MaintenanceWindowProperty.builder()
        .durationInMinutes(123)
        .startTime("startTime")
        .build();
```

C# / .NET:

```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.IoT;

var maintenanceWindowProperty = new MaintenanceWindowProperty {
    DurationInMinutes = 123,
    StartTime = "startTime"
};
```

Golang:

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

maintenanceWindowProperty := &MaintenanceWindowProperty{
	DurationInMinutes: jsii.Number(123),
	StartTime: jsii.String("startTime"),
}
```

## Properties

- `durationInMinutes`: number — Displays the duration of the next maintenance window.

- `startTime`: string — Displays the start time of the next maintenance window.
