Class CfnDeploymentGroup.EC2TagSetProperty
The EC2TagSet
property type specifies information about groups of tags applied to Amazon EC2 instances.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class EC2TagSetProperty : Object, CfnDeploymentGroup.IEC2TagSetProperty
Syntax (vb)
Public Class EC2TagSetProperty
Inherits Object
Implements CfnDeploymentGroup.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
Constructors
EC2TagSetProperty() |
Properties
Ec2TagSetList | The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group. |
Constructors
EC2TagSetProperty()
public EC2TagSetProperty()
Properties
Ec2TagSetList
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
public object Ec2TagSetList { get; set; }
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.