Class: Aws::CloudTrail::Types::Event
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudTrail::Types::Event
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudtrail/types.rb
Overview
Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.
Instance Attribute Summary collapse
-
#access_key_id ⇒ String
The AWS access key ID that was used to sign the request.
-
#cloud_trail_event ⇒ String
A JSON string that contains a representation of the event returned.
-
#event_id ⇒ String
The CloudTrail ID of the event returned.
-
#event_name ⇒ String
The name of the event returned.
-
#event_source ⇒ String
The AWS service that the request was made to.
-
#event_time ⇒ Time
The date and time of the event returned.
-
#read_only ⇒ String
Information about whether the event is a write event or a read event.
-
#resources ⇒ Array<Types::Resource>
A list of resources referenced by the event returned.
-
#username ⇒ String
A user name or role name of the requester that called the API in the event returned.
Instance Attribute Details
#access_key_id ⇒ String
The AWS access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#cloud_trail_event ⇒ String
A JSON string that contains a representation of the event returned.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#event_id ⇒ String
The CloudTrail ID of the event returned.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#event_name ⇒ String
The name of the event returned.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#event_source ⇒ String
The AWS service that the request was made to.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#event_time ⇒ Time
The date and time of the event returned.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#read_only ⇒ String
Information about whether the event is a write event or a read event.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#resources ⇒ Array<Types::Resource>
A list of resources referenced by the event returned.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |
#username ⇒ String
A user name or role name of the requester that called the API in the event returned.
534 535 536 537 538 539 540 541 542 543 544 545 |
# File 'lib/aws-sdk-cloudtrail/types.rb', line 534 class Event < Struct.new( :event_id, :event_name, :read_only, :access_key_id, :event_time, :event_source, :username, :resources, :cloud_trail_event) include Aws::Structure end |