Skip to main content

resource_policies_list_only

Lists resource_policies in a region or regions, for all properties use resource_policies

Overview

Nameresource_policies_list_only
TypeResource
DescriptionThe resource schema for AWSLogs ResourcePolicy
Idaws.logs.resource_policies_list_only

Fields

NameDatatypeDescription
policy_namestringA name for resource policy
policy_documentstringThe policy document
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all resource_policies in a region.

SELECT
region,
policy_name
FROM aws.logs.resource_policies_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the resource_policies_list_only resource, see resource_policies