

# SupplyChainPolicy

A deny-only policy owned by one account in one Region. A policy holds up to five rules, and each rule is evaluated on its own. A package is denied when an ENFORCE rule matches it and no active policy exception suppresses that rule.

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

 ** name **   <a name="continuum-Type-SupplyChainPolicy-name"></a>
The display name of the policy.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Pattern: `[a-zA-Z0-9][a-zA-Z0-9_.-]*`   
Required: Yes

 ** rules **   <a name="continuum-Type-SupplyChainPolicy-rules"></a>
The deny rules of the policy, from 1 to 5.  
Type: Array of [Rule](API_Rule.md) objects  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Required: Yes

 ** description **   <a name="continuum-Type-SupplyChainPolicy-description"></a>
A description of the policy.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 1024.  
Required: No

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/continuum-2022-07-26/SupplyChainPolicy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/continuum-2022-07-26/SupplyChainPolicy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/continuum-2022-07-26/SupplyChainPolicy) 