CreateCurationPolicyRequest
¶
Source code in docs_src/capo_context/types/create_curation_policy_request.py
auto_reject_after_seconds
instance-attribute
¶
auto_reject_after_seconds: NotRequired[AutoRejectAfterSeconds]
The number of seconds that a curation proposal held for review under this policy can wait for a decision before it is rejected automatically. Valid range: 86,400 (1 day) to 15,552,000 (180 days). If you omit it, proposals held under this policy are never rejected automatically.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token and the same parameters returns the curation policy that the first request created. If you don't specify one, the AWS SDKs generate one.
description
instance-attribute
¶
description: NotRequired[UserDefinedString]
A description of the curation policy. Up to 1,024 characters, with no control characters.
name
instance-attribute
¶
name: ResourceName
The name of the curation policy. 3 to 63 characters: it must start with a letter and can contain only ASCII letters, digits, and hyphens.
policy_document
instance-attribute
¶
policy_document: PolicyText
The policy's rules, as a Cedar policy document.
tags
instance-attribute
¶
tags: NotRequired[TagMap]
Tags to add to the curation policy when you create it: up to 200 in the request, of which at most 50 can be user tags. Keys can't start with aws:. To add tags, you also need context:TagResource permission on the new curation policy. If you specify more than 50 user tags, the request fails with ServiceQuotaExceededException, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with ValidationException.