Skip to content

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

Description

Returns 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:

Usage

paymentcryptographycontrolplane_get_resource_policy(ResourceArn)

Arguments

  • ResourceArn

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

Value

A list with the following syntax:

list(
  ResourceArn = "string",
  Policy = "string"
)

Request syntax

svc$get_resource_policy(
  ResourceArn = "string"
)