Interface EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps.Jsii$Proxy
- Enclosing class:
EC2ImageBuilderImageStateChange
@Stability(Experimental)
public static interface EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for aws.imagebuilder@EC2ImageBuilderImageStateChange 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.imagebuilder.events.*;
EC2ImageBuilderImageStateChangeProps eC2ImageBuilderImageStateChangeProps = EC2ImageBuilderImageStateChangeProps.builder()
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.previousState(ImageState.builder()
.reason(List.of("reason"))
.status(List.of("status"))
.build())
.state(ImageState.builder()
.reason(List.of("reason"))
.status(List.of("status"))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forEC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) previous-state property.getState()(experimental) state property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getPreviousState
@Stability(Experimental) @Nullable default EC2ImageBuilderImageStateChange.ImageState getPreviousState()(experimental) previous-state property.Specify an array of string values to match this event if the actual value of previous-state 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
-
getState
(experimental) state property.Specify an array of string values to match this event if the actual value of state 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
-
builder
@Stability(Experimental) static EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps.Builder builder()
-