Amazon Private CA · Schema

PutPolicyRequest

PutPolicyRequest schema from Amazon Private CA API

Certificate AuthorityCertificatesPKISecurityX.509TLSIoT

Properties

Name Type Description
ResourceArn object
Policy object
View JSON Schema on GitHub

JSON Schema

amazon-private-ca-put-policy-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-private-ca/refs/heads/main/json-schema/amazon-private-ca-put-policy-request-schema.json",
  "title": "PutPolicyRequest",
  "description": "PutPolicyRequest schema from Amazon Private CA API",
  "type": "object",
  "properties": {
    "ResourceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Arn"
        },
        {
          "description": "<p>The Amazon Resource Number (ARN) of the private CA to associate with the policy. The ARN of the CA can be found by calling the <a href=\"https://docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html\">ListCertificateAuthorities</a> action.</p> <p/>"
        }
      ]
    },
    "Policy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AWSPolicy"
        },
        {
          "description": "The path and file name of a JSON-formatted IAM policy to attach to the specified private CA resource. If this policy does not contain all required statements or if it includes any statement that is not allowed, the <code>PutPolicy</code> action returns an <code>InvalidPolicyException</code>. For information about IAM policy and statement structure, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json\">Overview of JSON Policies</a>."
        }
      ]
    }
  },
  "required": [
    "ResourceArn",
    "Policy"
  ]
}