Skip to main content

account_policies

Retrieves a list of account_policies in a region

Overview

Nameaccount_policies
TypeResource
Descriptionaccount_policies
Idawscc.logs.account_policies

Fields

NameDatatypeDescription
account_idstringUser account id
policy_typestringType of the policy.
policy_namestringThe name of the account policy
regionstringAWS 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