Skip to content
v2.277.0

TagUpdateConstraintOptions Struct ​

Properties for ResourceUpdateConstraint.

Example ​

ts
declare const portfolio: servicecatalog.Portfolio;
declare const product: servicecatalog.CloudFormationProduct;

// to disable tag updates:
portfolio.constrainTagUpdates(product, {
  allow: false,
});
python
# portfolio: servicecatalog.Portfolio
# product: servicecatalog.CloudFormationProduct


# to disable tag updates:
portfolio.constrain_tag_updates(product,
    allow=False
)
java
Portfolio portfolio;
CloudFormationProduct product;


// to disable tag updates:
portfolio.constrainTagUpdates(product, TagUpdateConstraintOptions.builder()
        .allow(false)
        .build());
csharp
// Install: dotnet add package Amazon.CDK.Lib
Portfolio portfolio;
CloudFormationProduct product;


// to disable tag updates:
portfolio.ConstrainTagUpdates(product, new TagUpdateConstraintOptions {
    Allow = false
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
var portfolio Portfolio
var product CloudFormationProduct


// to disable tag updates:
portfolio.constrainTagUpdates(product, &TagUpdateConstraintOptions{
	Allow: jsii.Boolean(false),
})

Properties ​

allowoptionalbooleanallowoptionalboolallowoptionalBooleanAllowoptionalboolAllowoptional*bool= true#
Toggle for if users should be allowed to change/update tags on provisioned products.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#
The description of the constraint.

Default: No description provided

messageLanguageoptionalMessageLanguagemessage_languageoptionalMessageLanguagemessageLanguageoptionalMessageLanguageMessageLanguageoptionalMessageLanguageMessageLanguageoptionalMessageLanguage= English#
The language code.

Configures the language for error messages from service catalog.