Interface AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps.Jsii$Proxy
Enclosing class:
AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction

@Stability(Experimental) public static interface AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps extends software.amazon.jsii.JsiiSerializable
(experimental) Props type for AutoScalingGroup aws.autoscaling@EC2InstanceLaunchLifecycleAction event.

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();
 
  • Method Details

    • getAutoScalingGroupName

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Filter with the AutoScalingGroup reference

    • getDestination

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getEc2InstanceId

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getLifecycleActionToken

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getLifecycleHookName

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getLifecycleTransition

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getNotificationMetadata

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • getOrigin

      @Stability(Experimental) @Nullable default List<String> 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.Match for more advanced matching options.

      Default: - Do not filter on this field

    • builder

      Returns:
      a AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps.Builder of AutoScalingGroupEvents.EC2InstanceLaunchLifecycleAction.EC2InstanceLaunchLifecycleActionProps