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

Inherits:
Struct
  • Object
show all
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.

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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:



1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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)


1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1820

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