interface EC2InstanceTerminateUnsuccessfulProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events.AutoScalingGroupEvents.EC2InstanceTerminateUnsuccessful.EC2InstanceTerminateUnsuccessfulProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/events#AutoScalingGroupEvents_EC2InstanceTerminateUnsuccessful_EC2InstanceTerminateUnsuccessfulProps |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.events.AutoScalingGroupEvents.EC2InstanceTerminateUnsuccessful.EC2InstanceTerminateUnsuccessfulProps |
Python | aws_cdk.mixins_preview.aws_autoscaling.events.AutoScalingGroupEvents.EC2InstanceTerminateUnsuccessful.EC2InstanceTerminateUnsuccessfulProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_autoscaling ยป events ยป AutoScalingGroupEvents ยป EC2InstanceTerminateUnsuccessful ยป EC2InstanceTerminateUnsuccessfulProps |
Props type for AutoScalingGroup aws.autoscaling@EC2InstanceTerminateUnsuccessful event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as autoscaling_events } from '@aws-cdk/mixins-preview/aws-autoscaling';
const eC2InstanceTerminateUnsuccessfulProps: autoscaling_events.AutoScalingGroupEvents.EC2InstanceTerminateUnsuccessful.EC2InstanceTerminateUnsuccessfulProps = {
activityId: ['activityId'],
autoScalingGroupName: ['autoScalingGroupName'],
cause: ['cause'],
description: ['description'],
destination: ['destination'],
details: {
availabilityZone: ['availabilityZone'],
subnetId: ['subnetId'],
},
ec2InstanceId: ['ec2InstanceId'],
endTime: ['endTime'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
origin: ['origin'],
requestId: ['requestId'],
startTime: ['startTime'],
statusCode: ['statusCode'],
statusMessage: ['statusMessage'],
};
Properties
| Name | Type | Description |
|---|---|---|
| activity | string[] | ActivityId property. |
| auto | string[] | AutoScalingGroupName property. |
| cause? | string[] | Cause property. |
| description? | string[] | Description property. |
| destination? | string[] | Destination property. |
| details? | Details | Details property. |
| ec2 | string[] | EC2InstanceId property. |
| end | string[] | EndTime property. |
| event | AWSEvent | EventBridge event metadata. |
| origin? | string[] | Origin property. |
| request | string[] | RequestId property. |
| start | string[] | StartTime property. |
| status | string[] | StatusCode property. |
| status | string[] | StatusMessage property. |
activityId?
Type:
string[]
(optional, default: Do not filter on this field)
ActivityId property.
Specify an array of string values to match this event if the actual value of ActivityId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
autoScalingGroupName?
Type:
string[]
(optional, default: Filter with the AutoScalingGroup reference)
AutoScalingGroupName property.
Specify an array of string values to match this event if the actual value of AutoScalingGroupName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
cause?
Type:
string[]
(optional, default: Do not filter on this field)
Cause property.
Specify an array of string values to match this event if the actual value of Cause is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
description?
Type:
string[]
(optional, default: Do not filter on this field)
Description property.
Specify an array of string values to match this event if the actual value of Description is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
destination?
Type:
string[]
(optional, default: Do not filter on this field)
Destination property.
Specify an array of string values to match this event if the actual value of Destination is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
details?
Type:
Details
(optional, default: Do not filter on this field)
Details property.
Specify an array of string values to match this event if the actual value of Details is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
ec2InstanceId?
Type:
string[]
(optional, default: Do not filter on this field)
EC2InstanceId property.
Specify an array of string values to match this event if the actual value of EC2InstanceId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
endTime?
Type:
string[]
(optional, default: Do not filter on this field)
EndTime property.
Specify an array of string values to match this event if the actual value of EndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
origin?
Type:
string[]
(optional, default: Do not filter on this field)
Origin property.
Specify an array of string values to match this event if the actual value of Origin is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
requestId?
Type:
string[]
(optional, default: Do not filter on this field)
RequestId property.
Specify an array of string values to match this event if the actual value of RequestId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
startTime?
Type:
string[]
(optional, default: Do not filter on this field)
StartTime property.
Specify an array of string values to match this event if the actual value of StartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
statusCode?
Type:
string[]
(optional, default: Do not filter on this field)
StatusCode property.
Specify an array of string values to match this event if the actual value of StatusCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
statusMessage?
Type:
string[]
(optional, default: Do not filter on this field)
StatusMessage property.
Specify an array of string values to match this event if the actual value of StatusMessage 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