Skip to content

ec2: support instanceInitiatedShutdownBehavior for EC2 instance #30164

@badmintoncryer

Description

@badmintoncryer

Describe the feature

Add instanceInitiatedShutdownBehavior prop for EC2 Instance L2 construct.

Use Case

Cloudforamtion supports to specify instanceInitiatedShutdownBehavior for EC2 instance but CDK cannot.

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#cfn-ec2-instance-instanceinitiatedshutdownbehavior

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.141.0

Environment details (OS name and version, etc.)

irrelevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-ec2Related to Amazon Elastic Compute Cloudeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions