{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-acmpca-permission.json",
  "title": "AWSACMPCAPermissionProperties",
  "description": "Permission set on private certificate authority. Source:- <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-acmpca-permission.json",
    "sourceSha256": "491da417b2345689b8d28261c80f9a0e5d1a07677cdaee6f396e292b87204f49"
  },
  "type": "object",
  "properties": {
    "Actions": {
      "description": "The actions that the specified AWS service principal can use. Actions IssueCertificate, GetCertificate and ListPermissions must be provided.",
      "type": "array",
      "insertionOrder": false,
      "items": {
        "type": "string"
      }
    },
    "CertificateAuthorityArn": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The Amazon Resource Name (ARN) of the Private Certificate Authority that grants the permission."
    },
    "Principal": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com."
    },
    "SourceAccount": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The ID of the calling account."
    }
  },
  "typeName": "AWS::ACMPCA::Permission",
  "primaryIdentifier": [
    "/properties/CertificateAuthorityArn",
    "/properties/Principal"
  ],
  "sourceUrl": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_ACMPCA.html",
  "createOnlyProperties": [
    "/properties/Actions",
    "/properties/CertificateAuthorityArn",
    "/properties/Principal",
    "/properties/SourceAccount"
  ],
  "additionalProperties": false,
  "taggable": false,
  "required": [
    "Actions",
    "CertificateAuthorityArn",
    "Principal"
  ]
}
