aws.iot.list_policy_principals
Example SQL Queries
SELECT * FROMaws.iot.list_policy_principalsWHERE"policy_name" = 'VALUE';Description
Lists the principals associated with the specified policy.
Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListTargetsForPolicy instead.
Requires permission to access the ListPolicyPrincipals action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| policy_name Required Input Column The policy name. | VARCHAR |
| ascending_order Input Column Specifies the order for results. If true, the results are returned in ascending creation order. | BOOLEAN |
| _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 |
| principals | VARCHAR |