class Aws::AccessAnalyzer::Types::Trail
Contains details about the CloudTrail trail being analyzed to generate a policy.
@note When making an API call, you may pass Trail
data as a hash: { all_regions: false, cloud_trail_arn: "CloudTrailArn", # required regions: ["String"], }
@!attribute [rw] all_regions
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. @return [Boolean]
@!attribute [rw] cloud_trail_arn
Specifies the ARN of the trail. The format of a trail ARN is `arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail`. @return [String]
@!attribute [rw] regions
A list of regions to get CloudTrail data from and analyze to generate a policy. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/Trail AWS API Documentation
Constants
- SENSITIVE