

# ConstraintDetail
<a name="API_ConstraintDetail"></a>

Information about a constraint.

## Contents
<a name="API_ConstraintDetail_Contents"></a>

 ** ConstraintId **   <a name="servicecatalog-Type-ConstraintDetail-ConstraintId"></a>
The identifier of the constraint.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^[a-zA-Z0-9_\-]*`   
Required: No

 ** Description **   <a name="servicecatalog-Type-ConstraintDetail-Description"></a>
The description of the constraint.  
Type: String  
Length Constraints: Maximum length of 2000.  
Required: No

 ** Owner **   <a name="servicecatalog-Type-ConstraintDetail-Owner"></a>
The owner of the constraint.  
Type: String  
Pattern: `^[0-9]{12}$`   
Required: No

 ** PortfolioId **   <a name="servicecatalog-Type-ConstraintDetail-PortfolioId"></a>
The identifier of the portfolio the product resides in. The constraint applies only to the instance of the product that lives within this portfolio.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^[a-zA-Z0-9_\-]*`   
Required: No

 ** ProductId **   <a name="servicecatalog-Type-ConstraintDetail-ProductId"></a>
The identifier of the product the constraint applies to. Note that a constraint applies to a specific instance of a product within a certain portfolio.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `^[a-zA-Z0-9_\-]*`   
Required: No

 ** Type **   <a name="servicecatalog-Type-ConstraintDetail-Type"></a>
The type of constraint.  
+  `LAUNCH` 
+  `NOTIFICATION` 
+ STACKSET
+  `TEMPLATE` 
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Required: No

## See Also
<a name="API_ConstraintDetail_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/servicecatalog-2015-12-10/ConstraintDetail) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/servicecatalog-2015-12-10/ConstraintDetail) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/servicecatalog-2015-12-10/ConstraintDetail) 