AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ServiceCatalog::LaunchRoleConstraint

CfnLaunchRoleConstraint

Specifies a launch constraint.

Import

import { CfnLaunchRoleConstraint } from 'aws-cdk-lib/aws-servicecatalog';

Or use the module namespace:

import * as servicecatalog from 'aws-cdk-lib/aws-servicecatalog';
// servicecatalog.CfnLaunchRoleConstraint

Properties

Configuration passed to the constructor as CfnLaunchRoleConstraintProps.

portfolioIdRequired
string

The portfolio identifier.

productIdRequired
string

The product identifier.

acceptLanguageOptional
string

The language code. - `jp` - Japanese - `zh` - Chinese

descriptionOptional
string

The description of the constraint.

localRoleNameOptional
string

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.

roleArnOptional
string

The ARN of the launch role. You are required to specify `RoleArn` or `LocalRoleName` but can't use both.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter