required-tags - 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.

required-tags

Checks if your resources have the tags that you specify. For example, you can check whether your Amazon EC2 instances have the CostCenter tag. Separate multiple values with commas. You can check up to 6 tags at a time.

The Amazon-managed Amazon Systems Manager automation document AWS-SetRequiredTags does not work as a remediation with this rule. You will need to create your own custom Systems Manager automation documentation for remediation.

Important

The supported resource types for this rule are as follows:

  • ACM::Certificate

  • AutoScaling::AutoScalingGroup

  • CloudFormation::Stack

  • CodeBuild::Project

  • DynamoDB::Table

  • EC2::CustomerGateway

  • EC2::Instance

  • EC2::InternetGateway

  • EC2::NetworkAcl

  • EC2::NetworkInterface

  • EC2::RouteTable

  • EC2::SecurityGroup

  • EC2::Subnet

  • EC2::Volume

  • EC2::VPC

  • EC2::VPNConnection

  • EC2::VPNGateway

  • ElasticLoadBalancing::LoadBalancer

  • ElasticLoadBalancingV2::LoadBalancer

  • RDS::DBInstance

  • RDS::DBSecurityGroup

  • RDS::DBSnapshot

  • RDS::DBSubnetGroup

  • RDS::EventSubscription

  • Redshift::Cluster

  • Redshift::ClusterParameterGroup

  • Redshift::ClusterSecurityGroup

  • Redshift::ClusterSnapshot

  • Redshift::ClusterSubnetGroup

  • S3::Bucket

Identifier: REQUIRED_TAGS

Trigger type: Configuration changes

Amazon Web Services Region: All supported Amazon regions

Parameters:

tag1Key
Type: String
Default: CostCenter

Key of the required tag.

tag1Value (Optional)
Type: CSV

Optional value of the required tag. Separate multiple values with commas.

tag2Key (Optional)
Type: String

Key of a second required tag.

tag2Value (Optional)
Type: CSV

Optional value of the second required tag. Separate multiple values with commas.

tag3Key (Optional)
Type: String

Key of a third required tag.

tag3Value (Optional)
Type: CSV

Optional value of the third required tag. Separate multiple values with commas.

tag4Key (Optional)
Type: String

Key of a fourth required tag.

tag4Value (Optional)
Type: CSV

Optional value of the fourth required tag. Separate multiple values with commas.

tag5Key (Optional)
Type: String

Key of a fifth required tag.

tag5Value (Optional)
Type: CSV

Optional value of the fifth required tag. Separate multiple values with commas.

tag6Key (Optional)
Type: String

Key of a sixth required tag.

tag6Value (Optional)
Type: CSV

Optional value of the sixth required tag. Separate multiple values with commas.

Amazon CloudFormation template

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