Skip to content

CloudTrail  >  Structures  >  LookupAttribute

LookupAttribute

Structure Class

LookupAttribute dataclass

Specifies an attribute and value that filter the events returned.

Attributes

attribute_key instance-attribute
attribute_key: LookupAttributeKey

Specifies an attribute on which to filter the events returned.

attribute_value instance-attribute
attribute_value: str

Specifies a value for the specified AttributeKey.

The maximum length for the AttributeValue is 2000 characters. The following characters ('_', '', ',', '\n') count as two characters towards the 2000 character limit.