acmpca_get_policy: Retrieves the resource-based policy attached to a private CA

Description Usage Arguments Value Request syntax

View source: R/acmpca_operations.R

Description

Retrieves the resource-based policy attached to a private CA. If either the private CA resource or the policy cannot be found, this action returns a ResourceNotFoundException.

The policy can be attached or updated with put_policy and removed with delete_policy.

About Policies

Usage

1
acmpca_get_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Number (ARN) of the private CA that will have its policy retrieved. You can find the CA's ARN by calling the ListCertificateAuthorities action.

Value

A list with the following syntax:

1
2
3
list(
  Policy = "string"
)

Request syntax

1
2
3
svc$get_policy(
  ResourceArn = "string"
)

paws.security.identity documentation built on Aug. 23, 2021, 9:16 a.m.