TagUpdateConstraintOptions

class aws_cdk.aws_servicecatalog.TagUpdateConstraintOptions(*, description=None, message_language=None, allow=None)

Bases: CommonConstraintOptions

Properties for ResourceUpdateConstraint.

Parameters:
  • description (Optional[str]) – The description of the constraint. Default: - No description provided

  • message_language (Optional[MessageLanguage]) – The language code. Configures the language for error messages from service catalog. Default: - English

  • allow (Optional[bool]) – Toggle for if users should be allowed to change/update tags on provisioned products. Default: true

ExampleMetadata:

infused

Example:

# portfolio: servicecatalog.Portfolio
# product: servicecatalog.CloudFormationProduct


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

Attributes

allow

Toggle for if users should be allowed to change/update tags on provisioned products.

Default:

true

description

The description of the constraint.

Default:
  • No description provided

message_language

The language code.

Configures the language for error messages from service catalog.

Default:
  • English