CmdID / aws / aws cloudtrail
aws cloudtrail start-query
CloudTrail Lake will no longer be open to new customers starting May 31, 2026. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--delivery-s3-uriThe URI for the S3 bucket where CloudTrail delivers the query results.--event-data-store-owner-account-idThe account ID of the event data store owner.--query-aliasThe alias that identifies a query template.--query-parametersThe query parameters for the specified QueryAlias.--query-statementThe SQL code of your query.