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.

preguntada hace 2 años380 visualizaciones
2 Respuestas
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 hace 2 años
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 hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas