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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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:



1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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)


1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
# File 'lib/aws-sdk-cloudtrail/types.rb', line 1658

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