aws.ssm.get_resource_policies
Example SQL Queries
SELECT * FROMaws.ssm.get_resource_policiesWHERE"resource_arn" = 'VALUE';Description
Returns an array of the Policy object.
Table Definition
| Column Name | Column Data Type |
|---|---|
| resource_arn Required Input Column Amazon Resource Name (ARN) of the resource to which the policies are 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 A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational work items (OpsItems). | VARCHAR |
| policy_hash ID of the current policy version. The hash helps to prevent a situation where multiple users attempt to overwrite a policy. You must provide this hash when updating or deleting a policy. | VARCHAR |
| policy_id A policy ID. | VARCHAR |