sst 2.24.28 → 2.25.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/constructs/SsrSite.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Construct } from "constructs";
|
|
2
2
|
import { Bucket, BucketProps, IBucket } from "aws-cdk-lib/aws-s3";
|
|
3
|
-
import { FunctionProps } from "aws-cdk-lib/aws-lambda";
|
|
3
|
+
import { FunctionProps as CdkFunctionProps } from "aws-cdk-lib/aws-lambda";
|
|
4
4
|
import { ICachePolicy, IResponseHeadersPolicy, BehaviorOptions, CachePolicy, Function as CfFunction, FunctionEventType as CfFunctionEventType } from "aws-cdk-lib/aws-cloudfront";
|
|
5
5
|
import { Distribution, DistributionDomainProps } from "./Distribution.js";
|
|
6
6
|
import { SSTConstruct } from "./Construct.js";
|
|
7
|
-
import { NodeJSProps } from "./Function.js";
|
|
7
|
+
import { NodeJSProps, FunctionProps } from "./Function.js";
|
|
8
8
|
import { SsrFunction } from "./SsrFunction.js";
|
|
9
9
|
import { EdgeFunction } from "./EdgeFunction.js";
|
|
10
10
|
import { BaseSiteFileOptions, BaseSiteReplaceProps, BaseSiteCdkDistributionProps } from "./BaseSite.js";
|
|
@@ -213,7 +213,7 @@ export interface SsrSiteProps {
|
|
|
213
213
|
* from the server rendering Lambda.
|
|
214
214
|
*/
|
|
215
215
|
responseHeadersPolicy?: IResponseHeadersPolicy;
|
|
216
|
-
server?: Pick<
|
|
216
|
+
server?: Pick<CdkFunctionProps, "vpc" | "vpcSubnets" | "securityGroups" | "allowAllOutbound" | "allowPublicSubnet" | "architecture" | "logRetention"> & Pick<FunctionProps, "copyFiles">;
|
|
217
217
|
};
|
|
218
218
|
/**
|
|
219
219
|
* Pass in a list of file options to customize cache control and content type specific files.
|
package/constructs/StaticSite.js
CHANGED
|
@@ -310,7 +310,7 @@ interface ImportMeta {
|
|
|
310
310
|
const uploader = new Function(this, "S3Uploader", {
|
|
311
311
|
code: Code.fromAsset(path.join(__dirname, "../support/base-site-custom-resource")),
|
|
312
312
|
layers: [cliLayer],
|
|
313
|
-
runtime: Runtime.
|
|
313
|
+
runtime: Runtime.PYTHON_3_11,
|
|
314
314
|
handler: "s3-upload.handler",
|
|
315
315
|
timeout: Duration.minutes(15),
|
|
316
316
|
memorySize: 1024,
|
|
@@ -321,7 +321,7 @@ interface ImportMeta {
|
|
|
321
321
|
const handler = new Function(this, "S3Handler", {
|
|
322
322
|
code: Code.fromAsset(path.join(__dirname, "../support/base-site-custom-resource")),
|
|
323
323
|
layers: [cliLayer],
|
|
324
|
-
runtime: Runtime.
|
|
324
|
+
runtime: Runtime.PYTHON_3_11,
|
|
325
325
|
handler: "s3-handler.handler",
|
|
326
326
|
timeout: Duration.minutes(15),
|
|
327
327
|
memorySize: 1024,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sideEffects": false,
|
|
3
3
|
"name": "sst",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.25.0",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sst": "cli/sst.js"
|
|
7
7
|
},
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
},
|
|
26
26
|
"homepage": "https://sst.dev",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-cdk/aws-apigatewayv2-alpha": "^2.
|
|
29
|
-
"@aws-cdk/aws-apigatewayv2-authorizers-alpha": "^2.
|
|
30
|
-
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "^2.
|
|
31
|
-
"@aws-cdk/cloud-assembly-schema": "2.
|
|
32
|
-
"@aws-cdk/cloudformation-diff": "2.
|
|
33
|
-
"@aws-cdk/cx-api": "2.
|
|
28
|
+
"@aws-cdk/aws-apigatewayv2-alpha": "^2.95.1-alpha.0",
|
|
29
|
+
"@aws-cdk/aws-apigatewayv2-authorizers-alpha": "^2.95.1-alpha.0",
|
|
30
|
+
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "^2.95.1-alpha.0",
|
|
31
|
+
"@aws-cdk/cloud-assembly-schema": "2.95.1",
|
|
32
|
+
"@aws-cdk/cloudformation-diff": "2.95.1",
|
|
33
|
+
"@aws-cdk/cx-api": "2.95.1",
|
|
34
34
|
"@aws-crypto/sha256-js": "^5.0.0",
|
|
35
35
|
"@aws-sdk/client-cloudformation": "^3.279.0",
|
|
36
36
|
"@aws-sdk/client-ecs": "^3.279.0",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"@smithy/signature-v4": "^2.0.4",
|
|
56
56
|
"@trpc/server": "9.16.0",
|
|
57
57
|
"adm-zip": "^0.5.10",
|
|
58
|
-
"aws-cdk-lib": "2.
|
|
58
|
+
"aws-cdk-lib": "2.95.1",
|
|
59
59
|
"aws-iot-device-sdk": "^2.2.12",
|
|
60
60
|
"aws-sdk": "^2.1326.0",
|
|
61
61
|
"builtin-modules": "3.2.0",
|
|
62
|
-
"cdk-assets": "2.
|
|
62
|
+
"cdk-assets": "2.95.1",
|
|
63
63
|
"chalk": "^5.2.0",
|
|
64
64
|
"chokidar": "^3.5.3",
|
|
65
65
|
"ci-info": "^3.7.0",
|