EC2InstanceTerminateUnsuccessful
- class aws_cdk.mixins_preview.aws_autoscaling.events.EC2InstanceTerminateUnsuccessful
Bases:
object(experimental) EventBridge event pattern for aws.autoscaling@EC2InstanceTerminateUnsuccessful.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events e_c2_instance_terminate_unsuccessful = autoscaling_events.EC2InstanceTerminateUnsuccessful()
- Stability:
experimental
Static Methods
- classmethod ec2_instance_terminate_unsuccessful_pattern(*, activity_id=None, auto_scaling_group_name=None, cause=None, description=None, destination=None, details=None, ec2_instance_id=None, end_time=None, event_metadata=None, origin=None, request_id=None, start_time=None, status_code=None, status_message=None)
(experimental) EventBridge event pattern for EC2 Instance Terminate Unsuccessful.
- Parameters:
activity_id (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldauto_scaling_group_name (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the AutoScalingGroup referencecause (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddescription (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddestination (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddetails (
Union[Details,Dict[str,Any],None]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldec2_instance_id (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldend_time (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -origin (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_id (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstart_time (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatus_code (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatus_message (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
Details
- class EC2InstanceTerminateUnsuccessful.Details(*, availability_zone=None, subnet_id=None)
Bases:
object(experimental) Type definition for Details.
- Parameters:
availability_zone (
Optional[Sequence[str]]) – (experimental) Availability Zone property. Specify an array of string values to match this event if the actual value of Availability Zone is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldsubnet_id (
Optional[Sequence[str]]) – (experimental) Subnet ID property. Specify an array of string values to match this event if the actual value of Subnet ID is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events details = autoscaling_events.EC2InstanceTerminateUnsuccessful.Details( availability_zone=["availabilityZone"], subnet_id=["subnetId"] )
Attributes
- availability_zone
(experimental) Availability Zone property.
Specify an array of string values to match this event if the actual value of Availability Zone 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
- Stability:
experimental
- subnet_id
(experimental) Subnet ID property.
Specify an array of string values to match this event if the actual value of Subnet ID 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
- Stability:
experimental
EC2InstanceTerminateUnsuccessfulProps
- class EC2InstanceTerminateUnsuccessful.EC2InstanceTerminateUnsuccessfulProps(*, activity_id=None, auto_scaling_group_name=None, cause=None, description=None, destination=None, details=None, ec2_instance_id=None, end_time=None, event_metadata=None, origin=None, request_id=None, start_time=None, status_code=None, status_message=None)
Bases:
object(experimental) Props type for aws.autoscaling@EC2InstanceTerminateUnsuccessful event.
- Parameters:
activity_id (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldauto_scaling_group_name (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the AutoScalingGroup referencecause (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddescription (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddestination (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fielddetails (
Union[Details,Dict[str,Any],None]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldec2_instance_id (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldend_time (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -origin (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldrequest_id (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstart_time (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatus_code (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldstatus_message (
Optional[Sequence[str]]) – (experimental) 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_autoscaling import events as autoscaling_events e_c2_instance_terminate_unsuccessful_props = autoscaling_events.EC2InstanceTerminateUnsuccessful.EC2InstanceTerminateUnsuccessfulProps( activity_id=["activityId"], auto_scaling_group_name=["autoScalingGroupName"], cause=["cause"], description=["description"], destination=["destination"], details=autoscaling_events.EC2InstanceTerminateUnsuccessful.Details( availability_zone=["availabilityZone"], subnet_id=["subnetId"] ), ec2_instance_id=["ec2InstanceId"], end_time=["endTime"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), origin=["origin"], request_id=["requestId"], start_time=["startTime"], status_code=["statusCode"], status_message=["statusMessage"] )
Attributes
- activity_id
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- auto_scaling_group_name
(experimental) 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.Matchfor more advanced matching options.- Default:
Filter with the AutoScalingGroup reference
- Stability:
experimental
- cause
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- description
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- destination
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- details
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- ec2_instance_id
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- end_time
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- origin
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- request_id
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- start_time
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- status_code
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- status_message
(experimental) 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental