aws.logs.describe_account_policies
Example SQL Queries
SELECT * FROMaws.logs.describe_account_policiesWHERE"policy_type" = 'VALUE';Description
Returns a list of all CloudWatch Logs account policies in the account.
Table Definition
| Column Name | Column Data Type |
|---|---|
| policy_type Required Input Column Use this parameter to limit the returned policies to only the policies that match the policy type that you specify. | VARCHAR |
| account_identifiers Input Column If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter. If you omit this parameter, only the policy in the current account is returned. | VARCHAR[] |
Show child fields
| |
| policy_name Input Column Use this parameter to limit the returned policies to only the policy with the name that you specify. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| account_policies An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters. | STRUCT( |
Show child fields
| |