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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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

#access_key_idString

The AWS 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)

    The AWS access key ID that was used to sign the request.

#cloud_trail_eventString

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

Returns:

  • (String)

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

#event_idString

The CloudTrail ID of the event returned.

Returns:

  • (String)

    The CloudTrail ID of the event returned.

#event_nameString

The name of the event returned.

Returns:

  • (String)

    The name of the event returned.

#event_sourceString

The AWS service that the request was made to.

Returns:

  • (String)

    The AWS service that the request was made to.

#event_timeTime

The date and time of the event returned.

Returns:

  • (Time)

    The date and time of the event returned.

#read_onlyString

Information about whether the event is a write event or a read event.

Returns:

  • (String)

    Information about whether the event is a write event or a read event.

#resourcesArray<Types::Resource>

A list of resources referenced by the event returned.

Returns:

  • (Array<Types::Resource>)

    A list of resources referenced by the event returned.

#usernameString

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

Returns:

  • (String)

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