View a markdown version of this page

CurationPolicySummary - AWS Context

CurationPolicySummary

A summary of a curation policy, as returned by ListCurationPolicies. It omits the full resource's description and policyDocument. Get those with GetCurationPolicy.

Contents

arn

The ARN of the curation policy.

Type: String

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

Pattern: arn:(aws|aws-cn|aws-us-gov):context:[a-z0-9\-]{1,32}:\d{12}:curation-policy/[a-z0-9]+(-[a-z0-9]+)*

Required: Yes

createdAt

The date and time when the curation policy was created.

Type: Timestamp

Required: Yes

id

The ID of the curation policy. Requests take it as curationPolicyId.

Type: String

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

Pattern: [a-z0-9]+(-[a-z0-9]+)*

Required: Yes

name

The name of the curation policy.

Type: String

Length Constraints: Minimum length of 3. Maximum length of 63.

Pattern: [a-zA-Z][a-zA-Z0-9-]*

Required: Yes

revisionId

An opaque revision token for the working copy. Pass it as revisionId on UpdateCurationPolicy. The update applies only if the token still matches the current working copy.

Type: String

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

Pattern: [\x21-\x7E]+

Required: Yes

status

The policy's status.

Valid values:

  • DRAFT - The policy has never been published, so no agent context enforces it.

  • ACTIVE - The policy has a published version, which the agent contexts associated with it enforce.

  • DELETED - The policy is deleted. Nothing enforces it, and only GetCurationPolicy still returns it.

Type: String

Valid Values: DRAFT | ACTIVE | DELETED

Required: Yes

updatedAt

When the resource last changed. Equal to createdAt until the first update.

Type: Timestamp

Required: Yes

autoRejectAfterSeconds

The number of seconds that a proposal held for review under this policy can wait for a decision before AWS Context rejects it with statusReasonCode REQUEST_EXPIRED. From 86,400 seconds (1 day) to 15,552,000 seconds (180 days). Absent if proposals held under this policy are never rejected automatically.

Type: Long

Valid Range: Minimum value of 1. Maximum value of 15552000.

Required: No

lastPublishedVersion

Newest published version. Absent until the policy's first version is created (a DRAFT that has never been published has no version).

Type: String

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

Pattern: [1-9][0-9]{0,5}

Required: No

See Also

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