interface EC2ImageBuilderImageStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Events.EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsimagebuilder/events#EC2ImageBuilderImageStateChange_EC2ImageBuilderImageStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.imagebuilder.events.EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps |
Python | aws_cdk.mixins_preview.aws_imagebuilder.events.EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_imagebuilder ยป events ยป EC2ImageBuilderImageStateChange ยป EC2ImageBuilderImageStateChangeProps |
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 { events as imagebuilder_events } from '@aws-cdk/mixins-preview/aws-imagebuilder';
const eC2ImageBuilderImageStateChangeProps: imagebuilder_events.EC2ImageBuilderImageStateChange.EC2ImageBuilderImageStateChangeProps = {
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
previousState: {
reason: ['reason'],
status: ['status'],
},
state: {
reason: ['reason'],
status: ['status'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| event | AWSEvent | EventBridge event metadata. |
| previous | Image | previous-state property. |
| state? | Image | state property. |
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
previousState?
Type:
Image
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.
state?
Type:
Image
(optional, default: Do not filter on this field)
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.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript