Using Console
Using CLI
<trail-name>
with the name of the trail you want to create and <bucket-name>
with the name of the S3 bucket where you want to store your CloudTrail logs.<trail-name>
with the name of the trail you want to update.Using Python
my-trail
with the name of your CloudTrail trail and my-bucket
with the name of your S3 bucket where you want to store the logs.