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, ReadOnly, Username, ResourceType, ResourceName, EventSource, AccessKeyId
  attribute_value: "String", # required
}

Specifies an attribute and value that filter the events returned.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_keyString

Specifies an attribute on which to filter the events returned.

Returns:

  • (String)


1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1635

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

#attribute_valueString

Specifies a value for the specified AttributeKey.

Returns:

  • (String)


1635
1636
1637
1638
1639
1640
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 1635

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