aws-cdk-lib.aws_codedeploy.CfnDeploymentGroup.OnPremisesTagSetProperty

interface OnPremisesTagSetProperty

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

The OnPremisesTagSet property type specifies a list containing other lists of on-premises instance tag groups.

In order for an instance to be included in the deployment group, it must be identified by all the tag groups in the list.

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 .

OnPremisesTagSet is a property of the DeploymentGroup resource.

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 onPremisesTagSetProperty: codedeploy.CfnDeploymentGroup.OnPremisesTagSetProperty = {
  onPremisesTagSetList: [{
    onPremisesTagGroup: [{
      key: 'key',
      type: 'type',
      value: 'value',
    }],
  }],
};

Properties

NameTypeDescription
onPremisesTagSetList?IResolvable | IResolvable | OnPremisesTagSetListObjectProperty[]A list that contains other lists of on-premises instance tag groups.

onPremisesTagSetList?

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

A list that contains other lists of on-premises 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.

Duplicates are not allowed.