Skip to content

CreateSecurityPolicyRequest

Source code in docs_src/capo_opensearchserverless/types/create_security_policy_request.py
class CreateSecurityPolicyRequest(TypedDict, closed=True):
    type: "capo_opensearchserverless.types.security_policy_type.SecurityPolicyType"
    """<p>The type of security policy.</p>"""
    name: "capo_opensearchserverless.types.policy_name.PolicyName"
    """<p>The name of the policy.</p>"""
    description: NotRequired[
        "capo_opensearchserverless.types.policy_description.PolicyDescription"
    ]
    """<p>A description of the policy. Typically used to store information about the permissions defined in the policy.</p>"""
    policy: "capo_opensearchserverless.types.policy_document.PolicyDocument"
    """<p>The JSON policy document to use as the content for the new policy.</p>"""
    client_token: NotRequired[
        "capo_opensearchserverless.types.client_token.ClientToken"
    ]
    """<p>Unique, case-sensitive identifier to ensure idempotency of the request.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

Unique, case-sensitive identifier to ensure idempotency of the request.

description instance-attribute

description: NotRequired[PolicyDescription]

A description of the policy. Typically used to store information about the permissions defined in the policy.

name instance-attribute

name: PolicyName

The name of the policy.

policy instance-attribute

The JSON policy document to use as the content for the new policy.

type instance-attribute

The type of security policy.