Difference between revisions of "Aws cloudtrail create-trail"
Jump to navigation
Jump to search
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | <code>[[aws cloudtrail]] create-trail</code> [https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudtrail/create-trail.html doc] | |
+ | |||
+ | |||
+ | [[--enable-log-file-validation]] | ||
+ | [[--is-multi-region-trail]] As a [[best practice]], consider creating trails that log events in all Regions, Is the default from the web interface. | ||
+ | [[--include-global-service-events]] | ||
+ | [[--sns-topic-name]] | ||
+ | |||
+ | [[aws cloudtrail]] create-trail --name Trail1 --s3-bucket-name my-bucket [[--is-multi-region-trail]] | ||
== Related == | == Related == | ||
* [[Creating a trail for an organization with the AWS CLI]]: <code>[[aws organizations enable-aws-service-access]] --service-principal [[cloudtrail.amazonaws.com]]</code> | * [[Creating a trail for an organization with the AWS CLI]]: <code>[[aws organizations enable-aws-service-access]] --service-principal [[cloudtrail.amazonaws.com]]</code> | ||
* [[Logging Amazon EKS API calls with AWS CloudTrail]] | * [[Logging Amazon EKS API calls with AWS CloudTrail]] | ||
+ | * [[Terraform cloudtrail module by Cloudposse]] | ||
+ | * [[Creating a trail for your AWS account]]: <code>[[aws cloudtrail]] create-trail</code> | ||
+ | * [[AWS CloudTrail Events]] | ||
+ | * <code>[[aws s3 mb]]</code> | ||
== See also == | == See also == | ||
− | * {{aws cloudtrail}} | + | * {{aws cloudtrail create-trail}} |
+ | * {{cloudtrail}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 05:16, 11 July 2024
aws cloudtrail create-trail
doc
--enable-log-file-validation --is-multi-region-trail As a best practice, consider creating trails that log events in all Regions, Is the default from the web interface. --include-global-service-events --sns-topic-name
aws cloudtrail create-trail --name Trail1 --s3-bucket-name my-bucket --is-multi-region-trail
Related[edit]
- Creating a trail for an organization with the AWS CLI:
aws organizations enable-aws-service-access --service-principal cloudtrail.amazonaws.com
- Logging Amazon EKS API calls with AWS CloudTrail
- Terraform cloudtrail module by Cloudposse
- Creating a trail for your AWS account:
aws cloudtrail create-trail
- AWS CloudTrail Events
aws s3 mb
See also[edit]
Advertising: