public static interface CfnDeploymentGroup.EC2TagSetListObjectProperty
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.codedeploy.*; EC2TagSetListObjectProperty eC2TagSetListObjectProperty = EC2TagSetListObjectProperty.builder() .ec2TagGroup(List.of(EC2TagFilterProperty.builder() .key("key") .type("type") .value("value") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder
A builder for
CfnDeploymentGroup.EC2TagSetListObjectProperty |
static class |
CfnDeploymentGroup.EC2TagSetListObjectProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.EC2TagSetListObjectProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder |
builder() |
default java.lang.Object |
getEc2TagGroup()
A list that contains other lists of Amazon EC2 instance tag groups.
|
default java.lang.Object getEc2TagGroup()
For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.
static CfnDeploymentGroup.EC2TagSetListObjectProperty.Builder builder()