LookupAttribute - Amazon CloudTrail
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Specifies an attribute and value that filter the events returned.



Specifies an attribute on which to filter the events returned.

Type: String

Valid Values: EventId | EventName | ReadOnly | Username | ResourceType | ResourceName | EventSource | AccessKeyId

Required: Yes


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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2000.

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: