Class CfnDeploymentGroup.EC2TagSetListObjectProperty
The EC2TagSet property type specifies information about groups of tags applied to Amazon EC2 instances.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.EC2TagSetListObjectProperty : CfnDeploymentGroup.IEC2TagSetListObjectProperty
Syntax (vb)
Public Class CfnDeploymentGroup.EC2TagSetListObjectProperty Implements CfnDeploymentGroup.IEC2TagSetListObjectProperty
Remarks
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 AWS CodeDeploy in the AWS CodeDeploy User Guide .
EC2TagSet is a property of the DeploymentGroup resource type.
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 eC2TagSetListObjectProperty = new EC2TagSetListObjectProperty {
Ec2TagGroup = new [] { new EC2TagFilterProperty {
Key = "key",
Type = "type",
Value = "value"
} }
};
Synopsis
Constructors
| EC2TagSetListObjectProperty() | The |
Properties
| Ec2TagGroup | A list that contains other lists of Amazon EC2 instance tag groups. |
Constructors
EC2TagSetListObjectProperty()
The EC2TagSet property type specifies information about groups of tags applied to Amazon EC2 instances.
public EC2TagSetListObjectProperty()
Remarks
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 AWS CodeDeploy in the AWS CodeDeploy User Guide .
EC2TagSet is a property of the DeploymentGroup resource type.
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 eC2TagSetListObjectProperty = new EC2TagSetListObjectProperty {
Ec2TagGroup = new [] { new EC2TagFilterProperty {
Key = "key",
Type = "type",
Value = "value"
} }
};
Properties
Ec2TagGroup
A list that contains other lists of Amazon EC2 instance tag groups.
public object? Ec2TagGroup { get; set; }
Property Value
Remarks
For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.
Type union: either IResolvable or (either IResolvable or CfnDeploymentGroup.IEC2TagFilterProperty)[]