CloudHSMV2 / Client / delete_resource_policy
delete_resource_policy#
- CloudHSMV2.Client.delete_resource_policy(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy( ResourceArn='string' )
- Parameters:
ResourceArn (string) – Amazon Resource Name (ARN) of the resource from which the policy will be removed.
- Return type:
dict
- Returns:
Response Syntax
{ 'ResourceArn': 'string', 'Policy': 'string' }
Response Structure
(dict) –
ResourceArn (string) –
Amazon Resource Name (ARN) of the resource from which the policy was deleted.
Policy (string) –
The policy previously attached to the resource.
Exceptions