AWS::ServiceCatalog::LaunchTemplateConstraint
Specifies a template constraint.
Syntax
To declare this entity in your Amazon 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:StringDescription:StringPortfolioId:StringProductId:StringRules: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
PortfolioId-
The portfolio identifier.
Required: Yes
Type: String
Minimum:
1Maximum:
100Pattern:
^[a-zA-Z0-9_\-]*Update requires: Replacement
ProductId-
The product identifier.
Required: Yes
Type: String
Minimum:
1Maximum:
100Pattern:
^[a-zA-Z0-9_\-]*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 Reffunction, Refreturns the identifier of the constraint.
For more information about using the Reffunction, see Ref.
Remarks
Using Amazon CloudFormation constraint rules
Administrators can create and apply rules to create template contraints in an Amazon Service Catalog portfolio. The rules prevent end users from entering incorrect values in the Amazon 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 Amazon Service Catalog Admin Guide.
See also
-
CreateConstraint in the Amazon Service Catalog API Reference