Amazon Private CA · JSON Structure

Amazon Private Ca Put Policy Request Structure

PutPolicyRequest schema from Amazon Private CA API

Type: object Properties: 2 Required: 2
Certificate AuthorityCertificatesPKISecurityX.509TLSIoT

PutPolicyRequest is a JSON Structure definition published by Amazon Private CA, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ResourceArn Policy

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-private-ca/refs/heads/main/json-structure/amazon-private-ca-put-policy-request-structure.json",
  "name": "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"
  ]
}