Skip to main content

destinations_list_only

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

Overview

Namedestinations_list_only
TypeResource
DescriptionThe 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.
Idaws.logs.destinations_list_only

Fields

NameDatatypeDescription
arnstring
destination_namestringThe name of the destination resource
destination_policystringAn IAM policy document that governs which AWS accounts can create subscription filters against this destination.
role_arnstringThe ARN of an IAM role that permits CloudWatch Logs to send data to the specified AWS resource
target_arnstringThe ARN of the physical target where the log events are delivered (for example, a Kinesis stream)
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

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