Class: Aws::AccessAnalyzer::Types::CloudTrailDetails

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 CloudTrailDetails data as a hash:

{
  access_role: "RoleArn", # required
  end_time: Time.now,
  start_time: Time.now, # required
  trails: [ # required
    {
      all_regions: false,
      cloud_trail_arn: "CloudTrailArn", # required
      regions: ["String"],
    },
  ],
}

Contains information about CloudTrail access.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_roleString

The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.

Returns:

  • (String)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 581

class CloudTrailDetails < Struct.new(
  :access_role,
  :end_time,
  :start_time,
  :trails)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

The end of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp after this time are not considered to generate a policy. If this is not included in the request, the default value is the current time.

Returns:

  • (Time)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 581

class CloudTrailDetails < Struct.new(
  :access_role,
  :end_time,
  :start_time,
  :trails)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

The start of the time range for which IAM Access Analyzer reviews your CloudTrail events. Events with a timestamp before this time are not considered to generate a policy.

Returns:

  • (Time)


581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 581

class CloudTrailDetails < Struct.new(
  :access_role,
  :end_time,
  :start_time,
  :trails)
  SENSITIVE = []
  include Aws::Structure
end

#trailsArray<Types::Trail>

A Trail object that contains settings for a trail.

Returns:



581
582
583
584
585
586
587
588
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 581

class CloudTrailDetails < Struct.new(
  :access_role,
  :end_time,
  :start_time,
  :trails)
  SENSITIVE = []
  include Aws::Structure
end