You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Configure if `sst deploy` should wait for the CloudFront cache invalidation to finish.
433
-
*
434
-
* :::tip
435
-
* For non-prod environments it might make sense to pass in `false`.
436
-
* :::
437
-
*
438
-
* Waiting for the CloudFront cache invalidation process to finish ensures that the new content will be served once the deploy finishes. However, this process can sometimes take more than 5 mins.
439
-
* @default `false`
440
-
* @example
441
-
* ```js
442
-
* {
443
-
* invalidation: {
444
-
* wait: true
445
-
* }
446
-
* }
447
-
* ```
448
-
*/
449
-
wait?: Input<boolean>;
450
-
/**
451
-
* The paths to invalidate.
452
-
*
453
-
* You can either pass in an array of glob patterns to invalidate specific files. Or you can use the built-in option `all` to invalidation all files when any file changes.
454
-
*
455
-
* :::note
456
-
* Invalidating `all` counts as one invalidation, while each glob pattern counts as a single invalidation path.
457
-
* :::
458
-
* @default `"all"`
459
-
* @example
460
-
* Invalidate the `index.html` and all files under the `products/` route.
461
-
* ```js
462
-
* {
463
-
* invalidation: {
464
-
* paths: ["/index.html", "/products/*"]
465
-
* }
466
-
* }
467
-
* ```
468
-
*/
469
-
paths?: Input<"all"|string[]>;
470
-
}
431
+
/**
432
+
* Configure if `sst deploy` should wait for the CloudFront cache invalidation to finish.
433
+
*
434
+
* :::tip
435
+
* For non-prod environments it might make sense to pass in `false`.
436
+
* :::
437
+
*
438
+
* Waiting for the CloudFront cache invalidation process to finish ensures that the new content will be served once the deploy finishes. However, this process can sometimes take more than 5 mins.
439
+
* @default `false`
440
+
* @example
441
+
* ```js
442
+
* {
443
+
* invalidation: {
444
+
* wait: true
445
+
* }
446
+
* }
447
+
* ```
448
+
*/
449
+
wait?: Input<boolean>;
450
+
/**
451
+
* The paths to invalidate.
452
+
*
453
+
* You can either pass in an array of glob patterns to invalidate specific files. Or you can use the built-in option `all` to invalidation all files when any file changes.
454
+
*
455
+
* :::note
456
+
* Invalidating `all` counts as one invalidation, while each glob pattern counts as a single invalidation path.
457
+
* :::
458
+
* @default `"all"`
459
+
* @example
460
+
* Invalidate the `index.html` and all files under the `products/` route.
461
+
* ```js
462
+
* {
463
+
* invalidation: {
464
+
* paths: ["/index.html", "/products/*"]
465
+
* }
466
+
* }
467
+
* ```
468
+
*/
469
+
paths?: Input<"all"|string[]>;
470
+
}
471
471
>;
472
472
/**
473
473
* By default, a standalone CloudFront distribution is created.
0 commit comments