AWS CloudFormation
User Guide (Version )

AWS::CodeDeploy::DeploymentGroup EC2TagSet

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

For 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 AWS CodeDeploy.

Syntax

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

JSON

{ "Ec2TagSetList" : [ EC2TagSetListObject, ... ] }

Properties

Ec2TagSetList

The EC2 tags that are already applied to EC2 instances that you want to include in the deployment group. CodeDeploy includes all EC2 instances identified by any of the tags you specify in this deployment group.

Duplicates are not allowed.

Required: No

Type: List of EC2TagSetListObject

Update requires: No interruption

See Also

  • EC2TagSet in the AWS CodeDeploy API Reference.

On this page: