interface CfnLaunchRoleConstraintProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.ServiceCatalog.CfnLaunchRoleConstraintProps |
![]() | software.amazon.awscdk.services.servicecatalog.CfnLaunchRoleConstraintProps |
![]() | aws_cdk.aws_servicecatalog.CfnLaunchRoleConstraintProps |
![]() | @aws-cdk/aws-servicecatalog » CfnLaunchRoleConstraintProps |
Properties for defining a CfnLaunchRoleConstraint
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as servicecatalog from '@aws-cdk/aws-servicecatalog';
const cfnLaunchRoleConstraintProps: servicecatalog.CfnLaunchRoleConstraintProps = {
portfolioId: 'portfolioId',
productId: 'productId',
// the properties below are optional
acceptLanguage: 'acceptLanguage',
description: 'description',
localRoleName: 'localRoleName',
roleArn: 'roleArn',
};
Properties
Name | Type | Description |
---|---|---|
portfolio | string | The portfolio identifier. |
product | string | The product identifier. |
accept | string | The language code. |
description? | string | The description of the constraint. |
local | string | You are required to specify either the RoleArn or the LocalRoleName but can't use both. |
role | string | The ARN of the launch role. |
portfolioId
Type:
string
The portfolio identifier.
productId
Type:
string
The product identifier.
acceptLanguage?
Type:
string
(optional)
The language code.
jp
- Japanesezh
- Chinese
description?
Type:
string
(optional)
The description of the constraint.
localRoleName?
Type:
string
(optional)
You are required to specify either the RoleArn
or the LocalRoleName
but can't use both.
If you specify the LocalRoleName
property, 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.
roleArn?
Type:
string
(optional)
The ARN of the launch role.
You are required to specify RoleArn
or LocalRoleName
but can't use both.