View a markdown version of this page

SupplyChainPolicy - AWS Continuum for Code Vulnerabilities

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

name

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

The deny rules of the policy, from 1 to 5.

Type: Array of Rule objects

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Required: Yes

description

A description of the policy.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 1024.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: