destinations_list_only
Lists destinations
in a region or regions, for all properties use destinations
Overview
Name | destinations_list_only |
Type | Resource |
Description | The AWS::Logs::Destination resource specifies a CloudWatch Logs destination. A destination encapsulates a physical resource (such as an Amazon Kinesis data stream) and enables you to subscribe that resource to a stream of log events. |
Id | aws.logs.destinations_list_only |
Fields
Name | Datatype | Description |
---|---|---|
arn | string | |
destination_name | string | The name of the destination resource |
destination_policy | string | An IAM policy document that governs which AWS accounts can create subscription filters against this destination. |
role_arn | string | The ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource |
target_arn | string | The ARN of the physical target where the log events are delivered (for example, a Kinesis stream) |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
list_resources | SELECT | region |
SELECT
examples
Lists all destinations
in a region.
SELECT
region,
destination_name
FROM aws.logs.destinations_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the destinations_list_only
resource, see destinations