Skip to content
v2.274.0

TimeRangeProperty Struct ​

A time range during which an AWS-initiated maintenance event may occur.

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 timeRangeProperty: ec2.CfnInstanceEventWindow.TimeRangeProperty = {
  endHour: 123,
  endWeekDay: 'endWeekDay',
  startHour: 123,
  startWeekDay: 'startWeekDay',
};

Properties ​

endHouroptionalnumberend_houroptionalint | floatendHouroptionalNumberEndHouroptionaldoubleEndHouroptional*float64#
The hour when the time range ends.
endWeekDayoptionalstringend_week_dayoptionalstrendWeekDayoptionalStringEndWeekDayoptionalstringEndWeekDayoptional*string#
The day on which the time range ends.
startHouroptionalnumberstart_houroptionalint | floatstartHouroptionalNumberStartHouroptionaldoubleStartHouroptional*float64#
The hour when the time range begins.
startWeekDayoptionalstringstart_week_dayoptionalstrstartWeekDayoptionalStringStartWeekDayoptionalstringStartWeekDayoptional*string#
The day on which the time range begins.