Using Console
Using CLI
<distribution-id>
with the ID of the CloudFront distribution for which you want to enable logging and replace <S3-bucket-name>
and <S3-prefix>
with the name of the S3 bucket and prefix where you want to store the logs.<distribution-id>
with the ID of the CloudFront distribution for which you want to verify the logging.Using Python