AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS::ServiceCatalog::LaunchTemplateConstraint

Creates a template constraint for AWS Service Catalog. For more information, see CreateConstraint in the AWS Service Catalog Developer Guide.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::ServiceCatalog::LaunchTemplateConstraint", "Properties" : { "Description" : String, "AcceptLanguage" : String, "PortfolioId" : String, "ProductId" : String, "Rules" : String } }

YAML

Type: "AWS::ServiceCatalog::LaunchTemplateConstraint" Properties: Description: String AcceptLanguage: String PortfolioId: String ProductId: String Rules: String

Properties

AcceptLanguage

The language code.

Required: No

Type: String

Update requires: No interruption

Description

The description of the constraint.

Required: No

Type: String

Update requires: No interruption

PortfolioId

The portfolio identifier.

Required: Yes

Type: String

Update requires: Replacement

ProductId

The product identifier.

Required: Yes

Type: String

Update requires: Replacement

Rules

The constraint rules.

Required: Yes

Type: String

Update requires: Replacement

Return Values

Ref

When you pass the logical ID of an AWS::ServiceCatalog::LaunchTemplateConstraint resource to the intrinsic Ref function, the function returns the identifier of the constraint.

For more information about using the Ref function, see Ref.