{ "$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-create-permission-request-schema.json", "title": "CreatePermissionRequest", "description": "CreatePermissionRequest schema from Amazon Private CA API", "type": "object", "properties": { "CertificateAuthorityArn": { "allOf": [ { "$ref": "#/components/schemas/Arn" }, { "description": "

The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

" } ] }, "Principal": { "allOf": [ { "$ref": "#/components/schemas/Principal" }, { "description": "The Amazon Web Services service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com." } ] }, "SourceAccount": { "allOf": [ { "$ref": "#/components/schemas/AccountId" }, { "description": "The ID of the calling account." } ] }, "Actions": { "allOf": [ { "$ref": "#/components/schemas/ActionList" }, { "description": "The actions that the specified Amazon Web Services service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions." } ] } }, "required": [ "CertificateAuthorityArn", "Principal", "Actions" ] }