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 aCFN_STACKSET
provisioned product type. The specified Regions should be within the list of Regions from theSTACKSET
constraint. To get the list of Regions in theSTACKSET
constraint, use theDescribeProvisioningParameters
operation. If no values are specified, the default value is all Regions from theSTACKSET
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:
- 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
- Japanesezh
- Chinese
- account_list
One or more AWS accounts that will have access to the provisioned product.
- admin_role
AdminRole ARN.
- description
The description of the constraint.
- execution_role
ExecutionRole name.
- portfolio_id
The portfolio identifier.
- product_id
The product identifier.
- 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 theSTACKSET
constraint, use theDescribeProvisioningParameters
operation.If no values are specified, the default value is all Regions from the
STACKSET
constraint.
- stack_instance_control
Permission to create, update, and delete stack instances.
Choose from ALLOWED and NOT_ALLOWED.