account_policies_list_only
Lists account_policies in a region or regions, for all properties use account_policies
Overview
| Name | account_policies_list_only |
| Type | Resource |
| Description | The AWS::Logs::AccountPolicy resource specifies a CloudWatch Logs AccountPolicy. |
| Id | aws.logs.account_policies_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
account_id | string | User account id |
policy_name | string | The name of the account policy |
policy_type | string | Type of the policy. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all account_policies in a region.
SELECT
region,
account_id,
policy_type,
policy_name
FROM aws.logs.account_policies_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the account_policies_list_only resource, see account_policies