Adding OAI to CloudFront after the distribution is created

0

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#private-content-creating-oai-console

If you didn’t create an OAI when you created your distribution...

I try to follow the instructions in the documentation but I can't find the OAI in S3 origin. Is the documentation outdated? I am trying to add OAI after the distribution has been created.

2개 답변
1

If you didn’t create an OAI when you created your distribution, you basically have two options:

  • create a CloudFront OAI using the CloudFront console - step by step instructions
  • use the CloudFront API. First you would need to create the OAI then add the OAI to your distribution
RoB
답변함 2년 전
0

You can create OAI, and attach it to the origin in Update Origin Functionality.

Note: If you're using the s3 website endpoint as origin, OAI will not be available, you can use s3 rest API endpoint.

답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠