Skip to main content

resource_policies

Retrieves a list of resource_policies in a region

Overview

Nameresource_policies
TypeResource
Descriptionresource_policies
Idawscc.logs.resource_policies

Fields

NameDatatypeDescription
policy_namestringA name for resource policy
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
policy_name
FROM awscc.logs.resource_policies
WHERE region = 'us-east-1'

Permissions

To operate on the resource_policies resource, the following permissions are required:

Create

logs:PutResourcePolicy,
logs:DescribeResourcePolicies

List

logs:DescribeResourcePolicies