autoscaling-launchconfig-requires-imdsv2
Checks whether only IMDSv2 is enabled. This rule is NON_COMPLIANT if the Metadata version is not included in the launch configuration or if both Metadata V1 and V2 are enabled.
Identifier: AUTOSCALING_LAUNCHCONFIG_REQUIRES_IMDSV2
Resource Types: AWS::AutoScaling::LaunchConfiguration
Trigger type: Configuration changes
AWS Region: All supported AWS regions except US ISO West (Northern California), US ISO East, Asia Pacific (Malaysia), US ISOB East (Ohio), Canada West (Calgary) Region
Parameters:
- None
AWS CloudFormation template
To create AWS Config managed rules with AWS CloudFormation templates, see Creating AWS Config Managed Rules With AWS CloudFormation Templates.