ec2-volume-inuse-check - AWS Config

ec2-volume-inuse-check

Checks if EBS volumes are attached to EC2 instances. Optionally checks if EBS volumes are marked for deletion when an instance is terminated.

Identifier: EC2_VOLUME_INUSE_CHECK

Trigger type: Configuration changes

AWS Region: All supported AWS regions

Parameters:

deleteOnTermination (Optional)
Type: boolean

EBS volumes are marked for deletion when an instance is terminated. Possible values: True or False (other input values are marked as non-compliant).

AWS CloudFormation template

To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.