I want to set AWS CloudFront to boto and then Grant Read Permissions on Bucket: Yes.

Asked 2 years ago, Updated 2 years ago, 48 views

AWS CloudFront is configured from Python using boto.
However, the following settings are not available.
Can't you do it with boto?

Grant Read Permissions on Bucket:Yes, Update Bucket Policy

python aws

2022-09-30 20:30

1 Answers

The appropriate settings on the management console are:
1) Create original identity on CloudFront
2) Set the S3 bucket to allow access from the original identity
is separated as an API.

1) should be possible using the origin_access_identity-related API in cloudfront for bot_identity-related API in cloudfront.
http://boto.readthedocs.org/en/latest/ref/cloudfront.html


2022-09-30 20:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.