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 1, 2020 in AWS by akhtar
• 38,170 points
65 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 1, 2020 by MD
• 95,160 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,160 points
139 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,160 points
78 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,120 points
1,139 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 1, 2020 in AWS by MD
• 95,160 points
130 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 1, 2020 in AWS by MD
• 95,160 points
49 views