Interface CfnDeploymentGroup.IEC2TagSetProperty
The EC2TagSet
property type specifies information about groups of tags applied to Amazon EC2 instances.
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public interface IEC2TagSetProperty
Syntax (vb)
Public Interface IEC2TagSetProperty
Remarks
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 AWS CodeDeploy .
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.CodeDeploy;
var eC2TagSetProperty = new EC2TagSetProperty {
Ec2TagSetList = new [] { new EC2TagSetListObjectProperty {
Ec2TagGroup = new [] { new EC2TagFilterProperty {
Key = "key",
Type = "type",
Value = "value"
} }
} }
};
Synopsis
Properties
Ec2TagSetList | The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. |
Properties
Ec2TagSetList
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
virtual object Ec2TagSetList { get; }
Property Value
System.Object
Remarks
CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group.
Duplicates are not allowed.