Difference between revisions of "Aws cloudtrail lookup-events"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  aws cloudtrail lookup-events --lookup-attributes AttributeKey=ResourceType,AttributeValue=[[AWS::S3::Bucket]] --max-items 1 --output text
 
  aws cloudtrail lookup-events --lookup-attributes AttributeKey=ResourceType,AttributeValue=[[AWS::S3::Bucket]] --max-items 1 --output text
 
  (no output)
 
  (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
 
  aws cloudtrail lookup-events --lookup-attributes AttributeKey=ResourceType,AttributeValue=NOT_a_valid_attribute  --max-items 1 --output text

Revision as of 13:03, 7 April 2022

aws cloudtrail lookup-events
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: