Skip to main content

trails_list_only

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

Overview

Nametrails_list_only
TypeResource
DescriptionCreates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. A maximum of five trails can exist in a region, irrespective of the region in which they were created.
Idaws.cloudtrail.trails_list_only

Fields

NameDatatypeDescription
trail_namestring
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Lists all trails in a region.

SELECT
region,
trail_name
FROM aws.cloudtrail.trails_list_only
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the trails_list_only resource, see trails