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 ​

endHournumberend_hourint | floatendHourNumberEndHourdoubleEndHour*float64#
The hour when the time range ends.
endWeekDaystringend_week_daystrendWeekDayStringEndWeekDaystringEndWeekDay*string#
The day on which the time range ends.
startHournumberstart_hourint | floatstartHourNumberStartHourdoubleStartHour*float64#
The hour when the time range begins.
startWeekDaystringstart_week_daystrstartWeekDayStringStartWeekDaystringStartWeekDay*string#
The day on which the time range begins.