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

#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.

#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.