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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb

Overview

Note:

When making an API call, you may pass LookupAttribute data as a hash:

{
  attribute_key: "EventId", # required, accepts EventId, EventName, Username, ResourceType, ResourceName, EventSource
  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.

Returns:

  • (String)


875
876
877
878
879
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 875

class LookupAttribute < Struct.new(
  :attribute_key,
  :attribute_value)
  include Aws::Structure
end

#attribute_valueString

Specifies a value for the specified AttributeKey.

Returns:

  • (String)


875
876
877
878
879
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 875

class LookupAttribute < Struct.new(
  :attribute_key,
  :attribute_value)
  include Aws::Structure
end