CfnLaunchTemplateConstraintProps

class aws_cdk.aws_servicecatalog.CfnLaunchTemplateConstraintProps(*, portfolio_id, product_id, rules, accept_language=None, description=None)

Bases: object

Properties 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 - Chinese

  • description (Optional[str]) – The description of the constraint.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html

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 - Japanese

  • zh - Chinese

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-acceptlanguage

description

The description of the constraint.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-description

portfolio_id

The portfolio identifier.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-portfolioid

product_id

The product identifier.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-productid

rules

The constraint rules.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchtemplateconstraint.html#cfn-servicecatalog-launchtemplateconstraint-rules