Class: Aws::CloudTrail::Types::Event

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudtrail/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_key_idString

The Amazon Web Services 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.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#cloud_trail_eventString

A JSON string that contains a representation of the event returned.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#event_idString

The CloudTrail ID of the event returned.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#event_nameString

The name of the event returned.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#event_sourceString

The Amazon Web Services service to which the request was made.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#event_timeTime

The date and time of the event returned.

Returns:

  • (Time)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#read_onlyString

Information about whether the event is a write event or a read event.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#resourcesArray<Types::Resource>

A list of resources referenced by the event returned.

Returns:



920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end

#usernameString

A user name or role name of the requester that called the API in the event returned.

Returns:

  • (String)


920
921
922
923
924
925
926
927
928
929
930
931
932
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 920

class Event < Struct.new(
  :event_id,
  :event_name,
  :read_only,
  :access_key_id,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  SENSITIVE = []
  include Aws::Structure
end