AWS::ServiceCatalog::LaunchTemplateConstraint
Specifies a template constraint.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ServiceCatalog::LaunchTemplateConstraint", "Properties" : { "AcceptLanguage" :
String
, "Description" :String
, "PortfolioId" :String
, "ProductId" :String
, "Rules" :String
} }
YAML
Type: AWS::ServiceCatalog::LaunchTemplateConstraint Properties: AcceptLanguage:
String
Description:String
PortfolioId:String
ProductId:String
Rules:String
Properties
AcceptLanguage
-
The language code.
-
jp
- Japanese -
zh
- Chinese
Required: No
Type: String
Maximum:
100
Update requires: No interruption
-
Description
-
The description of the constraint.
Required: No
Type: String
Maximum:
2000
Update requires: No interruption
PortfolioId
-
The portfolio identifier.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_\-]*
Minimum:
1
Maximum:
100
Update requires: Replacement
ProductId
-
The product identifier.
Required: Yes
Type: String
Pattern:
^[a-zA-Z0-9_\-]*
Minimum:
1
Maximum:
100
Update requires: Replacement
Rules
-
The constraint rules.
Required: Yes
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 the identifier of the constraint.
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
Remarks
Using AWS CloudFormation constraint rules
Administrators can create and apply rules to create template contraints in an AWS Service Catalog portfolio. The rules prevent end users from entering incorrect values in the AWS Service Catalog template the administrator used to create the product.
For more information about template constraint rules and how to create them, see Template Constraint Rules in the AWS Service Catalog Admin Guide.
See also
-
CreateConstraint in the AWS Service Catalog API Reference