You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_trail_eventString

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

Returns:

  • (String)


456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end

#event_idString

The CloudTrail ID of the event returned.

Returns:

  • (String)


456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end

#event_nameString

The name of the event returned.

Returns:

  • (String)


456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end

#event_sourceString

The AWS service that the request was made to.

Returns:

  • (String)


456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end

#event_timeTime

The date and time of the event returned.

Returns:

  • (Time)


456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end

#resourcesArray<Types::Resource>

A list of resources referenced by the event returned.

Returns:



456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end

#usernameString

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

Returns:

  • (String)


456
457
458
459
460
461
462
463
464
465
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 456

class Event < Struct.new(
  :event_id,
  :event_name,
  :event_time,
  :event_source,
  :username,
  :resources,
  :cloud_trail_event)
  include Aws::Structure
end