Skip to content

CreateCurationPolicyRequest

Source code in docs_src/capo_context/types/create_curation_policy_request.py
class CreateCurationPolicyRequest(TypedDict, closed=True):
    client_token: NotRequired["capo_context.types.client_token.ClientToken"]
    """<p>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.</p>"""
    name: "capo_context.types.resource_name.ResourceName"
    """<p>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.</p>"""
    description: NotRequired["capo_context.types.user_defined_string.UserDefinedString"]
    """<p>A description of the curation policy. Up to 1,024 characters, with no control characters.</p>"""
    policy_document: "capo_context.types.policy_text.PolicyText"
    """<p>The policy's rules, as a Cedar policy document.</p>"""
    auto_reject_after_seconds: NotRequired[
        "capo_context.types.auto_reject_after_seconds.AutoRejectAfterSeconds"
    ]
    """<p>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.</p>"""
    tags: NotRequired["capo_context.types.tag_map.TagMap"]
    """<p>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 <code>aws:</code>. To add tags, you also need <code>context:TagResource</code> permission on the new curation policy. If you specify more than 50 user tags, the request fails with <code>ServiceQuotaExceededException</code>, as on TagResource. If an AWS Organizations tag policy refuses a tag, the request fails with <code>ValidationException</code>.</p>"""

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

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.