Create a new invalidation in Cloudfront

0 votes

Hi Team,

I am new to Cloudfront. I am attempting to invalidate an entire static website from the command line. How can I do that?

Nov 2, 2020 in AWS by akhtar
• 38,260 points
761 views

1 answer to this question.

0 votes

Hi@akhtar,

The CloudFront console allows you to specify either * or /* to invalidate the entire distribution. You can use the below command to create an invalidation.

$ aws cloudfront create-invalidation --distribution-id <DistributionID> --paths "/*"
answered Nov 2, 2020 by MD
• 95,460 points

Related Questions In AWS

0 votes
1 answer

How to create a new service in ECS cluster behind a load balancer?

Hi@akhtar, The following create-service example shows how to create a ...READ MORE

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

How to create a new, empty repository in AWS CodeCommit?

Hi@akhtar, You can create a repository and associate it with ...READ MORE

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

Creating A New MySQL User In Amazon RDS Environment

AWS RDS security groups documentation (a common ...READ MORE

answered Jul 18, 2018 in AWS by Priyaj
• 58,020 points
2,083 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
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

Creates a new web distribution in Cloudfront.

Hi@akhtar, You can create a CloudFront distribution to ...READ MORE

answered Nov 2, 2020 in AWS by MD
• 95,460 points
713 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