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_document | string | The body of the policy document you want to use for this topic. You can only add one policy per PolicyType. The policy must be in JSON string format. Length Constraints: Maximum length of 30720 |
policy_type | string | Type of the policy. |
scope | string | Scope for policy application |
selection_criteria | string | Log group selection criteria to apply policy only to a subset of log groups. SelectionCriteria string can be up to 25KB and cloudwatchlogs determines the length of selectionCriteria by using its UTF-8 bytes |
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