stacktape 3.5.7 → 3.6.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tsconfig.bun-build.json +1 -0
- package/ai-docs/cli-ref/aws-profile-create.md +22 -0
- package/ai-docs/cli-ref/aws-profile-delete.md +22 -0
- package/ai-docs/cli-ref/aws-profile-list.md +20 -0
- package/ai-docs/cli-ref/aws-profile-update.md +22 -0
- package/ai-docs/cli-ref/bastion-session.md +29 -0
- package/ai-docs/cli-ref/bastion-tunnel.md +30 -0
- package/ai-docs/cli-ref/bucket-sync.md +30 -0
- package/ai-docs/cli-ref/cf-module-update.md +26 -0
- package/ai-docs/cli-ref/cf-rollback.md +28 -0
- package/ai-docs/cli-ref/codebuild-deploy.md +34 -0
- package/ai-docs/cli-ref/compile-template.md +25 -0
- package/ai-docs/cli-ref/container-session.md +30 -0
- package/ai-docs/cli-ref/debug-alarms.md +28 -0
- package/ai-docs/cli-ref/debug-aws-sdk.md +33 -0
- package/ai-docs/cli-ref/debug-container-exec.md +36 -0
- package/ai-docs/cli-ref/debug-dynamodb.md +35 -0
- package/ai-docs/cli-ref/debug-logs.md +34 -0
- package/ai-docs/cli-ref/debug-metrics.md +33 -0
- package/ai-docs/cli-ref/debug-opensearch.md +35 -0
- package/ai-docs/cli-ref/debug-redis.md +36 -0
- package/ai-docs/cli-ref/debug-sql.md +35 -0
- package/ai-docs/cli-ref/defaults-configure.md +29 -0
- package/ai-docs/cli-ref/defaults-list.md +20 -0
- package/ai-docs/cli-ref/delete.md +24 -0
- package/ai-docs/cli-ref/deploy.md +25 -0
- package/ai-docs/cli-ref/deployment-script-run.md +28 -0
- package/ai-docs/cli-ref/dev-stop.md +26 -0
- package/ai-docs/cli-ref/dev.md +45 -0
- package/ai-docs/cli-ref/domain-add.md +26 -0
- package/ai-docs/cli-ref/help.md +18 -0
- package/ai-docs/cli-ref/info-operations.md +22 -0
- package/ai-docs/cli-ref/info-stack.md +30 -0
- package/ai-docs/cli-ref/info-stacks.md +26 -0
- package/ai-docs/cli-ref/info-whoami.md +22 -0
- package/ai-docs/cli-ref/init.md +30 -0
- package/ai-docs/cli-ref/login.md +20 -0
- package/ai-docs/cli-ref/logout.md +18 -0
- package/ai-docs/cli-ref/mcp-add.md +22 -0
- package/ai-docs/cli-ref/mcp.md +20 -0
- package/ai-docs/cli-ref/org-create.md +24 -0
- package/ai-docs/cli-ref/org-delete.md +24 -0
- package/ai-docs/cli-ref/org-list.md +22 -0
- package/ai-docs/cli-ref/package-workloads.md +25 -0
- package/ai-docs/cli-ref/param-get.md +26 -0
- package/ai-docs/cli-ref/preview-changes.md +23 -0
- package/ai-docs/cli-ref/project-create.md +22 -0
- package/ai-docs/cli-ref/projects-list.md +22 -0
- package/ai-docs/cli-ref/rollback.md +28 -0
- package/ai-docs/cli-ref/script-run.md +29 -0
- package/ai-docs/cli-ref/secret-create.md +28 -0
- package/ai-docs/cli-ref/secret-delete.md +26 -0
- package/ai-docs/cli-ref/secret-get.md +26 -0
- package/ai-docs/cli-ref/upgrade.md +20 -0
- package/ai-docs/cli-ref/version.md +18 -0
- package/ai-docs/concept/connecting-resources.md +369 -0
- package/ai-docs/concept/directives.md +371 -0
- package/ai-docs/concept/extending-cloudformation.md +315 -0
- package/ai-docs/concept/overrides-and-transforms.md +352 -0
- package/ai-docs/concept/stages-and-environments.md +347 -0
- package/ai-docs/concept/typescript-config.md +447 -0
- package/ai-docs/concept/yaml-config.md +338 -0
- package/ai-docs/config-ref/_root.md +142 -0
- package/ai-docs/config-ref/application-load-balancer.md +1109 -0
- package/ai-docs/config-ref/astro-web.md +115 -0
- package/ai-docs/config-ref/aws-cdk-construct.md +68 -0
- package/ai-docs/config-ref/bastion.md +93 -0
- package/ai-docs/config-ref/batch-job.md +179 -0
- package/ai-docs/config-ref/bucket.md +348 -0
- package/ai-docs/config-ref/cdn.md +496 -0
- package/ai-docs/config-ref/custom-resource.md +80 -0
- package/ai-docs/config-ref/deployment-script.md +79 -0
- package/ai-docs/config-ref/dynamo-db-table.md +202 -0
- package/ai-docs/config-ref/edge-lambda-function.md +87 -0
- package/ai-docs/config-ref/efs-filesystem.md +72 -0
- package/ai-docs/config-ref/event-bus.md +63 -0
- package/ai-docs/config-ref/function.md +409 -0
- package/ai-docs/config-ref/hosting-bucket.md +171 -0
- package/ai-docs/config-ref/http-api-gateway.md +149 -0
- package/ai-docs/config-ref/http-endpoint.md +92 -0
- package/ai-docs/config-ref/kinesis-stream.md +97 -0
- package/ai-docs/config-ref/mongo-db-atlas-cluster.md +254 -0
- package/ai-docs/config-ref/multi-container-workload.md +399 -0
- package/ai-docs/config-ref/network-load-balancer.md +118 -0
- package/ai-docs/config-ref/nextjs-web.md +147 -0
- package/ai-docs/config-ref/nuxt-web.md +81 -0
- package/ai-docs/config-ref/open-search.md +206 -0
- package/ai-docs/config-ref/private-service.md +75 -0
- package/ai-docs/config-ref/redis-cluster.md +223 -0
- package/ai-docs/config-ref/relational-database.md +525 -0
- package/ai-docs/config-ref/remix-web.md +74 -0
- package/ai-docs/config-ref/sns-topic.md +69 -0
- package/ai-docs/config-ref/solidstart-web.md +75 -0
- package/ai-docs/config-ref/sqs-queue-not-empty.md +405 -0
- package/ai-docs/config-ref/sqs-queue.md +232 -0
- package/ai-docs/config-ref/state-machine.md +235 -0
- package/ai-docs/config-ref/sveltekit-web.md +81 -0
- package/ai-docs/config-ref/tanstack-web.md +75 -0
- package/ai-docs/config-ref/upstash-redis.md +59 -0
- package/ai-docs/config-ref/user-auth-pool.md +876 -0
- package/ai-docs/config-ref/web-app-firewall.md +212 -0
- package/ai-docs/config-ref/web-service.md +178 -0
- package/ai-docs/config-ref/worker-service.md +41 -0
- package/ai-docs/getting-started/console.md +232 -0
- package/ai-docs/getting-started/deployment.md +434 -0
- package/ai-docs/getting-started/dev-mode.md +118 -0
- package/ai-docs/getting-started/how-it-works.md +119 -0
- package/ai-docs/getting-started/intro.md +157 -0
- package/ai-docs/getting-started/using-with-ai.md +228 -0
- package/ai-docs/getting-started/workflow.md +197 -0
- package/ai-docs/index.json +1514 -0
- package/ai-docs/recipe/background-jobs.md +183 -0
- package/ai-docs/recipe/database-migrations.md +240 -0
- package/ai-docs/recipe/graphql-api.md +211 -0
- package/ai-docs/recipe/monorepo-setup.md +183 -0
- package/ai-docs/recipe/nextjs-full-stack.md +188 -0
- package/ai-docs/recipe/rest-api-with-database.md +156 -0
- package/ai-docs/recipe/scheduled-tasks.md +186 -0
- package/ai-docs/recipe/static-website.md +241 -0
- package/ai-docs/troubleshooting/cloudformation-stack-states.md +189 -0
- package/bin/stacktape.js +206 -41
- package/package.json +1 -1
- package/plain.d.ts +309 -54
package/plain.d.ts
CHANGED
|
@@ -44,9 +44,9 @@ export type StacktapeResourceDefinition =
|
|
|
44
44
|
| RemixWeb;
|
|
45
45
|
export type HttpMethod = "*" | "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
|
|
46
46
|
export type ApplicationLoadBalancerAlarmTrigger =
|
|
47
|
+
| ApplicationLoadBalancerCustomTrigger
|
|
47
48
|
| ApplicationLoadBalancerErrorRateTrigger
|
|
48
|
-
| ApplicationLoadBalancerUnhealthyTargetsTrigger
|
|
49
|
-
| ApplicationLoadBalancerCustomTrigger;
|
|
49
|
+
| ApplicationLoadBalancerUnhealthyTargetsTrigger;
|
|
50
50
|
export type AlarmUserIntegration = MsTeamsIntegration | SlackIntegration | EmailIntegration;
|
|
51
51
|
export type HttpApiGatewayAlarmTrigger = HttpApiGatewayErrorRateTrigger | HttpApiGatewayLatencyTrigger;
|
|
52
52
|
/**
|
|
@@ -4406,58 +4406,6 @@ export interface ApplicationLoadBalancerAlarm {
|
|
|
4406
4406
|
*/
|
|
4407
4407
|
description?: string;
|
|
4408
4408
|
}
|
|
4409
|
-
export interface ApplicationLoadBalancerErrorRateTrigger {
|
|
4410
|
-
type: "application-load-balancer-error-rate";
|
|
4411
|
-
properties: ApplicationLoadBalancerErrorRateTriggerProps;
|
|
4412
|
-
}
|
|
4413
|
-
export interface ApplicationLoadBalancerErrorRateTriggerProps {
|
|
4414
|
-
/**
|
|
4415
|
-
* #### Fires when 4xx/5xx error rate exceeds this percentage.
|
|
4416
|
-
*
|
|
4417
|
-
* ---
|
|
4418
|
-
*
|
|
4419
|
-
* Example: `5` fires the alarm if more than 5% of requests return errors.
|
|
4420
|
-
*/
|
|
4421
|
-
thresholdPercent: number;
|
|
4422
|
-
/**
|
|
4423
|
-
* #### How to compare the metric value against the threshold.
|
|
4424
|
-
*/
|
|
4425
|
-
comparisonOperator?:
|
|
4426
|
-
| "GreaterThanOrEqualToThreshold"
|
|
4427
|
-
| "GreaterThanThreshold"
|
|
4428
|
-
| "LessThanOrEqualToThreshold"
|
|
4429
|
-
| "LessThanThreshold";
|
|
4430
|
-
}
|
|
4431
|
-
export interface ApplicationLoadBalancerUnhealthyTargetsTrigger {
|
|
4432
|
-
type: "application-load-balancer-unhealthy-targets";
|
|
4433
|
-
properties: ApplicationLoadBalancerUnhealthyTargetsTriggerProps;
|
|
4434
|
-
}
|
|
4435
|
-
export interface ApplicationLoadBalancerUnhealthyTargetsTriggerProps {
|
|
4436
|
-
/**
|
|
4437
|
-
* #### Fires when the percentage of unhealthy targets exceeds this value.
|
|
4438
|
-
*
|
|
4439
|
-
* ---
|
|
4440
|
-
*
|
|
4441
|
-
* If the load balancer has multiple target groups, the alarm fires if *any* group breaches the threshold.
|
|
4442
|
-
*/
|
|
4443
|
-
thresholdPercent: number;
|
|
4444
|
-
/**
|
|
4445
|
-
* #### Only monitor health of these target container services. If omitted, monitors all targets.
|
|
4446
|
-
*
|
|
4447
|
-
* ---
|
|
4448
|
-
*
|
|
4449
|
-
* Only services actually targeted by the load balancer can be listed.
|
|
4450
|
-
*/
|
|
4451
|
-
onlyIncludeTargets?: string[];
|
|
4452
|
-
/**
|
|
4453
|
-
* #### How to compare the metric value against the threshold.
|
|
4454
|
-
*/
|
|
4455
|
-
comparisonOperator?:
|
|
4456
|
-
| "GreaterThanOrEqualToThreshold"
|
|
4457
|
-
| "GreaterThanThreshold"
|
|
4458
|
-
| "LessThanOrEqualToThreshold"
|
|
4459
|
-
| "LessThanThreshold";
|
|
4460
|
-
}
|
|
4461
4409
|
export interface ApplicationLoadBalancerCustomTrigger {
|
|
4462
4410
|
type: "application-load-balancer-custom";
|
|
4463
4411
|
properties: ApplicationLoadBalancerCustomTriggerProps;
|
|
@@ -4601,6 +4549,58 @@ export interface ApplicationLoadBalancerCustomTriggerProps {
|
|
|
4601
4549
|
| "LessThanOrEqualToThreshold"
|
|
4602
4550
|
| "LessThanThreshold";
|
|
4603
4551
|
}
|
|
4552
|
+
export interface ApplicationLoadBalancerErrorRateTrigger {
|
|
4553
|
+
type: "application-load-balancer-error-rate";
|
|
4554
|
+
properties: ApplicationLoadBalancerErrorRateTriggerProps;
|
|
4555
|
+
}
|
|
4556
|
+
export interface ApplicationLoadBalancerErrorRateTriggerProps {
|
|
4557
|
+
/**
|
|
4558
|
+
* #### Fires when 4xx/5xx error rate exceeds this percentage.
|
|
4559
|
+
*
|
|
4560
|
+
* ---
|
|
4561
|
+
*
|
|
4562
|
+
* Example: `5` fires the alarm if more than 5% of requests return errors.
|
|
4563
|
+
*/
|
|
4564
|
+
thresholdPercent: number;
|
|
4565
|
+
/**
|
|
4566
|
+
* #### How to compare the metric value against the threshold.
|
|
4567
|
+
*/
|
|
4568
|
+
comparisonOperator?:
|
|
4569
|
+
| "GreaterThanOrEqualToThreshold"
|
|
4570
|
+
| "GreaterThanThreshold"
|
|
4571
|
+
| "LessThanOrEqualToThreshold"
|
|
4572
|
+
| "LessThanThreshold";
|
|
4573
|
+
}
|
|
4574
|
+
export interface ApplicationLoadBalancerUnhealthyTargetsTrigger {
|
|
4575
|
+
type: "application-load-balancer-unhealthy-targets";
|
|
4576
|
+
properties: ApplicationLoadBalancerUnhealthyTargetsTriggerProps;
|
|
4577
|
+
}
|
|
4578
|
+
export interface ApplicationLoadBalancerUnhealthyTargetsTriggerProps {
|
|
4579
|
+
/**
|
|
4580
|
+
* #### Fires when the percentage of unhealthy targets exceeds this value.
|
|
4581
|
+
*
|
|
4582
|
+
* ---
|
|
4583
|
+
*
|
|
4584
|
+
* If the load balancer has multiple target groups, the alarm fires if *any* group breaches the threshold.
|
|
4585
|
+
*/
|
|
4586
|
+
thresholdPercent: number;
|
|
4587
|
+
/**
|
|
4588
|
+
* #### Only monitor health of these target container services. If omitted, monitors all targets.
|
|
4589
|
+
*
|
|
4590
|
+
* ---
|
|
4591
|
+
*
|
|
4592
|
+
* Only services actually targeted by the load balancer can be listed.
|
|
4593
|
+
*/
|
|
4594
|
+
onlyIncludeTargets?: string[];
|
|
4595
|
+
/**
|
|
4596
|
+
* #### How to compare the metric value against the threshold.
|
|
4597
|
+
*/
|
|
4598
|
+
comparisonOperator?:
|
|
4599
|
+
| "GreaterThanOrEqualToThreshold"
|
|
4600
|
+
| "GreaterThanThreshold"
|
|
4601
|
+
| "LessThanOrEqualToThreshold"
|
|
4602
|
+
| "LessThanThreshold";
|
|
4603
|
+
}
|
|
4604
4604
|
/**
|
|
4605
4605
|
* #### How long and how often to evaluate the metric before triggering.
|
|
4606
4606
|
*
|
|
@@ -5802,6 +5802,15 @@ export interface AuroraServerlessV2EngineProperties {
|
|
|
5802
5802
|
* #### Maximum ACUs (0.5-128 in 0.5 increments). Caps your scaling and cost.
|
|
5803
5803
|
*/
|
|
5804
5804
|
maxCapacity?: number;
|
|
5805
|
+
/**
|
|
5806
|
+
* #### Number of reader instances in the Aurora Serverless v2 cluster.
|
|
5807
|
+
*
|
|
5808
|
+
* ---
|
|
5809
|
+
*
|
|
5810
|
+
* Aurora Serverless v2 always has one writer instance. This value adds additional readers
|
|
5811
|
+
* (`0` means writer only, `2` means writer + 2 readers).
|
|
5812
|
+
*/
|
|
5813
|
+
serverlessReadersCount?: number;
|
|
5805
5814
|
/**
|
|
5806
5815
|
* #### Engine version (e.g., `16.6` for PostgreSQL, `8.0.36` for MySQL).
|
|
5807
5816
|
*/
|
|
@@ -10500,6 +10509,7 @@ export interface NextjsWebProps {
|
|
|
10500
10509
|
* Not compatible with `useEdgeLambda: true`.
|
|
10501
10510
|
*/
|
|
10502
10511
|
streamingEnabled?: boolean;
|
|
10512
|
+
cdn?: SsrWebCdnConfig;
|
|
10503
10513
|
/**
|
|
10504
10514
|
* #### Give this resource access to other resources in your stack.
|
|
10505
10515
|
*
|
|
@@ -10600,6 +10610,101 @@ export interface LambdaFunctionLogging {
|
|
|
10600
10610
|
*/
|
|
10601
10611
|
logForwarding?: HttpEndpointLogForwarding | HighlightLogForwarding | DatadogLogForwarding;
|
|
10602
10612
|
}
|
|
10613
|
+
/**
|
|
10614
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
10615
|
+
*/
|
|
10616
|
+
export interface SsrWebCdnConfig {
|
|
10617
|
+
/**
|
|
10618
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
10619
|
+
*
|
|
10620
|
+
* ---
|
|
10621
|
+
*
|
|
10622
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
10623
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
10624
|
+
*/
|
|
10625
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
10626
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
10627
|
+
/**
|
|
10628
|
+
* #### Override caching for specific CDN path patterns.
|
|
10629
|
+
*
|
|
10630
|
+
* ---
|
|
10631
|
+
*
|
|
10632
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
10633
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
10634
|
+
*/
|
|
10635
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
10636
|
+
}
|
|
10637
|
+
/**
|
|
10638
|
+
* #### Override default SSR caching behavior for all routes handled by the server.
|
|
10639
|
+
*
|
|
10640
|
+
* ---
|
|
10641
|
+
*
|
|
10642
|
+
* Useful when you want to cache SSR responses longer than the framework defaults.
|
|
10643
|
+
*/
|
|
10644
|
+
export interface CdnCachingOptions4 {
|
|
10645
|
+
/**
|
|
10646
|
+
* #### HTTP methods to cache. Use `['GET', 'HEAD', 'OPTIONS']` if your API uses CORS preflight.
|
|
10647
|
+
*/
|
|
10648
|
+
cacheMethods?: ("GET" | "HEAD" | "OPTIONS")[];
|
|
10649
|
+
/**
|
|
10650
|
+
* #### Minimum cache time (seconds). Overrides `Cache-Control: max-age` if the origin sets a lower value.
|
|
10651
|
+
*/
|
|
10652
|
+
minTTL?: number;
|
|
10653
|
+
/**
|
|
10654
|
+
* #### Maximum cache time (seconds). Caps how long the CDN caches content, even if the origin says longer.
|
|
10655
|
+
*/
|
|
10656
|
+
maxTTL?: number;
|
|
10657
|
+
/**
|
|
10658
|
+
* #### Default cache time (seconds). Used when the origin response has no `Cache-Control` or `Expires` header.
|
|
10659
|
+
*/
|
|
10660
|
+
defaultTTL?: number;
|
|
10661
|
+
/**
|
|
10662
|
+
* #### Disable automatic Gzip/Brotli compression. Compression is on by default and reduces transfer size/cost.
|
|
10663
|
+
*/
|
|
10664
|
+
disableCompression?: boolean;
|
|
10665
|
+
cacheKeyParameters?: CdnCacheKey;
|
|
10666
|
+
/**
|
|
10667
|
+
* #### Use a pre-existing AWS cache policy ID instead of configuring TTL and cache key options here.
|
|
10668
|
+
*/
|
|
10669
|
+
cachePolicyId?: string;
|
|
10670
|
+
}
|
|
10671
|
+
export interface SsrWebPathCachingOverride {
|
|
10672
|
+
/**
|
|
10673
|
+
* #### URL path pattern to match (e.g., `/api/*`, `/_server-islands/*`).
|
|
10674
|
+
*/
|
|
10675
|
+
path: string;
|
|
10676
|
+
cachingOptions: CdnCachingOptions5;
|
|
10677
|
+
}
|
|
10678
|
+
/**
|
|
10679
|
+
* #### Caching behavior override for this path pattern.
|
|
10680
|
+
*/
|
|
10681
|
+
export interface CdnCachingOptions5 {
|
|
10682
|
+
/**
|
|
10683
|
+
* #### HTTP methods to cache. Use `['GET', 'HEAD', 'OPTIONS']` if your API uses CORS preflight.
|
|
10684
|
+
*/
|
|
10685
|
+
cacheMethods?: ("GET" | "HEAD" | "OPTIONS")[];
|
|
10686
|
+
/**
|
|
10687
|
+
* #### Minimum cache time (seconds). Overrides `Cache-Control: max-age` if the origin sets a lower value.
|
|
10688
|
+
*/
|
|
10689
|
+
minTTL?: number;
|
|
10690
|
+
/**
|
|
10691
|
+
* #### Maximum cache time (seconds). Caps how long the CDN caches content, even if the origin says longer.
|
|
10692
|
+
*/
|
|
10693
|
+
maxTTL?: number;
|
|
10694
|
+
/**
|
|
10695
|
+
* #### Default cache time (seconds). Used when the origin response has no `Cache-Control` or `Expires` header.
|
|
10696
|
+
*/
|
|
10697
|
+
defaultTTL?: number;
|
|
10698
|
+
/**
|
|
10699
|
+
* #### Disable automatic Gzip/Brotli compression. Compression is on by default and reduces transfer size/cost.
|
|
10700
|
+
*/
|
|
10701
|
+
disableCompression?: boolean;
|
|
10702
|
+
cacheKeyParameters?: CdnCacheKey;
|
|
10703
|
+
/**
|
|
10704
|
+
* #### Use a pre-existing AWS cache policy ID instead of configuring TTL and cache key options here.
|
|
10705
|
+
*/
|
|
10706
|
+
cachePolicyId?: string;
|
|
10707
|
+
}
|
|
10603
10708
|
/**
|
|
10604
10709
|
* #### Managed search and analytics engine (OpenSearch/Elasticsearch compatible).
|
|
10605
10710
|
*
|
|
@@ -11811,6 +11916,7 @@ export interface AstroWebProps {
|
|
|
11811
11916
|
* #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
|
|
11812
11917
|
*/
|
|
11813
11918
|
fileOptions?: DirectoryUploadFilter[];
|
|
11919
|
+
cdn?: SsrWebCdnConfig1;
|
|
11814
11920
|
/**
|
|
11815
11921
|
* #### Give this resource access to other resources in your stack.
|
|
11816
11922
|
*
|
|
@@ -11920,6 +12026,30 @@ export interface AstroWebDevConfig {
|
|
|
11920
12026
|
*/
|
|
11921
12027
|
workingDirectory?: string;
|
|
11922
12028
|
}
|
|
12029
|
+
/**
|
|
12030
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
12031
|
+
*/
|
|
12032
|
+
export interface SsrWebCdnConfig1 {
|
|
12033
|
+
/**
|
|
12034
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
12035
|
+
*
|
|
12036
|
+
* ---
|
|
12037
|
+
*
|
|
12038
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
12039
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
12040
|
+
*/
|
|
12041
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
12042
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
12043
|
+
/**
|
|
12044
|
+
* #### Override caching for specific CDN path patterns.
|
|
12045
|
+
*
|
|
12046
|
+
* ---
|
|
12047
|
+
*
|
|
12048
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
12049
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
12050
|
+
*/
|
|
12051
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
12052
|
+
}
|
|
11923
12053
|
/**
|
|
11924
12054
|
* #### Deploy a Nuxt SSR app with Lambda (Nitro aws-lambda preset), S3 for static assets, and CloudFront CDN.
|
|
11925
12055
|
*
|
|
@@ -11979,6 +12109,7 @@ export interface NuxtWebProps {
|
|
|
11979
12109
|
* #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
|
|
11980
12110
|
*/
|
|
11981
12111
|
fileOptions?: DirectoryUploadFilter[];
|
|
12112
|
+
cdn?: SsrWebCdnConfig2;
|
|
11982
12113
|
/**
|
|
11983
12114
|
* #### Give this resource access to other resources in your stack.
|
|
11984
12115
|
*
|
|
@@ -12088,6 +12219,30 @@ export interface SsrWebDevConfig {
|
|
|
12088
12219
|
*/
|
|
12089
12220
|
workingDirectory?: string;
|
|
12090
12221
|
}
|
|
12222
|
+
/**
|
|
12223
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
12224
|
+
*/
|
|
12225
|
+
export interface SsrWebCdnConfig2 {
|
|
12226
|
+
/**
|
|
12227
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
12228
|
+
*
|
|
12229
|
+
* ---
|
|
12230
|
+
*
|
|
12231
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
12232
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
12233
|
+
*/
|
|
12234
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
12235
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
12236
|
+
/**
|
|
12237
|
+
* #### Override caching for specific CDN path patterns.
|
|
12238
|
+
*
|
|
12239
|
+
* ---
|
|
12240
|
+
*
|
|
12241
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
12242
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
12243
|
+
*/
|
|
12244
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
12245
|
+
}
|
|
12091
12246
|
/**
|
|
12092
12247
|
* #### Deploy a SvelteKit SSR app with Lambda (AWS adapter), S3 for static assets, and CloudFront CDN.
|
|
12093
12248
|
*
|
|
@@ -12147,6 +12302,7 @@ export interface SvelteKitWebProps {
|
|
|
12147
12302
|
* #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
|
|
12148
12303
|
*/
|
|
12149
12304
|
fileOptions?: DirectoryUploadFilter[];
|
|
12305
|
+
cdn?: SsrWebCdnConfig3;
|
|
12150
12306
|
/**
|
|
12151
12307
|
* #### Give this resource access to other resources in your stack.
|
|
12152
12308
|
*
|
|
@@ -12235,6 +12391,30 @@ export interface SsrWebDevConfig1 {
|
|
|
12235
12391
|
*/
|
|
12236
12392
|
workingDirectory?: string;
|
|
12237
12393
|
}
|
|
12394
|
+
/**
|
|
12395
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
12396
|
+
*/
|
|
12397
|
+
export interface SsrWebCdnConfig3 {
|
|
12398
|
+
/**
|
|
12399
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
12400
|
+
*
|
|
12401
|
+
* ---
|
|
12402
|
+
*
|
|
12403
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
12404
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
12405
|
+
*/
|
|
12406
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
12407
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
12408
|
+
/**
|
|
12409
|
+
* #### Override caching for specific CDN path patterns.
|
|
12410
|
+
*
|
|
12411
|
+
* ---
|
|
12412
|
+
*
|
|
12413
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
12414
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
12415
|
+
*/
|
|
12416
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
12417
|
+
}
|
|
12238
12418
|
/**
|
|
12239
12419
|
* #### Deploy a SolidStart SSR app with Lambda (AWS adapter), S3 for static assets, and CloudFront CDN.
|
|
12240
12420
|
*/
|
|
@@ -12290,6 +12470,7 @@ export interface SolidStartWebProps {
|
|
|
12290
12470
|
* #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
|
|
12291
12471
|
*/
|
|
12292
12472
|
fileOptions?: DirectoryUploadFilter[];
|
|
12473
|
+
cdn?: SsrWebCdnConfig4;
|
|
12293
12474
|
/**
|
|
12294
12475
|
* #### Give this resource access to other resources in your stack.
|
|
12295
12476
|
*
|
|
@@ -12378,6 +12559,30 @@ export interface SsrWebDevConfig2 {
|
|
|
12378
12559
|
*/
|
|
12379
12560
|
workingDirectory?: string;
|
|
12380
12561
|
}
|
|
12562
|
+
/**
|
|
12563
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
12564
|
+
*/
|
|
12565
|
+
export interface SsrWebCdnConfig4 {
|
|
12566
|
+
/**
|
|
12567
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
12568
|
+
*
|
|
12569
|
+
* ---
|
|
12570
|
+
*
|
|
12571
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
12572
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
12573
|
+
*/
|
|
12574
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
12575
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
12576
|
+
/**
|
|
12577
|
+
* #### Override caching for specific CDN path patterns.
|
|
12578
|
+
*
|
|
12579
|
+
* ---
|
|
12580
|
+
*
|
|
12581
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
12582
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
12583
|
+
*/
|
|
12584
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
12585
|
+
}
|
|
12381
12586
|
/**
|
|
12382
12587
|
* #### Deploy a TanStack Start SSR app with Lambda (Nitro aws-lambda preset), S3 for static assets, and CloudFront CDN.
|
|
12383
12588
|
*/
|
|
@@ -12433,6 +12638,7 @@ export interface TanStackWebProps {
|
|
|
12433
12638
|
* #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
|
|
12434
12639
|
*/
|
|
12435
12640
|
fileOptions?: DirectoryUploadFilter[];
|
|
12641
|
+
cdn?: SsrWebCdnConfig5;
|
|
12436
12642
|
/**
|
|
12437
12643
|
* #### Give this resource access to other resources in your stack.
|
|
12438
12644
|
*
|
|
@@ -12521,6 +12727,30 @@ export interface SsrWebDevConfig3 {
|
|
|
12521
12727
|
*/
|
|
12522
12728
|
workingDirectory?: string;
|
|
12523
12729
|
}
|
|
12730
|
+
/**
|
|
12731
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
12732
|
+
*/
|
|
12733
|
+
export interface SsrWebCdnConfig5 {
|
|
12734
|
+
/**
|
|
12735
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
12736
|
+
*
|
|
12737
|
+
* ---
|
|
12738
|
+
*
|
|
12739
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
12740
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
12741
|
+
*/
|
|
12742
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
12743
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
12744
|
+
/**
|
|
12745
|
+
* #### Override caching for specific CDN path patterns.
|
|
12746
|
+
*
|
|
12747
|
+
* ---
|
|
12748
|
+
*
|
|
12749
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
12750
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
12751
|
+
*/
|
|
12752
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
12753
|
+
}
|
|
12524
12754
|
/**
|
|
12525
12755
|
* #### Deploy a Remix SSR app with Lambda for server rendering, S3 for static assets, and CloudFront CDN.
|
|
12526
12756
|
*/
|
|
@@ -12576,6 +12806,7 @@ export interface RemixWebProps {
|
|
|
12576
12806
|
* #### Set custom headers (e.g., `Cache-Control`) for static files matching a pattern.
|
|
12577
12807
|
*/
|
|
12578
12808
|
fileOptions?: DirectoryUploadFilter[];
|
|
12809
|
+
cdn?: SsrWebCdnConfig6;
|
|
12579
12810
|
/**
|
|
12580
12811
|
* #### Give this resource access to other resources in your stack.
|
|
12581
12812
|
*
|
|
@@ -12664,6 +12895,30 @@ export interface SsrWebDevConfig4 {
|
|
|
12664
12895
|
*/
|
|
12665
12896
|
workingDirectory?: string;
|
|
12666
12897
|
}
|
|
12898
|
+
/**
|
|
12899
|
+
* #### CDN cache controls for SSR routes and specific path patterns.
|
|
12900
|
+
*/
|
|
12901
|
+
export interface SsrWebCdnConfig6 {
|
|
12902
|
+
/**
|
|
12903
|
+
* #### Skip clearing the CDN cache after each deploy.
|
|
12904
|
+
*
|
|
12905
|
+
* ---
|
|
12906
|
+
*
|
|
12907
|
+
* By default, all cached content is flushed on every deploy so users see the latest version.
|
|
12908
|
+
* Set to `true` if you manage cache invalidation yourself or want to keep cached content between deploys.
|
|
12909
|
+
*/
|
|
12910
|
+
disableInvalidationAfterDeploy?: boolean;
|
|
12911
|
+
defaultCachingOptions?: CdnCachingOptions4;
|
|
12912
|
+
/**
|
|
12913
|
+
* #### Override caching for specific CDN path patterns.
|
|
12914
|
+
*
|
|
12915
|
+
* ---
|
|
12916
|
+
*
|
|
12917
|
+
* Matches existing framework-managed paths (e.g. `_astro/*`, `_next/data/*`) or adds
|
|
12918
|
+
* new server-path caching rules (e.g. `/_server-islands/*`) while preserving managed routing.
|
|
12919
|
+
*/
|
|
12920
|
+
pathCachingOverrides?: SsrWebPathCachingOverride[];
|
|
12921
|
+
}
|
|
12667
12922
|
export interface Default {
|
|
12668
12923
|
Type: string;
|
|
12669
12924
|
DependsOn?: string[] | IntrinsicFunction | string;
|