approved-amis-by-id - Amazon Config
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Checks if running EC2 instances are using specified Amazon Machine Images (AMIs). Specify a list of approved AMI IDs. Running instances with AMIs that are not on this list are NON_COMPLIANT.


Resource Types: AWS::EC2::Instance

Trigger type: Configuration changes

Amazon Web Services Region: All supported Amazon regions


Type: CSV

The AMI IDs (comma-separated list of up to 21 AMI IDs or 1024 characters total, whichever comes first).

Amazon CloudFormation template

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