{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-aurora-dsql/json-schema/amazon-aurora-dsql-put-cluster-policy-input-schema.json",
  "title": "PutClusterPolicyInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-aurora-dsql-policy-api-openapi.yml#/components/schemas/PutClusterPolicyInput",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string"
    },
    "policy": {
      "type": "string",
      "description": "The resource-based policy document to attach to the cluster. This should be a valid JSON policy document that defines permissions and conditions."
    },
    "bypassPolicyLockoutSafetyCheck": {
      "type": "boolean",
      "description": "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."
    },
    "expectedPolicyVersion": {
      "type": "string",
      "description": "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."
    },
    "clientToken": {
      "type": "string"
    }
  },
  "required": [
    "identifier",
    "policy"
  ]
}