Class AutoScalingGroupEvents.EC2InstanceTerminateLifecycleAction.EC2InstanceTerminateLifecycleActionProps
(experimental) Props type for AutoScalingGroup aws.autoscaling@EC2InstanceTerminateLifecycleAction event.
Inheritance
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class AutoScalingGroupEvents.EC2InstanceTerminateLifecycleAction.EC2InstanceTerminateLifecycleActionProps : AutoScalingGroupEvents.EC2InstanceTerminateLifecycleAction.IEC2InstanceTerminateLifecycleActionProps
Syntax (vb)
Public Class AutoScalingGroupEvents.EC2InstanceTerminateLifecycleAction.EC2InstanceTerminateLifecycleActionProps Implements AutoScalingGroupEvents.EC2InstanceTerminateLifecycleAction.IEC2InstanceTerminateLifecycleActionProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events;
var eC2InstanceTerminateLifecycleActionProps = new EC2InstanceTerminateLifecycleActionProps {
AutoScalingGroupName = new [] { "autoScalingGroupName" },
Destination = new [] { "destination" },
Ec2InstanceId = new [] { "ec2InstanceId" },
EventMetadata = new AWSEventMetadataProps {
Region = new [] { "region" },
Resources = new [] { "resources" },
Version = new [] { "version" }
},
LifecycleActionToken = new [] { "lifecycleActionToken" },
LifecycleHookName = new [] { "lifecycleHookName" },
LifecycleTransition = new [] { "lifecycleTransition" },
NotificationMetadata = new [] { "notificationMetadata" },
Origin = new [] { "origin" }
};
Synopsis
Constructors
| EC2InstanceTerminateLifecycleActionProps() | (experimental) Props type for AutoScalingGroup aws.autoscaling@EC2InstanceTerminateLifecycleAction event. |
Properties
| AutoScalingGroupName | (experimental) AutoScalingGroupName property. |
| Destination | (experimental) Destination property. |
| Ec2InstanceId | (experimental) EC2InstanceId property. |
| EventMetadata | (experimental) EventBridge event metadata. |
| LifecycleActionToken | (experimental) LifecycleActionToken property. |
| LifecycleHookName | (experimental) LifecycleHookName property. |
| LifecycleTransition | (experimental) LifecycleTransition property. |
| NotificationMetadata | (experimental) NotificationMetadata property. |
| Origin | (experimental) Origin property. |
Constructors
EC2InstanceTerminateLifecycleActionProps()
(experimental) Props type for AutoScalingGroup aws.autoscaling@EC2InstanceTerminateLifecycleAction event.
public EC2InstanceTerminateLifecycleActionProps()
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events;
var eC2InstanceTerminateLifecycleActionProps = new EC2InstanceTerminateLifecycleActionProps {
AutoScalingGroupName = new [] { "autoScalingGroupName" },
Destination = new [] { "destination" },
Ec2InstanceId = new [] { "ec2InstanceId" },
EventMetadata = new AWSEventMetadataProps {
Region = new [] { "region" },
Resources = new [] { "resources" },
Version = new [] { "version" }
},
LifecycleActionToken = new [] { "lifecycleActionToken" },
LifecycleHookName = new [] { "lifecycleHookName" },
LifecycleTransition = new [] { "lifecycleTransition" },
NotificationMetadata = new [] { "notificationMetadata" },
Origin = new [] { "origin" }
};
Properties
AutoScalingGroupName
(experimental) AutoScalingGroupName property.
public string[]? AutoScalingGroupName { get; set; }
Property Value
string[]
Remarks
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.
Default: - Filter with the AutoScalingGroup reference
Stability: Experimental
Destination
(experimental) Destination property.
public string[]? Destination { get; set; }
Property Value
string[]
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental
Ec2InstanceId
(experimental) EC2InstanceId property.
public string[]? Ec2InstanceId { get; set; }
Property Value
string[]
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental
EventMetadata
(experimental) EventBridge event metadata.
public IAWSEventMetadataProps? EventMetadata { get; set; }
Property Value
Remarks
Default: - -
Stability: Experimental
LifecycleActionToken
(experimental) LifecycleActionToken property.
public string[]? LifecycleActionToken { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of LifecycleActionToken is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
LifecycleHookName
(experimental) LifecycleHookName property.
public string[]? LifecycleHookName { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of LifecycleHookName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
LifecycleTransition
(experimental) LifecycleTransition property.
public string[]? LifecycleTransition { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of LifecycleTransition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
NotificationMetadata
(experimental) NotificationMetadata property.
public string[]? NotificationMetadata { get; set; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of NotificationMetadata is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
Default: - Do not filter on this field
Stability: Experimental
Origin
(experimental) Origin property.
public string[]? Origin { get; set; }
Property Value
string[]
Remarks
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.
Default: - Do not filter on this field
Stability: Experimental