acmpca_put_policy: Attaches a resource-based policy to a private CA

View source: R/acmpca_operations.R

acmpca_put_policyR Documentation

Attaches a resource-based policy to a private CA

Description

Attaches a resource-based policy to a private CA.

See https://www.paws-r-sdk.com/docs/acmpca_put_policy/ for full documentation.

Usage

acmpca_put_policy(ResourceArn, Policy)

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_authorities action.

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_policy action returns an InvalidPolicyException. For information about IAM policy and statement structure, see Overview of JSON Policies.


paws.security.identity documentation built on Sept. 12, 2023, 1:10 a.m.