ScheduleProperty Struct
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
executionWindowInMinutesoptionalnumberexecution_window_in_minutesoptionalint | floatexecutionWindowInMinutesoptionalNumberExecutionWindowInMinutesoptionaldoubleExecutionWindowInMinutesoptional*float64 #Execution window duration in minutes.
scheduleExpressionoptionalstringschedule_expressionoptionalstrscheduleExpressionoptionalStringScheduleExpressionoptionalstringScheduleExpressionoptional*string #Schedule expression (e.g., cron or rate expression).
scheduleExpressionTimezoneoptionalstringschedule_expression_timezoneoptionalstrscheduleExpressionTimezoneoptionalStringScheduleExpressionTimezoneoptionalstringScheduleExpressionTimezoneoptional*string #IANA timezone identifier.