CfnLaunchRoleConstraintMixinProps
- class aws_cdk.mixins_preview.aws_servicecatalog.mixins.CfnLaunchRoleConstraintMixinProps(*, accept_language=None, description=None, local_role_name=None, portfolio_id=None, product_id=None, role_arn=None)
Bases:
objectProperties for CfnLaunchRoleConstraintPropsMixin.
- Parameters:
accept_language (
Optional[str]) – The language code. -jp- Japanese -zh- Chinesedescription (
Optional[str]) – The description of the constraint.local_role_name (
Optional[str]) – You are required to specify either theRoleArnor theLocalRoleNamebut can’t use both. If you specify theLocalRoleNameproperty, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account. The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.portfolio_id (
Optional[str]) – The portfolio identifier.product_id (
Optional[str]) – The product identifier.role_arn (
Optional[str]) – The ARN of the launch role. You are required to specifyRoleArnorLocalRoleNamebut can’t use both.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_servicecatalog import mixins as servicecatalog_mixins cfn_launch_role_constraint_mixin_props = servicecatalog_mixins.CfnLaunchRoleConstraintMixinProps( accept_language="acceptLanguage", description="description", local_role_name="localRoleName", portfolio_id="portfolioId", product_id="productId", role_arn="roleArn" )
Attributes
- accept_language
The language code.
jp- Japanesezh- Chinese
- description
The description of the constraint.
- local_role_name
You are required to specify either the
RoleArnor theLocalRoleNamebut can’t use both.If you specify the
LocalRoleNameproperty, when an account uses the launch constraint, the IAM role with that name in the account will be used. This allows launch-role constraints to be account-agnostic so the administrator can create fewer resources per shared account.The given role name must exist in the account used to create the launch constraint and the account of the user who launches a product with this launch constraint.
- portfolio_id
The portfolio identifier.
- product_id
The product identifier.
- role_arn
The ARN of the launch role.
You are required to specify
RoleArnorLocalRoleNamebut can’t use both.