aws.iot.list_attached_policies
Example SQL Queries
SELECT * FROMaws.iot.list_attached_policiesWHERE"target" = 'VALUE';Description
Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
Table Definition
| Column Name | Column Data Type |
|---|---|
| target Required Input Column The group or principal for which the policies will be listed. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id). | VARCHAR |
| recursive Input Column When true, recursively list attached policies. | 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 |
| policy_arn The policy ARN. | VARCHAR |
| policy_name The policy name. | VARCHAR |