ec2-instance-profile-attached
Checks if an EC2 instance has an Amazon Identity and Access Management (IAM) profile attached to it. The rule is NON_COMPLIANT if no IAM profile is attached to the EC2 instance.
Identifier: EC2_INSTANCE_PROFILE_ATTACHED
Resource Types: AWS::EC2::Instance
Trigger type: Configuration changes
Amazon Web Services Region: All supported Amazon regions except Asia Pacific (Taipei), Canada West (Calgary) Region
Parameters:
- IamInstanceProfileArnList (Optional)
- Type: CSV
-
Comma-separated list of IAM profile Amazon Resource Names (ARNs) that can be attached to Amazon EC2 instances.
Amazon CloudFormation template
To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.