Attaches a resource-based policy to a private CA.
See https://www.paws-r-sdk.com/docs/acmpca_put_policy/ for full documentation.
Arguments
- ResourceArn
[required] 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
list_certificate_authoritiesaction.- Policy
[required] 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
put_policyaction returns anInvalidPolicyException. For information about IAM policy and statement structure, see Overview of JSON Policies.