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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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:



2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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)


2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 2131

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