Skip to content

Delete Resource Policy

cloudhsmv2_delete_resource_policy R Documentation

Deletes an CloudHSM resource policy

Description

Deletes an CloudHSM resource policy. Deleting a resource policy will result in the resource being unshared and removed from any RAM resource shares. Deleting the resource policy attached to a backup will not impact any clusters created from that backup.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

Usage

cloudhsmv2_delete_resource_policy(ResourceArn)

Arguments

ResourceArn

Amazon Resource Name (ARN) of the resource from which the policy will be removed.

Value

A list with the following syntax:

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

Request syntax

svc$delete_resource_policy(
  ResourceArn = "string"
)