Interface AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps.Jsii$Proxy
- Enclosing class:
AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.autoscaling.events.*;
EC2InstanceLaunchLifecycleActionProps eC2InstanceLaunchLifecycleActionProps = EC2InstanceLaunchLifecycleActionProps.builder()
.autoScalingGroupName(List.of("autoScalingGroupName"))
.destination(List.of("destination"))
.ec2InstanceId(List.of("ec2InstanceId"))
.eventMetadata(AWSEventMetadataProps.builder()
.region(List.of("region"))
.resources(List.of("resources"))
.version(List.of("version"))
.build())
.lifecycleActionToken(List.of("lifecycleActionToken"))
.lifecycleHookName(List.of("lifecycleHookName"))
.lifecycleTransition(List.of("lifecycleTransition"))
.notificationMetadata(List.of("notificationMetadata"))
.origin(List.of("origin"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) AutoScalingGroupName property.(experimental) Destination property.(experimental) EC2InstanceId property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) LifecycleActionToken property.(experimental) LifecycleHookName property.(experimental) LifecycleTransition property.(experimental) NotificationMetadata property.(experimental) Origin property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoScalingGroupName
(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
-
getDestination
(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
-
getEc2InstanceId
(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
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
getLifecycleActionToken
(experimental) LifecycleActionToken property.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getLifecycleHookName
(experimental) LifecycleHookName property.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getLifecycleTransition
(experimental) LifecycleTransition property.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getNotificationMetadata
(experimental) NotificationMetadata property.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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getOrigin
(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
-
builder
@Stability(Experimental) static AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps.Builder builder()
-