NAME

Paws::ACMPCA::CreatePermission - Arguments for method CreatePermission on Paws::ACMPCA

DESCRIPTION

This class represents the parameters used for calling the method CreatePermission on the AWS Certificate Manager Private Certificate Authority service. Use the attributes of this class as arguments to method CreatePermission.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePermission.

SYNOPSIS

my $acm-pca = Paws->service('ACMPCA');
$acm -pca->CreatePermission(
  Actions => [
    'IssueCertificate',
    ...    # values: IssueCertificate, GetCertificate, ListPermissions
  ],
  CertificateAuthorityArn => 'MyArn',
  Principal               => 'MyPrincipal',
  SourceAccount           => 'MyAccountId',    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/acm-pca/CreatePermission

ATTRIBUTES

REQUIRED Actions => ArrayRef[Str|Undef]

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

REQUIRED CertificateAuthorityArn => Str

The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities (https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html) action. This must have the following form:

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

REQUIRED Principal => Str

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

SourceAccount => Str

The ID of the calling account.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreatePermission in Paws::ACMPCA

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues