aws.cloudhsmv2.get_resource_policy
Example SQL Queries
SELECT * FROMaws.cloudhsmv2.get_resource_policy;Description
Retrieves the resource policy document attached to a given resource.
Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
Table Definition
| Column Name | Column Data Type |
|---|---|
| resource_arn Input Column Amazon Resource Name (ARN) of the resource to which a policy is attached. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| policy The policy attached to a resource. | VARCHAR |