Interface CfnInstanceEventWindowProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceEventWindowProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:50.025Z")
@Stability(Stable)
public interface CfnInstanceEventWindowProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInstanceEventWindow.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnInstanceEventWindowProps cfnInstanceEventWindowProps = CfnInstanceEventWindowProps.builder()
.cronExpression("cronExpression")
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.timeRanges(List.of(TimeRangeProperty.builder()
.endHour(123)
.endWeekDay("endWeekDay")
.startHour(123)
.startWeekDay("startWeekDay")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnInstanceEventWindowPropsstatic final classAn implementation forCfnInstanceEventWindowProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCronExpression
The cron expression defined for the event window.Exactly one of TimeRanges or CronExpression must be specified.
- See Also:
-
getName
The name of the event window.- See Also:
-
getTags
The tags applied to the event window.- See Also:
-
getTimeRanges
The time ranges of the event window.Exactly one of TimeRanges or CronExpression must be specified.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnInstanceEventWindow.TimeRangeProperty>- See Also:
-
builder
-