AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ACMPCA::Types::CreatePermissionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreatePermissionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  certificate_authority_arn: "Arn", # required
  principal: "Principal", # required
  source_account: "AccountId",
  actions: ["IssueCertificate"], # required, accepts IssueCertificate, GetCertificate, ListPermissions
}

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The actions that the specified AWS service principal can use. These include IssueCertificate, GetCertificate, and ListPermissions.

Returns:

  • (Array<String>)

    The actions that the specified AWS service principal can use.

#certificate_authority_arnString

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 .

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the CA that grants the permissions.

#principalString

The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com.

Returns:

  • (String)

    The AWS service or identity that receives the permission.

#source_accountString

The ID of the calling account.

Returns:

  • (String)

    The ID of the calling account.