AWS::ServiceCatalog::LaunchTemplateConstraint - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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: 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 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