CfnStackSetConstraintProps

class aws_cdk.aws_servicecatalog.CfnStackSetConstraintProps(*, account_list, admin_role, description, execution_role, portfolio_id, product_id, region_list, stack_instance_control, accept_language=None)

Bases: object

Properties for defining a CfnStackSetConstraint.

Parameters:
  • account_list (Sequence[str]) – One or more AWS accounts that will have access to the provisioned product.

  • admin_role (str) – AdminRole ARN.

  • description (str) – The description of the constraint.

  • execution_role (str) – ExecutionRole name.

  • portfolio_id (str) – The portfolio identifier.

  • product_id (str) – The product identifier.

  • region_list (Sequence[str]) – One or more AWS Regions where the provisioned product will be available. Applicable only to a CFN_STACKSET provisioned product type. The specified Regions should be within the list of Regions from the STACKSET constraint. To get the list of Regions in the STACKSET constraint, use the DescribeProvisioningParameters operation. If no values are specified, the default value is all Regions from the STACKSET constraint.

  • stack_instance_control (str) – Permission to create, update, and delete stack instances. Choose from ALLOWED and NOT_ALLOWED.

  • accept_language (Optional[str]) – The language code. - jp - Japanese - zh - Chinese

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-stacksetconstraint.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_stack_set_constraint_props = servicecatalog.CfnStackSetConstraintProps(
    account_list=["accountList"],
    admin_role="adminRole",
    description="description",
    execution_role="executionRole",
    portfolio_id="portfolioId",
    product_id="productId",
    region_list=["regionList"],
    stack_instance_control="stackInstanceControl",

    # the properties below are optional
    accept_language="acceptLanguage"
)

Attributes

accept_language

The language code.

  • jp - Japanese

  • zh - Chinese

Link:

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

account_list

One or more AWS accounts that will have access to the provisioned product.

Link:

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

admin_role

AdminRole ARN.

Link:

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

description

The description of the constraint.

Link:

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

execution_role

ExecutionRole name.

Link:

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

portfolio_id

The portfolio identifier.

Link:

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

product_id

The product identifier.

Link:

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

region_list

One or more AWS Regions where the provisioned product will be available.

Applicable only to a CFN_STACKSET provisioned product type.

The specified Regions should be within the list of Regions from the STACKSET constraint. To get the list of Regions in the STACKSET constraint, use the DescribeProvisioningParameters operation.

If no values are specified, the default value is all Regions from the STACKSET constraint.

Link:

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

stack_instance_control

Permission to create, update, and delete stack instances.

Choose from ALLOWED and NOT_ALLOWED.

Link:

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