Class: Aws::AccessAnalyzer::Types::Trail

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb

Overview

Note:

When making an API call, you may pass Trail data as a hash:

{
  all_regions: false,
  cloud_trail_arn: "CloudTrailArn", # required
  regions: ["String"],
}

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#all_regionsBoolean

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.

Returns:

  • (Boolean)


3236
3237
3238
3239
3240
3241
3242
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3236

class Trail < Struct.new(
  :all_regions,
  :cloud_trail_arn,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end

#cloud_trail_arnString

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

Returns:

  • (String)


3236
3237
3238
3239
3240
3241
3242
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3236

class Trail < Struct.new(
  :all_regions,
  :cloud_trail_arn,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end

#regionsArray<String>

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

Returns:

  • (Array<String>)


3236
3237
3238
3239
3240
3241
3242
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 3236

class Trail < Struct.new(
  :all_regions,
  :cloud_trail_arn,
  :regions)
  SENSITIVE = []
  include Aws::Structure
end