interface TimeRangeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnInstanceEventWindowPropsMixin.TimeRangeProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnInstanceEventWindowPropsMixin_TimeRangeProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnInstanceEventWindowPropsMixin.TimeRangeProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnInstanceEventWindowPropsMixin.TimeRangeProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnInstanceEventWindowPropsMixin » TimeRangeProperty |
A time range during which an AWS-initiated maintenance event may occur.
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 timeRangeProperty: ec2.CfnInstanceEventWindowPropsMixin.TimeRangeProperty = {
endHour: 123,
endWeekDay: 'endWeekDay',
startHour: 123,
startWeekDay: 'startWeekDay',
};
Properties
| Name | Type | Description |
|---|---|---|
| end | number | The hour when the time range ends. |
| end | string | The day on which the time range ends. |
| start | number | The hour when the time range begins. |
| start | string | The day on which the time range begins. |
endHour?
Type:
number
(optional)
The hour when the time range ends.
endWeekDay?
Type:
string
(optional)
The day on which the time range ends.
startHour?
Type:
number
(optional)
The hour when the time range begins.
startWeekDay?
Type:
string
(optional)
The day on which the time range begins.

.NET
Go
Java
Python
TypeScript