trails_list_only
Lists trails in a region or regions, for all properties use trails
Overview
| Name | trails_list_only |
| Type | Resource |
| Description | Creates 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. |
| Id | aws.cloudtrail.trails_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
trail_name | string | |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
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