aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.EC2TagSetListObjectProperty

interface EC2TagSetListObjectProperty

LanguageType name
.NETAmazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.EC2TagSetListObjectProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_EC2TagSetListObjectProperty
Javasoftware.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.EC2TagSetListObjectProperty
Pythonaws_cdk.aws_codedeploy.CfnDeploymentGroup.EC2TagSetListObjectProperty
TypeScript aws-cdk-lib » aws_codedeploy » CfnDeploymentGroup » EC2TagSetListObjectProperty

The EC2TagSet property type specifies information about groups of tags applied to Amazon EC2 instances.

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 { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const eC2TagSetListObjectProperty: codedeploy.CfnDeploymentGroup.EC2TagSetListObjectProperty = {
  ec2TagGroup: [{
    key: 'key',
    type: 'type',
    value: 'value',
  }],
};

Properties

NameTypeDescription
ec2TagGroup?IResolvable | IResolvable | EC2TagFilterProperty[]A list that contains other lists of Amazon EC2 instance tag groups.

ec2TagGroup?

Type: IResolvable | IResolvable | EC2TagFilterProperty[] (optional)

A list that contains other lists of Amazon EC2 instance tag groups.

For an instance to be included in the deployment group, it must be identified by all of the tag groups in the list.