account_policies
Retrieves a list of account_policies
in a region
Overview
Name | account_policies |
Type | Resource |
Description | account_policies |
Id | awscc.logs.account_policies |
Fields
Name | Datatype | Description |
---|---|---|
account_id | string | User account id |
policy_type | string | Type of the policy. |
policy_name | string | The name of the account policy |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
account_id,
policy_type,
policy_name
FROM awscc.logs.account_policies
WHERE region = 'us-east-1'
Permissions
To operate on the account_policies
resource, the following permissions are required:
Create
logs:PutAccountPolicy,
logs:PutDataProtectionPolicy,
logs:DescribeAccountPolicies,
logs:CreateLogDelivery,
s3:REST.PUT.OBJECT,
firehose:TagDeliveryStream,
logs:PutSubscriptionFilter,
logs:DeleteSubscriptionFilter,
iam:PassRole
List
logs:DescribeAccountPolicies