acmpca_delete_policy: Deletes the resource-based policy attached to a private CA

Description Usage Arguments Value Request syntax

View source: R/acmpca_operations.R

Description

Deletes the resource-based policy attached to a private CA. Deletion will remove any access that the policy has granted. If there is no policy attached to the private CA, this action will return successful.

If you delete a policy that was applied through AWS Resource Access Manager (RAM), the CA will be removed from all shares in which it was included.

The AWS Certificate Manager Service Linked Role that the policy supports is not affected when you delete the policy.

The current policy can be shown with get_policy and updated with put_policy.

About Policies

Usage

1
acmpca_delete_policy(ResourceArn)

Arguments

ResourceArn

[required] The Amazon Resource Number (ARN) of the private CA that will have its policy deleted. You can find the CA's ARN by calling the list_certificate_authorities action. The ARN value must have the form arn:aws:acm-pca:region:account:certificate-authority/01234567-89ab-cdef-0123-0123456789ab.

Value

An empty list.

Request syntax

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

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