aws cloudtrail lookup-events

From wikieduonline
Revision as of 10:19, 2 June 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search

  • aws cloudtrail lookup-events
  • aws cloudtrail lookup-events --max-results 1
  • aws cloudtrail lookup-events --max-results 1000 | egrep "EventName|EventTime"
  • aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=ConsoleLogin


aws cloudtrail lookup-events --lookup-attributes AttributeKey=ResourceType,AttributeValue=AWS::S3::Bucket --max-items 1 --output text
(no output)
 aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=CreateBucket --max-items 1
aws cloudtrail lookup-events --lookup-attributes AttributeKey=ResourceType,AttributeValue=NOT_a_valid_attribute  --max-items 1 --output text
(no output)

See also

Advertising: