Method: Aws::CloudTrail::Types::DescribeTrailsRequest#trail_name_list
- Defined in:
- lib/aws-sdk-cloudtrail/types.rb
#trail_name_list ⇒ Array<String>
Specifies a list of trail names, trail ARNs, or both, of the trails to describe. The format of a trail ARN is:
‘arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`
If an empty list is specified, information for the trail in the current Region is returned.
-
If an empty list is specified and ‘IncludeShadowTrails` is false, then information for all trails in the current Region is returned.
-
If an empty list is specified and IncludeShadowTrails is null or true, then information for all trails in the current Region and any associated shadow trails in other Regions is returned.
<note markdown=“1”> If one or more trail names are specified, information is returned only if the names match the names of trails belonging only to the current Region and current account. To return information about a trail in another Region, you must specify its trail ARN.
</note>
1470 1471 1472 1473 1474 1475 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1470 class DescribeTrailsRequest < Struct.new( :trail_name_list, :include_shadow_trails) SENSITIVE = [] include Aws::Structure end |