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

Class: Aws::CloudTrail::Types::LookupAttribute

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

Overview

Note:

When passing LookupAttribute as input to an Aws::Client method, you can use a vanilla Hash:

{
  attribute_key: "EventId", # required, accepts EventId, EventName, ReadOnly, Username, ResourceType, ResourceName, EventSource, AccessKeyId
  attribute_value: "String", # required
}

Specifies an attribute and value that filter the events returned.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_keyString

Specifies an attribute on which to filter the events returned.

Possible values:

  • EventId
  • EventName
  • ReadOnly
  • Username
  • ResourceType
  • ResourceName
  • EventSource
  • AccessKeyId

Returns:

  • (String)

    Specifies an attribute on which to filter the events returned.

#attribute_valueString

Specifies a value for the specified AttributeKey.

Returns:

  • (String)

    Specifies a value for the specified AttributeKey.