Trail - IAM Access Analyzer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Trail

Contains details about the CloudTrail trail being analyzed to generate a policy.

Contents

cloudTrailArn

Specifies the ARN of the trail. The format of a trail ARN is arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail.

Type: String

Pattern: arn:[^:]*:cloudtrail:[^:]*:[^:]*:trail/.{1,576}

Required: Yes

allRegions

Possible values are true or false. If set to true, IAM Access Analyzer retrieves CloudTrail data from all regions to analyze and generate a policy.

Type: Boolean

Required: No

regions

A list of regions to get CloudTrail data from and analyze to generate a policy.

Type: Array of strings

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: