Class: Aws::AccessAnalyzer::Types::CloudTrailDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::AccessAnalyzer::Types::CloudTrailDetails
- Defined in:
- gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb
Overview
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
-
#access_role ⇒ String
The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.
-
#end_time ⇒ Time
The end of the time range for which IAM Access Analyzer reviews your CloudTrail events.
-
#start_time ⇒ Time
The start of the time range for which IAM Access Analyzer reviews your CloudTrail events.
-
#trails ⇒ Array<Types::Trail>
A
Trail
object that contains settings for a trail.
Instance Attribute Details
#access_role ⇒ String
The ARN of the service role that IAM Access Analyzer uses to access your CloudTrail trail and service last accessed information.
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_time ⇒ Time
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.
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_time ⇒ Time
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.
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 |
#trails ⇒ Array<Types::Trail>
A Trail
object that contains settings for a trail.
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 |