AWS::CodeDeploy::DeploymentGroup EC2TagSet
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. 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 Amazon CodeDeploy.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Ec2TagSetList" :
[ EC2TagSetListObject, ... ]
}
YAML
Ec2TagSetList:
- EC2TagSetListObject
Properties
-
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group.
Duplicates are not allowed.
Required: No
Type: Array of EC2TagSetListObject
Update requires: No interruption
See also
-
EC2TagSet in the Amazon CodeDeploy API Reference.