This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ServiceCatalog::LaunchNotificationConstraint
Specifies a notification constraint.
Important
If you declare this constraint and its product in the same AWS CloudFormation
template, add a DependsOn attribute. The attribute must reference the
AWS::ServiceCatalog::PortfolioProductAssociation resource. Otherwise,
CloudFormation might create the constraint before it associates the product with
the portfolio, causing the stack to fail with Resource not found.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::ServiceCatalog::LaunchNotificationConstraint", "Properties" : { "AcceptLanguage" :String, "Description" :String, "NotificationArns" :[ String, ... ], "PortfolioId" :String, "ProductId" :String} }
YAML
Type: AWS::ServiceCatalog::LaunchNotificationConstraint Properties: AcceptLanguage:StringDescription:StringNotificationArns:- StringPortfolioId:StringProductId: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
NotificationArns-
The notification ARNs.
Required: Yes
Type: Array of 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
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
See also
-
CreateConstraint in the AWS Service Catalog API Reference