Skip to content

PutClusterPolicyInput

Source code in docs_src/capo_dsql/types/put_cluster_policy_input.py
class PutClusterPolicyInput(TypedDict, closed=True):
    identifier: "capo_dsql.types.cluster_id.ClusterId"
    policy: "capo_dsql.types.policy_document.PolicyDocument"
    """<p>The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.</p>"""
    bypass_policy_lockout_safety_check: "capo_dsql.types.bypass_policy_lockout_safety_check.BypassPolicyLockoutSafetyCheck"
    """<p>A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.</p>"""
    expected_policy_version: NotRequired["capo_dsql.types.policy_version.PolicyVersion"]
    """<p>The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.</p>"""
    client_token: NotRequired["capo_dsql.types.client_token.ClientToken"]

bypass_policy_lockout_safety_check instance-attribute

bypass_policy_lockout_safety_check: BypassPolicyLockoutSafetyCheck

A flag that allows you to bypass the policy lockout safety check. When set to true, this parameter allows you to apply a policy that might lock you out of the cluster. Use with caution.

client_token instance-attribute

client_token: NotRequired[ClientToken]

expected_policy_version instance-attribute

expected_policy_version: NotRequired[PolicyVersion]

The expected version of the current policy. This parameter ensures that you're updating the correct version of the policy and helps prevent concurrent modification conflicts.

identifier instance-attribute

identifier: ClusterId

policy instance-attribute

The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions.