CfnLaunchTemplateConstraintProps
- class aws_cdk.aws_servicecatalog.CfnLaunchTemplateConstraintProps(*, portfolio_id, product_id, rules, accept_language=None, description=None)
Bases:
objectProperties for defining a
CfnLaunchTemplateConstraint.- Parameters:
portfolio_id (
str) – The portfolio identifier.product_id (
str) – The product identifier.rules (
str) – The constraint rules.accept_language (
Optional[str]) – The language code. -jp- Japanese -zh- Chinesedescription (
Optional[str]) – The description of the constraint.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_servicecatalog as servicecatalog cfn_launch_template_constraint_props = servicecatalog.CfnLaunchTemplateConstraintProps( portfolio_id="portfolioId", product_id="productId", rules="rules", # the properties below are optional accept_language="acceptLanguage", description="description" )
Attributes
- accept_language
The language code.
jp- Japanesezh- Chinese
- description
The description of the constraint.
- portfolio_id
The portfolio identifier.
- product_id
The product identifier.