ResourcePolicy - AWS CodeArtifact

ResourcePolicy

An AWS CodeArtifact resource policy that contains a resource ARN, document details, and a revision.

Contents

document

The resource policy formatted in JSON.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 7168.

Pattern: [\P{C}\s]+

Required: No

resourceArn

The ARN of the resource associated with the resource policy

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1011.

Pattern: \S+

Required: No

revision

The current revision of the resource policy.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: \S+

Required: No

See Also

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