AWS::CodeDeploy::DeploymentGroup EC2TagSetListObject - Amazon CloudFormation
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).

AWS::CodeDeploy::DeploymentGroup EC2TagSetListObject

The EC2TagSet property type specifies information about groups of tags applied to Amazon EC2 instances. The deployment group includes only Amazon EC2 instances identified by all the tag groups. Cannot be used in the same template as EC2TagFilters.

For more information about using tags and tag groups to help manage your Amazon EC2 instances and on-premises instances, see Tagging Instances for Deployment Groups in Amazon CodeDeploy in the Amazon CodeDeploy User Guide.

EC2TagSet is a property of the DeploymentGroup resource type.


To declare this entity in your Amazon CloudFormation template, use the following syntax:


{ "Ec2TagGroup" : [ EC2TagFilter, ... ] }



A list that contains other lists of Amazon EC2 instance tag groups. For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.

Required: No

Type: Array of EC2TagFilter

Update requires: No interruption

See also

  • EC2TagSet in the Amazon CodeDeploy API Reference.