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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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:



1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1617

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