aws.iot.get_policy
Example SQL Queries
SELECT * FROMaws.iot.get_policyWHERE"policy_name" = 'VALUE';Description
Gets information about the specified policy with the policy document of the default version.
Requires permission to access the GetPolicy action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| policy_name Required Input Column The policy name. | 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 |
| creation_date The date the policy was created. | TIMESTAMP_S |
| default_version_id The default policy version ID. | VARCHAR |
| generation_id The generation ID of the policy. | VARCHAR |
| last_modified_date The date the policy was last modified. | TIMESTAMP_S |
| policy_arn The policy ARN. | VARCHAR |
| policy_document The JSON document that describes the policy. | VARCHAR |