interface CfnInstanceEventWindowMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnInstanceEventWindowMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnInstanceEventWindowMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnInstanceEventWindowMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnInstanceEventWindowMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnInstanceEventWindowMixinProps |
Properties for CfnInstanceEventWindowPropsMixin.
Example
// 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/cfn-property-mixins';
const cfnInstanceEventWindowMixinProps: ec2.CfnInstanceEventWindowMixinProps = {
cronExpression: 'cronExpression',
name: 'name',
tags: [{
key: 'key',
value: 'value',
}],
timeRanges: [{
endHour: 123,
endWeekDay: 'endWeekDay',
startHour: 123,
startWeekDay: 'startWeekDay',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| cron | string | The cron expression defined for the event window. |
| name? | string | The name of the event window. |
| tags? | Cfn[] | The tags applied to the event window. |
| time | IResolvable | (IResolvable | Time)[] | The time ranges of the event window. |
cronExpression?
Type:
string
(optional)
The cron expression defined for the event window.
Exactly one of TimeRanges or CronExpression must be specified.
name?
Type:
string
(optional)
The name of the event window.
tags?
Type:
Cfn[]
(optional)
The tags applied to the event window.
timeRanges?
Type:
IResolvable | (IResolvable | Time)[]
(optional)
The time ranges of the event window.
Exactly one of TimeRanges or CronExpression must be specified.

.NET
Go
Java
Python
TypeScript