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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-acmpca/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The actions that the specified Amazon Web Services service principal can use. These include ‘IssueCertificate`, `GetCertificate`, and `ListPermissions`.

Returns:

  • (Array<String>)


627
628
629
630
631
632
633
634
# File 'lib/aws-sdk-acmpca/types.rb', line 627

class CreatePermissionRequest < Struct.new(
  :certificate_authority_arn,
  :principal,
  :source_account,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end

#certificate_authority_arnString

The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the

ListCertificateAuthorities][1

action. This must have the following

form:

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

[1]: docs.aws.amazon.com/privateca/latest/APIReference/API_ListCertificateAuthorities.html

Returns:

  • (String)


627
628
629
630
631
632
633
634
# File 'lib/aws-sdk-acmpca/types.rb', line 627

class CreatePermissionRequest < Struct.new(
  :certificate_authority_arn,
  :principal,
  :source_account,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end

#principalString

The Amazon Web Services service or identity that receives the permission. At this time, the only valid principal is ‘acm.amazonaws.com`.

Returns:

  • (String)


627
628
629
630
631
632
633
634
# File 'lib/aws-sdk-acmpca/types.rb', line 627

class CreatePermissionRequest < Struct.new(
  :certificate_authority_arn,
  :principal,
  :source_account,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end

#source_accountString

The ID of the calling account.

Returns:

  • (String)


627
628
629
630
631
632
633
634
# File 'lib/aws-sdk-acmpca/types.rb', line 627

class CreatePermissionRequest < Struct.new(
  :certificate_authority_arn,
  :principal,
  :source_account,
  :actions)
  SENSITIVE = []
  include Aws::Structure
end