cdk-nextjs 0.6.0 → 0.6.2
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/.jsii +117 -45
- package/.jsii.tabl.json +1 -1
- package/API.md +66 -1
- package/assets/lambdas/post-deploy/post-deploy.lambda/index.js +10 -7
- package/docs/breaking-changes.md +23 -3
- package/docs/development-guide.md +6 -4
- package/lib/adapter/adapter.mjs +1 -1
- package/lib/adapter/cache-handler.mjs +1 -1
- package/lib/generated-structs/OptionalNextjsPostDeployProps.d.ts +5 -0
- package/lib/generated-structs/OptionalNextjsPostDeployProps.js +1 -1
- package/lib/generated-structs/OptionalPostDeployCustomResourceProperties.d.ts +7 -0
- package/lib/generated-structs/OptionalPostDeployCustomResourceProperties.js +1 -1
- package/lib/image-optimization/handler.mjs +1 -1
- package/lib/lambdas/post-deploy/post-deploy.lambda.js +3 -2
- package/lib/lambdas/post-deploy/prune-s3.d.ts +9 -2
- package/lib/lambdas/post-deploy/prune-s3.js +17 -7
- package/lib/lambdas/post-deploy/prune-s3.test.d.ts +1 -0
- package/lib/lambdas/post-deploy/prune-s3.test.js +176 -0
- package/lib/nextjs-api.d.ts +5 -0
- package/lib/nextjs-api.js +13 -3
- package/lib/nextjs-api.test.js +46 -1
- package/lib/nextjs-build/nextjs-build.js +1 -1
- package/lib/nextjs-cache.js +1 -1
- package/lib/nextjs-compute/nextjs-containers.js +1 -1
- package/lib/nextjs-compute/nextjs-functions.js +1 -1
- package/lib/nextjs-compute/nextjs-image-function.js +1 -1
- package/lib/nextjs-distribution.js +1 -1
- package/lib/nextjs-post-deploy.d.ts +12 -0
- package/lib/nextjs-post-deploy.js +3 -2
- package/lib/nextjs-static-assets.d.ts +6 -0
- package/lib/nextjs-static-assets.js +9 -3
- package/lib/nextjs-static-assets.test.js +20 -1
- package/lib/root-constructs/nextjs-base-construct.d.ts +16 -0
- package/lib/root-constructs/nextjs-base-construct.js +21 -3
- package/lib/root-constructs/nextjs-global-containers.js +3 -2
- package/lib/root-constructs/nextjs-global-functions.js +3 -2
- package/lib/root-constructs/nextjs-regional-containers.d.ts +7 -0
- package/lib/root-constructs/nextjs-regional-containers.js +12 -3
- package/lib/root-constructs/nextjs-regional-functions.js +3 -2
- package/lib/utils/base-path.d.ts +19 -0
- package/lib/utils/base-path.js +25 -1
- package/lib/utils/base-path.test.js +58 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -9437,7 +9437,7 @@
|
|
|
9437
9437
|
},
|
|
9438
9438
|
"locationInModule": {
|
|
9439
9439
|
"filename": "src/root-constructs/nextjs-base-construct.ts",
|
|
9440
|
-
"line":
|
|
9440
|
+
"line": 272
|
|
9441
9441
|
},
|
|
9442
9442
|
"name": "computeBaseProps",
|
|
9443
9443
|
"protected": true,
|
|
@@ -9454,7 +9454,7 @@
|
|
|
9454
9454
|
},
|
|
9455
9455
|
"locationInModule": {
|
|
9456
9456
|
"filename": "src/root-constructs/nextjs-base-construct.ts",
|
|
9457
|
-
"line":
|
|
9457
|
+
"line": 319
|
|
9458
9458
|
},
|
|
9459
9459
|
"name": "createNextjsFunctions",
|
|
9460
9460
|
"parameters": [
|
|
@@ -9481,7 +9481,7 @@
|
|
|
9481
9481
|
},
|
|
9482
9482
|
"locationInModule": {
|
|
9483
9483
|
"filename": "src/root-constructs/nextjs-base-construct.ts",
|
|
9484
|
-
"line":
|
|
9484
|
+
"line": 342
|
|
9485
9485
|
},
|
|
9486
9486
|
"name": "createNextjsImageFunction",
|
|
9487
9487
|
"parameters": [
|
|
@@ -12521,7 +12521,7 @@
|
|
|
12521
12521
|
},
|
|
12522
12522
|
"locationInModule": {
|
|
12523
12523
|
"filename": "src/nextjs-post-deploy.ts",
|
|
12524
|
-
"line":
|
|
12524
|
+
"line": 126
|
|
12525
12525
|
},
|
|
12526
12526
|
"parameters": [
|
|
12527
12527
|
{
|
|
@@ -12547,7 +12547,7 @@
|
|
|
12547
12547
|
"kind": "class",
|
|
12548
12548
|
"locationInModule": {
|
|
12549
12549
|
"filename": "src/nextjs-post-deploy.ts",
|
|
12550
|
-
"line":
|
|
12550
|
+
"line": 120
|
|
12551
12551
|
},
|
|
12552
12552
|
"name": "NextjsPostDeploy",
|
|
12553
12553
|
"properties": [
|
|
@@ -12557,7 +12557,7 @@
|
|
|
12557
12557
|
},
|
|
12558
12558
|
"locationInModule": {
|
|
12559
12559
|
"filename": "src/nextjs-post-deploy.ts",
|
|
12560
|
-
"line":
|
|
12560
|
+
"line": 121
|
|
12561
12561
|
},
|
|
12562
12562
|
"name": "customResource",
|
|
12563
12563
|
"type": {
|
|
@@ -12570,7 +12570,7 @@
|
|
|
12570
12570
|
},
|
|
12571
12571
|
"locationInModule": {
|
|
12572
12572
|
"filename": "src/nextjs-post-deploy.ts",
|
|
12573
|
-
"line":
|
|
12573
|
+
"line": 122
|
|
12574
12574
|
},
|
|
12575
12575
|
"name": "lambdaFunction",
|
|
12576
12576
|
"type": {
|
|
@@ -12778,6 +12778,23 @@
|
|
|
12778
12778
|
"type": {
|
|
12779
12779
|
"fqn": "aws-cdk-lib.aws_s3.IBucket"
|
|
12780
12780
|
}
|
|
12781
|
+
},
|
|
12782
|
+
{
|
|
12783
|
+
"abstract": true,
|
|
12784
|
+
"docs": {
|
|
12785
|
+
"stability": "stable",
|
|
12786
|
+
"summary": "S3 key prefix the static assets were uploaded under (`NextjsStaticAssets.keyPrefix`). Scopes pruning to this app's objects, so that apps or branches sharing one bucket under different `basePath`s don't prune each other's assets."
|
|
12787
|
+
},
|
|
12788
|
+
"immutable": true,
|
|
12789
|
+
"locationInModule": {
|
|
12790
|
+
"filename": "src/nextjs-post-deploy.ts",
|
|
12791
|
+
"line": 63
|
|
12792
|
+
},
|
|
12793
|
+
"name": "staticAssetsKeyPrefix",
|
|
12794
|
+
"optional": true,
|
|
12795
|
+
"type": {
|
|
12796
|
+
"primitive": "string"
|
|
12797
|
+
}
|
|
12781
12798
|
}
|
|
12782
12799
|
],
|
|
12783
12800
|
"symbolId": "src/nextjs-post-deploy:NextjsPostDeployProps"
|
|
@@ -12796,7 +12813,7 @@
|
|
|
12796
12813
|
},
|
|
12797
12814
|
"locationInModule": {
|
|
12798
12815
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12799
|
-
"line":
|
|
12816
|
+
"line": 83
|
|
12800
12817
|
},
|
|
12801
12818
|
"parameters": [
|
|
12802
12819
|
{
|
|
@@ -12822,18 +12839,20 @@
|
|
|
12822
12839
|
"kind": "class",
|
|
12823
12840
|
"locationInModule": {
|
|
12824
12841
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12825
|
-
"line":
|
|
12842
|
+
"line": 64
|
|
12826
12843
|
},
|
|
12827
12844
|
"name": "NextjsRegionalContainers",
|
|
12828
12845
|
"properties": [
|
|
12829
12846
|
{
|
|
12830
12847
|
"docs": {
|
|
12831
|
-
"
|
|
12848
|
+
"remarks": "`resolvedBasePath` is deliberately not\nused here: for this `NextjsType` it only namespaces the S3 bucket and has no\nrouting meaning, whereas the app's own `basePath` is what the container\nserves from.",
|
|
12849
|
+
"stability": "stable",
|
|
12850
|
+
"summary": "The ALB forwards every path to the container unchanged, so the app only answers under its own `basePath`."
|
|
12832
12851
|
},
|
|
12833
12852
|
"immutable": true,
|
|
12834
12853
|
"locationInModule": {
|
|
12835
12854
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12836
|
-
"line":
|
|
12855
|
+
"line": 74
|
|
12837
12856
|
},
|
|
12838
12857
|
"name": "url",
|
|
12839
12858
|
"overrides": "cdk-nextjs.NextjsBaseConstruct",
|
|
@@ -12847,7 +12866,7 @@
|
|
|
12847
12866
|
},
|
|
12848
12867
|
"locationInModule": {
|
|
12849
12868
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12850
|
-
"line":
|
|
12869
|
+
"line": 65
|
|
12851
12870
|
},
|
|
12852
12871
|
"name": "nextjsContainers",
|
|
12853
12872
|
"type": {
|
|
@@ -12860,7 +12879,7 @@
|
|
|
12860
12879
|
},
|
|
12861
12880
|
"locationInModule": {
|
|
12862
12881
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12863
|
-
"line":
|
|
12882
|
+
"line": 66
|
|
12864
12883
|
},
|
|
12865
12884
|
"name": "nextjsPostDeploy",
|
|
12866
12885
|
"type": {
|
|
@@ -12883,7 +12902,7 @@
|
|
|
12883
12902
|
"kind": "interface",
|
|
12884
12903
|
"locationInModule": {
|
|
12885
12904
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12886
|
-
"line":
|
|
12905
|
+
"line": 23
|
|
12887
12906
|
},
|
|
12888
12907
|
"name": "NextjsRegionalContainersConstructOverrides",
|
|
12889
12908
|
"properties": [
|
|
@@ -12895,7 +12914,7 @@
|
|
|
12895
12914
|
"immutable": true,
|
|
12896
12915
|
"locationInModule": {
|
|
12897
12916
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12898
|
-
"line":
|
|
12917
|
+
"line": 24
|
|
12899
12918
|
},
|
|
12900
12919
|
"name": "nextjsContainerProps",
|
|
12901
12920
|
"optional": true,
|
|
@@ -12911,7 +12930,7 @@
|
|
|
12911
12930
|
"immutable": true,
|
|
12912
12931
|
"locationInModule": {
|
|
12913
12932
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12914
|
-
"line":
|
|
12933
|
+
"line": 25
|
|
12915
12934
|
},
|
|
12916
12935
|
"name": "nextjsPostDeployProps",
|
|
12917
12936
|
"optional": true,
|
|
@@ -12937,7 +12956,7 @@
|
|
|
12937
12956
|
"kind": "interface",
|
|
12938
12957
|
"locationInModule": {
|
|
12939
12958
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12940
|
-
"line":
|
|
12959
|
+
"line": 33
|
|
12941
12960
|
},
|
|
12942
12961
|
"name": "NextjsRegionalContainersOverrides",
|
|
12943
12962
|
"properties": [
|
|
@@ -12949,7 +12968,7 @@
|
|
|
12949
12968
|
"immutable": true,
|
|
12950
12969
|
"locationInModule": {
|
|
12951
12970
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12952
|
-
"line":
|
|
12971
|
+
"line": 35
|
|
12953
12972
|
},
|
|
12954
12973
|
"name": "nextjsContainers",
|
|
12955
12974
|
"optional": true,
|
|
@@ -12965,7 +12984,7 @@
|
|
|
12965
12984
|
"immutable": true,
|
|
12966
12985
|
"locationInModule": {
|
|
12967
12986
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12968
|
-
"line":
|
|
12987
|
+
"line": 36
|
|
12969
12988
|
},
|
|
12970
12989
|
"name": "nextjsPostDeploy",
|
|
12971
12990
|
"optional": true,
|
|
@@ -12981,7 +13000,7 @@
|
|
|
12981
13000
|
"immutable": true,
|
|
12982
13001
|
"locationInModule": {
|
|
12983
13002
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
12984
|
-
"line":
|
|
13003
|
+
"line": 34
|
|
12985
13004
|
},
|
|
12986
13005
|
"name": "nextjsRegionalContainers",
|
|
12987
13006
|
"optional": true,
|
|
@@ -13005,7 +13024,7 @@
|
|
|
13005
13024
|
"kind": "interface",
|
|
13006
13025
|
"locationInModule": {
|
|
13007
13026
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
13008
|
-
"line":
|
|
13027
|
+
"line": 39
|
|
13009
13028
|
},
|
|
13010
13029
|
"name": "NextjsRegionalContainersProps",
|
|
13011
13030
|
"properties": [
|
|
@@ -13019,7 +13038,7 @@
|
|
|
13019
13038
|
"immutable": true,
|
|
13020
13039
|
"locationInModule": {
|
|
13021
13040
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
13022
|
-
"line":
|
|
13041
|
+
"line": 46
|
|
13023
13042
|
},
|
|
13024
13043
|
"name": "alb",
|
|
13025
13044
|
"optional": true,
|
|
@@ -13037,7 +13056,7 @@
|
|
|
13037
13056
|
"immutable": true,
|
|
13038
13057
|
"locationInModule": {
|
|
13039
13058
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
13040
|
-
"line":
|
|
13059
|
+
"line": 51
|
|
13041
13060
|
},
|
|
13042
13061
|
"name": "ecsCluster",
|
|
13043
13062
|
"optional": true,
|
|
@@ -13054,7 +13073,7 @@
|
|
|
13054
13073
|
"immutable": true,
|
|
13055
13074
|
"locationInModule": {
|
|
13056
13075
|
"filename": "src/root-constructs/nextjs-regional-containers.ts",
|
|
13057
|
-
"line":
|
|
13076
|
+
"line": 55
|
|
13058
13077
|
},
|
|
13059
13078
|
"name": "overrides",
|
|
13060
13079
|
"optional": true,
|
|
@@ -19017,7 +19036,7 @@
|
|
|
19017
19036
|
"immutable": true,
|
|
19018
19037
|
"locationInModule": {
|
|
19019
19038
|
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19020
|
-
"line":
|
|
19039
|
+
"line": 42
|
|
19021
19040
|
},
|
|
19022
19041
|
"name": "buildId",
|
|
19023
19042
|
"optional": true,
|
|
@@ -19034,7 +19053,7 @@
|
|
|
19034
19053
|
"immutable": true,
|
|
19035
19054
|
"locationInModule": {
|
|
19036
19055
|
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19037
|
-
"line":
|
|
19056
|
+
"line": 38
|
|
19038
19057
|
},
|
|
19039
19058
|
"name": "cacheBucket",
|
|
19040
19059
|
"optional": true,
|
|
@@ -19052,7 +19071,7 @@
|
|
|
19052
19071
|
"immutable": true,
|
|
19053
19072
|
"locationInModule": {
|
|
19054
19073
|
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19055
|
-
"line":
|
|
19074
|
+
"line": 33
|
|
19056
19075
|
},
|
|
19057
19076
|
"name": "debug",
|
|
19058
19077
|
"optional": true,
|
|
@@ -19069,7 +19088,7 @@
|
|
|
19069
19088
|
"immutable": true,
|
|
19070
19089
|
"locationInModule": {
|
|
19071
19090
|
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19072
|
-
"line":
|
|
19091
|
+
"line": 27
|
|
19073
19092
|
},
|
|
19074
19093
|
"name": "distribution",
|
|
19075
19094
|
"optional": true,
|
|
@@ -19086,7 +19105,7 @@
|
|
|
19086
19105
|
"immutable": true,
|
|
19087
19106
|
"locationInModule": {
|
|
19088
19107
|
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19089
|
-
"line":
|
|
19108
|
+
"line": 22
|
|
19090
19109
|
},
|
|
19091
19110
|
"name": "revalidationTable",
|
|
19092
19111
|
"optional": true,
|
|
@@ -19103,13 +19122,30 @@
|
|
|
19103
19122
|
"immutable": true,
|
|
19104
19123
|
"locationInModule": {
|
|
19105
19124
|
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19106
|
-
"line":
|
|
19125
|
+
"line": 17
|
|
19107
19126
|
},
|
|
19108
19127
|
"name": "staticAssetsBucket",
|
|
19109
19128
|
"optional": true,
|
|
19110
19129
|
"type": {
|
|
19111
19130
|
"fqn": "aws-cdk-lib.aws_s3.IBucket"
|
|
19112
19131
|
}
|
|
19132
|
+
},
|
|
19133
|
+
{
|
|
19134
|
+
"abstract": true,
|
|
19135
|
+
"docs": {
|
|
19136
|
+
"stability": "stable",
|
|
19137
|
+
"summary": "S3 key prefix the static assets were uploaded under (`NextjsStaticAssets.keyPrefix`). Scopes pruning to this app's objects, so that apps or branches sharing one bucket under different `basePath`s don't prune each other's assets."
|
|
19138
|
+
},
|
|
19139
|
+
"immutable": true,
|
|
19140
|
+
"locationInModule": {
|
|
19141
|
+
"filename": "src/generated-structs/OptionalNextjsPostDeployProps.ts",
|
|
19142
|
+
"line": 12
|
|
19143
|
+
},
|
|
19144
|
+
"name": "staticAssetsKeyPrefix",
|
|
19145
|
+
"optional": true,
|
|
19146
|
+
"type": {
|
|
19147
|
+
"primitive": "string"
|
|
19148
|
+
}
|
|
19113
19149
|
}
|
|
19114
19150
|
],
|
|
19115
19151
|
"symbolId": "src/generated-structs/OptionalNextjsPostDeployProps:OptionalNextjsPostDeployProps"
|
|
@@ -19139,7 +19175,7 @@
|
|
|
19139
19175
|
"immutable": true,
|
|
19140
19176
|
"locationInModule": {
|
|
19141
19177
|
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19142
|
-
"line":
|
|
19178
|
+
"line": 56
|
|
19143
19179
|
},
|
|
19144
19180
|
"name": "buildId",
|
|
19145
19181
|
"optional": true,
|
|
@@ -19156,7 +19192,7 @@
|
|
|
19156
19192
|
"immutable": true,
|
|
19157
19193
|
"locationInModule": {
|
|
19158
19194
|
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19159
|
-
"line":
|
|
19195
|
+
"line": 41
|
|
19160
19196
|
},
|
|
19161
19197
|
"name": "cacheBucketName",
|
|
19162
19198
|
"optional": true,
|
|
@@ -19173,7 +19209,7 @@
|
|
|
19173
19209
|
"immutable": true,
|
|
19174
19210
|
"locationInModule": {
|
|
19175
19211
|
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19176
|
-
"line":
|
|
19212
|
+
"line": 36
|
|
19177
19213
|
},
|
|
19178
19214
|
"name": "createInvalidationCommandInput",
|
|
19179
19215
|
"optional": true,
|
|
@@ -19197,7 +19233,7 @@
|
|
|
19197
19233
|
"immutable": true,
|
|
19198
19234
|
"locationInModule": {
|
|
19199
19235
|
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19200
|
-
"line":
|
|
19236
|
+
"line": 48
|
|
19201
19237
|
},
|
|
19202
19238
|
"name": "msTtl",
|
|
19203
19239
|
"optional": true,
|
|
@@ -19214,7 +19250,7 @@
|
|
|
19214
19250
|
"immutable": true,
|
|
19215
19251
|
"locationInModule": {
|
|
19216
19252
|
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19217
|
-
"line":
|
|
19253
|
+
"line": 22
|
|
19218
19254
|
},
|
|
19219
19255
|
"name": "revalidationTableName",
|
|
19220
19256
|
"optional": true,
|
|
@@ -19230,13 +19266,31 @@
|
|
|
19230
19266
|
"immutable": true,
|
|
19231
19267
|
"locationInModule": {
|
|
19232
19268
|
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19233
|
-
"line":
|
|
19269
|
+
"line": 17
|
|
19234
19270
|
},
|
|
19235
19271
|
"name": "staticAssetsBucketName",
|
|
19236
19272
|
"optional": true,
|
|
19237
19273
|
"type": {
|
|
19238
19274
|
"primitive": "string"
|
|
19239
19275
|
}
|
|
19276
|
+
},
|
|
19277
|
+
{
|
|
19278
|
+
"abstract": true,
|
|
19279
|
+
"docs": {
|
|
19280
|
+
"remarks": "Empty or absent prunes the\nwhole bucket.",
|
|
19281
|
+
"stability": "stable",
|
|
19282
|
+
"summary": "S3 key prefix to scope static asset pruning to."
|
|
19283
|
+
},
|
|
19284
|
+
"immutable": true,
|
|
19285
|
+
"locationInModule": {
|
|
19286
|
+
"filename": "src/generated-structs/OptionalPostDeployCustomResourceProperties.ts",
|
|
19287
|
+
"line": 13
|
|
19288
|
+
},
|
|
19289
|
+
"name": "staticAssetsKeyPrefix",
|
|
19290
|
+
"optional": true,
|
|
19291
|
+
"type": {
|
|
19292
|
+
"primitive": "string"
|
|
19293
|
+
}
|
|
19240
19294
|
}
|
|
19241
19295
|
],
|
|
19242
19296
|
"symbolId": "src/generated-structs/OptionalPostDeployCustomResourceProperties:OptionalPostDeployCustomResourceProperties"
|
|
@@ -19959,7 +20013,7 @@
|
|
|
19959
20013
|
"kind": "interface",
|
|
19960
20014
|
"locationInModule": {
|
|
19961
20015
|
"filename": "src/nextjs-post-deploy.ts",
|
|
19962
|
-
"line":
|
|
20016
|
+
"line": 66
|
|
19963
20017
|
},
|
|
19964
20018
|
"name": "PostDeployCustomResourceProperties",
|
|
19965
20019
|
"properties": [
|
|
@@ -19973,7 +20027,7 @@
|
|
|
19973
20027
|
"immutable": true,
|
|
19974
20028
|
"locationInModule": {
|
|
19975
20029
|
"filename": "src/nextjs-post-deploy.ts",
|
|
19976
|
-
"line":
|
|
20030
|
+
"line": 72
|
|
19977
20031
|
},
|
|
19978
20032
|
"name": "buildId",
|
|
19979
20033
|
"type": {
|
|
@@ -19991,7 +20045,7 @@
|
|
|
19991
20045
|
"immutable": true,
|
|
19992
20046
|
"locationInModule": {
|
|
19993
20047
|
"filename": "src/nextjs-post-deploy.ts",
|
|
19994
|
-
"line":
|
|
20048
|
+
"line": 102
|
|
19995
20049
|
},
|
|
19996
20050
|
"name": "msTtl",
|
|
19997
20051
|
"type": {
|
|
@@ -20007,7 +20061,7 @@
|
|
|
20007
20061
|
"immutable": true,
|
|
20008
20062
|
"locationInModule": {
|
|
20009
20063
|
"filename": "src/nextjs-post-deploy.ts",
|
|
20010
|
-
"line":
|
|
20064
|
+
"line": 76
|
|
20011
20065
|
},
|
|
20012
20066
|
"name": "cacheBucketName",
|
|
20013
20067
|
"optional": true,
|
|
@@ -20025,7 +20079,7 @@
|
|
|
20025
20079
|
"immutable": true,
|
|
20026
20080
|
"locationInModule": {
|
|
20027
20081
|
"filename": "src/nextjs-post-deploy.ts",
|
|
20028
|
-
"line":
|
|
20082
|
+
"line": 95
|
|
20029
20083
|
},
|
|
20030
20084
|
"name": "createInvalidationCommandInput",
|
|
20031
20085
|
"optional": true,
|
|
@@ -20047,7 +20101,7 @@
|
|
|
20047
20101
|
"immutable": true,
|
|
20048
20102
|
"locationInModule": {
|
|
20049
20103
|
"filename": "src/nextjs-post-deploy.ts",
|
|
20050
|
-
"line":
|
|
20104
|
+
"line": 80
|
|
20051
20105
|
},
|
|
20052
20106
|
"name": "revalidationTableName",
|
|
20053
20107
|
"optional": true,
|
|
@@ -20063,13 +20117,31 @@
|
|
|
20063
20117
|
"immutable": true,
|
|
20064
20118
|
"locationInModule": {
|
|
20065
20119
|
"filename": "src/nextjs-post-deploy.ts",
|
|
20066
|
-
"line":
|
|
20120
|
+
"line": 103
|
|
20067
20121
|
},
|
|
20068
20122
|
"name": "staticAssetsBucketName",
|
|
20069
20123
|
"optional": true,
|
|
20070
20124
|
"type": {
|
|
20071
20125
|
"primitive": "string"
|
|
20072
20126
|
}
|
|
20127
|
+
},
|
|
20128
|
+
{
|
|
20129
|
+
"abstract": true,
|
|
20130
|
+
"docs": {
|
|
20131
|
+
"remarks": "Empty or absent prunes the\nwhole bucket.",
|
|
20132
|
+
"stability": "stable",
|
|
20133
|
+
"summary": "S3 key prefix to scope static asset pruning to."
|
|
20134
|
+
},
|
|
20135
|
+
"immutable": true,
|
|
20136
|
+
"locationInModule": {
|
|
20137
|
+
"filename": "src/nextjs-post-deploy.ts",
|
|
20138
|
+
"line": 108
|
|
20139
|
+
},
|
|
20140
|
+
"name": "staticAssetsKeyPrefix",
|
|
20141
|
+
"optional": true,
|
|
20142
|
+
"type": {
|
|
20143
|
+
"primitive": "string"
|
|
20144
|
+
}
|
|
20073
20145
|
}
|
|
20074
20146
|
],
|
|
20075
20147
|
"symbolId": "src/nextjs-post-deploy:PostDeployCustomResourceProperties"
|
|
@@ -20122,6 +20194,6 @@
|
|
|
20122
20194
|
"symbolId": "src/nextjs-build/nextjs-build:PublicDirEntry"
|
|
20123
20195
|
}
|
|
20124
20196
|
},
|
|
20125
|
-
"version": "0.6.
|
|
20126
|
-
"fingerprint": "
|
|
20197
|
+
"version": "0.6.2",
|
|
20198
|
+
"fingerprint": "r2mHR77dV81bijoc2Oaj31SYbZloKVzlY4WbdZxaRoU="
|
|
20127
20199
|
}
|