This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ServiceCatalog::LaunchRoleConstraint
Specifies a launch constraint.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ServiceCatalog::LaunchRoleConstraint", "Properties" : { "AcceptLanguage" :String, "Description" :String, "LocalRoleName" :String, "PortfolioId" :String, "ProductId" :String, "RoleArn" :String} }
YAML
Type: AWS::ServiceCatalog::LaunchRoleConstraint Properties: AcceptLanguage:StringDescription:StringLocalRoleName:StringPortfolioId:StringProductId:StringRoleArn:String
Properties
AcceptLanguage-
The language code.
-
jp- Japanese -
zh- Chinese
Required: No
Type: String
Maximum:
100Update requires: No interruption
-
Description-
The description of the constraint.
Required: No
Type: String
Maximum:
2000Update requires: No interruption
LocalRoleName-
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.
Required: No
Type: String
Update requires: No interruption
PortfolioId-
The portfolio identifier.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_\-]*Minimum:
1Maximum:
100Update requires: Replacement
ProductId-
The product identifier.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_\-]*Minimum:
1Maximum:
100Update requires: Replacement
RoleArn-
The ARN of the launch role.
You are required to specify
RoleArnorLocalRoleNamebut can't use both.Required: No
Type: String
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns identifier of the constraint.
For more information about using the Ref function, see Ref.
Fn::GetAtt
See also
-
CreateConstraint in the AWS Service Catalog API Reference