CfnInstanceEventWindowProps Struct
Properties for defining a CfnInstanceEventWindow.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const cfnInstanceEventWindowProps: ec2.CfnInstanceEventWindowProps = {
cronExpression: 'cronExpression',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
timeRanges: [{
endHour: 123,
endWeekDay: 'endWeekDay',
startHour: 123,
startWeekDay: 'startWeekDay',
}],
};
Properties
cronExpressionoptionalstringcron_expressionoptionalstrcronExpressionoptionalStringCronExpressionoptionalstringCronExpressionoptional*string#The cron expression defined for the event window.
Exactly one of TimeRanges or CronExpression must be specified.
The name of the event window.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#The tags applied to the event window.
timeRangesoptionalIResolvable | IResolvable | CfnInstanceEventWindow.TimeRangeProperty[]time_rangesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, TimeRangeProperty]]]timeRangesoptionalIResolvableTimeRangesoptionalIResolvableTimeRangesoptionalinterface{}#The time ranges of the event window.
Exactly one of TimeRanges or CronExpression must be specified.