interface EC2FastLaunchStateChangeNotificationProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.EC2FastLaunchStateChangeNotification.EC2FastLaunchStateChangeNotificationProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#EC2FastLaunchStateChangeNotification_EC2FastLaunchStateChangeNotificationProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.EC2FastLaunchStateChangeNotification.EC2FastLaunchStateChangeNotificationProps |
Python | aws_cdk.mixins_preview.aws_ec2.events.EC2FastLaunchStateChangeNotification.EC2FastLaunchStateChangeNotificationProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_ec2 ยป events ยป EC2FastLaunchStateChangeNotification ยป EC2FastLaunchStateChangeNotificationProps |
Props type for aws.ec2@EC2FastLaunchStateChangeNotification event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ec2_events } from '@aws-cdk/mixins-preview/aws-ec2';
const eC2FastLaunchStateChangeNotificationProps: ec2_events.EC2FastLaunchStateChangeNotification.EC2FastLaunchStateChangeNotificationProps = {
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
imageId: ['imageId'],
resourceType: ['resourceType'],
state: ['state'],
stateTransitionReason: ['stateTransitionReason'],
};
Properties
| Name | Type | Description |
|---|---|---|
| event | AWSEvent | EventBridge event metadata. |
| image | string[] | imageId property. |
| resource | string[] | resourceType property. |
| state? | string[] | state property. |
| state | string[] | stateTransitionReason property. |
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
imageId?
Type:
string[]
(optional, default: Do not filter on this field)
imageId property.
Specify an array of string values to match this event if the actual value of imageId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
resourceType?
Type:
string[]
(optional, default: Do not filter on this field)
resourceType property.
Specify an array of string values to match this event if the actual value of resourceType 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:
string[]
(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.
stateTransitionReason?
Type:
string[]
(optional, default: Do not filter on this field)
stateTransitionReason property.
Specify an array of string values to match this event if the actual value of stateTransitionReason 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