Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ec2): disable api termination (#30620)
### Issue # (if applicable) None ### Reason for this change Cloudformation has `disableApiTermination` property for turning on Termination Protection on EC2 Instance. This property is not configurable from L2. ### Description of changes Add `disableApiTermination` property to InstanceProps. ### Description of how you validated changes I've added both unit and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information