Skip to content

Delete Resource Policy

paymentcryptographycontrolplane_delete_resource_policy R Documentation

Removes the resource-based policy attached to an Amazon Web Services Payment Cryptography key

Description

Removes the resource-based policy attached to an Amazon Web Services Payment Cryptography key.

Cross-account use: This operation can't be used across different Amazon Web Services accounts.

Related operations:

  • put_resource_policy

  • get_resource_policy

Usage

paymentcryptographycontrolplane_delete_resource_policy(ResourceArn)

Arguments

ResourceArn

[required] The KeyARN of the key whose resource-based policy you want to delete.

Value

An empty list.

Request syntax

svc$delete_resource_policy(
  ResourceArn = "string"
)