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 2, 2020 in AWS by akhtar
• 38,170 points
240 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 2, 2020 by MD
• 95,160 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,120 points
257 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
1,635 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 1, 2020 in AWS by MD
• 95,160 points
130 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 1, 2020 in AWS by MD
• 95,160 points
90 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 2, 2020 in AWS by MD
• 95,160 points
466 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,160 points
518 views