@Stability(value=Stable)
public static interface CfnDeploymentGroup.EC2TagSetProperty
extends software.amazon.jsii.JsiiSerializable
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 .
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.*;
EC2TagSetProperty eC2TagSetProperty = EC2TagSetProperty.builder()
.ec2TagSetList(List.of(EC2TagSetListObjectProperty.builder()
.ec2TagGroup(List.of(EC2TagFilterProperty.builder()
.key("key")
.type("type")
.value("value")
.build()))
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDeploymentGroup.EC2TagSetProperty.Builder
A builder for
CfnDeploymentGroup.EC2TagSetProperty |
static class |
CfnDeploymentGroup.EC2TagSetProperty.Jsii$Proxy
An implementation for
CfnDeploymentGroup.EC2TagSetProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDeploymentGroup.EC2TagSetProperty.Builder |
builder() |
default Object |
getEc2TagSetList()
The Amazon EC2 tags that are already applied to Amazon EC2 instances that you want to include in the deployment group.
|
@Stability(value=Stable) @Nullable default Object getEc2TagSetList()
CodeDeploy includes all Amazon EC2 instances identified by any of the tags you specify in this deployment group.
Duplicates are not allowed.
@Stability(value=Stable) static CfnDeploymentGroup.EC2TagSetProperty.Builder builder()
Copyright © 2022. All rights reserved.