How to update a CloudFront distribution s default root object

0 votes

Hi Guys,

I have created one CloudFront distribution in AWS. I want to update a CloudFront distribution's default root object. How can I do that?

Nov 3, 2020 in AWS by akhtar
• 38,260 points
1,779 views

1 answer to this question.

0 votes

Hi@akhtar,

The following example updates the default root object to index.html for the CloudFront distribution with the ID.

$ aws cloudfront update-distribution --id EDFDVBD6EXAMPLE --default-root-object index.html
answered Nov 3, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to Update Default Root Object of Cloud front Distribution in C#

You will need AWS's new modularized assemblies.  AWSSKD.Core ...READ MORE

answered Oct 29, 2018 in AWS by Priyaj
• 58,020 points
1,418 views
0 votes
1 answer

How do I write an S3 Object to a file?

While IOUtils.copy() and IOUtils.copyLarge() are great, I would prefer the old ...READ MORE

answered Jul 13, 2018 in AWS by Hammer
• 360 points
4,671 views
0 votes
1 answer

How to creates a new origin access identity in Cloudfront?

Hi@akhtar, If you're using Amazon S3 for your ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
760 views
0 votes
1 answer

How to list down all the distributions in Cloudfront?

Hi@akhtar, You can list down all the distributions ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
1,389 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to update a CloudFront origin access identity?

Hi@akhtar, The following example updates the origin access ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,256 views
0 votes
1 answer

How to open S3 object as a string with Boto3?

Hi@akhtar, If you want to return a string, you ...READ MORE

answered Sep 21, 2020 in AWS by MD
• 95,460 points
4,420 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP