class EC2InstanceLaunchLifecycleAction
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AutoScaling.Events.EC2InstanceLaunchLifecycleAction |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsautoscaling/events#EC2InstanceLaunchLifecycleAction |
Java | software.amazon.awscdk.mixins.preview.services.autoscaling.events.EC2InstanceLaunchLifecycleAction |
Python | aws_cdk.mixins_preview.aws_autoscaling.events.EC2InstanceLaunchLifecycleAction |
TypeScript | @aws-cdk/mixins-preview » aws_autoscaling » events » EC2InstanceLaunchLifecycleAction |
EventBridge event pattern for aws.autoscaling@EC2InstanceLaunchLifecycleAction.
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 eC2InstanceLaunchLifecycleAction = new autoscaling_events.EC2InstanceLaunchLifecycleAction();
Initializer
new EC2InstanceLaunchLifecycleAction()
Methods
| Name | Description |
|---|---|
| static ec2 | EventBridge event pattern for EC2 Instance-launch Lifecycle Action. |
static ec2InstanceLaunchLifecycleActionPattern(options?)
public static ec2InstanceLaunchLifecycleActionPattern(options?: EC2InstanceLaunchLifecycleActionProps): EventPattern
Parameters
Returns
EventBridge event pattern for EC2 Instance-launch Lifecycle Action.

.NET
Go
Java
Python
TypeScript