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_id ⇒ String

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_event ⇒ String

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_id ⇒ String

The CloudTrail ID of the event returned.

Returns:

  • (String) —

    The CloudTrail ID of the event returned.

#event_name ⇒ String

The name of the event returned.

Returns:

  • (String) —

    The name of the event returned.

#event_source ⇒ String

The AWS service that the request was made to.

Returns:

  • (String) —

    The AWS service that the request was made to.

#event_time ⇒ Time

The date and time of the event returned.

Returns:

  • (Time) —

    The date and time of the event returned.

#read_only ⇒ String

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.

#resources ⇒ Array<Types::Resource>

A list of resources referenced by the event returned.

Returns:

  • (Array<Types::Resource>) —

    A list of resources referenced by the event returned.

#username ⇒ String

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.