# ScheduleProperty

- Source: Generated at build time
- Type last changed: v2.241.0 · 2 Mar 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_computeoptimizer as computeoptimizer } from 'aws-cdk-lib';
const scheduleProperty: computeoptimizer.CfnAutomationRule.ScheduleProperty = {
  executionWindowInMinutes: 123,
  scheduleExpression: 'scheduleExpression',
  scheduleExpressionTimezone: 'scheduleExpressionTimezone',
};
```

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_computeoptimizer as computeoptimizer

schedule_property = computeoptimizer.CfnAutomationRule.ScheduleProperty(
    execution_window_in_minutes=123,
    schedule_expression="scheduleExpression",
    schedule_expression_timezone="scheduleExpressionTimezone"
)
```

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

ScheduleProperty scheduleProperty = ScheduleProperty.builder()
        .executionWindowInMinutes(123)
        .scheduleExpression("scheduleExpression")
        .scheduleExpressionTimezone("scheduleExpressionTimezone")
        .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.ComputeOptimizer;

var scheduleProperty = new ScheduleProperty {
    ExecutionWindowInMinutes = 123,
    ScheduleExpression = "scheduleExpression",
    ScheduleExpressionTimezone = "scheduleExpressionTimezone"
};
```

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"

scheduleProperty := &ScheduleProperty{
	ExecutionWindowInMinutes: jsii.Number(123),
	ScheduleExpression: jsii.String("scheduleExpression"),
	ScheduleExpressionTimezone: jsii.String("scheduleExpressionTimezone"),
}
```

## Properties

- `executionWindowInMinutes`: number — Execution window duration in minutes.

- `scheduleExpression`: string — Schedule expression (e.g., cron or rate expression).

- `scheduleExpressionTimezone`: string — IANA timezone identifier.
