class Aws::ACMPCA::Types::PutPolicyRequest

@note When making an API call, you may pass PutPolicyRequest

data as a hash:

    {
      resource_arn: "Arn", # required
      policy: "AWSPolicy", # required
    }

@!attribute [rw] resource_arn

The Amazon Resource Number (ARN) of the private CA to associate with
the policy. The ARN of the CA can be found by calling the
[ListCertificateAuthorities][1] action.

[1]: https://docs.aws.amazon.com/acm-pca/latest/APIReference/API_ListCertificateAuthorities.html
@return [String]

@!attribute [rw] policy

The path and file name of a JSON-formatted IAM policy to attach to
the specified private CA resource. If this policy does not contain
all required statements or if it includes any statement that is not
allowed, the `PutPolicy` action returns an `InvalidPolicyException`.
For information about IAM policy and statement structure, see
[Overview of JSON Policies][1].

[1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/PutPolicyRequest AWS API Documentation

Constants

SENSITIVE