subscription_filters_list_only
Lists subscription_filters
in a region or regions, for all properties use subscription_filters
Overview
Name | subscription_filters_list_only |
Type | Resource |
Description | The AWS::Logs::SubscriptionFilter resource specifies a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events and have them delivered to a specific destination. Currently, the supported destinations are:+ An Amazon Kinesis data stream belonging to the same account as the subscription filter, for same-account delivery. + A logical destination that belongs to a different account, for cross-account delivery. + An Amazon Kinesis Firehose delivery stream that belongs to the same account as the subscription filter, for same-account delivery. + An LAMlong function that belongs to the same account as the subscription filter, for same-account delivery. There can be as many as two subscription filters associated with a log group. |
Id | aws.logs.subscription_filters_list_only |
Fields
Name | Datatype | Description |
---|---|---|
filter_name | string | The name of the subscription filter. |
log_group_name | string | The log group to associate with the subscription filter. All log events that are uploaded to this log group are filtered and delivered to the specified AWS resource if the filter pattern matches the log events. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all subscription_filters
in a region.
SELECT
region,
filter_name,
log_group_name
FROM aws.logs.subscription_filters_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the subscription_filters_list_only
resource, see subscription_filters