CloudTrail Structures LookupAttribute¶ Structure Class¶ LookupAttribute dataclass ¶ Bases: _SerdeShape Specifies an attribute and value that filter the events returned. Attributes¶ attribute_key instance-attribute ¶ attribute_key: str 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.