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 Respostas
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
respondido há 2 anos
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.

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas