Interface InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps.Jsii$Proxy
- Enclosing class:
InstanceEvents.EC2SpotInstanceInterruptionWarning
@Stability(Experimental)
public static interface InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for Instance aws.ec2@EC2SpotInstanceInterruptionWarning event.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.ec2.events.*;
EC2SpotInstanceInterruptionWarningProps eC2SpotInstanceInterruptionWarningProps = EC2SpotInstanceInterruptionWarningProps.builder()
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.instanceAction(List.of("instanceAction"))
.instanceId(List.of("instanceId"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps.Builderbuilder()default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) instance-action property.(experimental) instance-id property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getInstanceAction
(experimental) instance-action property.Specify an array of string values to match this event if the actual value of instance-action is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getInstanceId
(experimental) instance-id property.Specify an array of string values to match this event if the actual value of instance-id is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.Default: - Filter with the Instance reference
-
builder
@Stability(Experimental) static InstanceEvents.EC2SpotInstanceInterruptionWarning.EC2SpotInstanceInterruptionWarningProps.Builder builder()
-