@aws-solutions-constructs/aws-cloudfront-apigateway-lambda 2.80.0 → 2.81.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/.jsii +44 -5
- package/lib/index.js +1 -1
- package/package.json +8 -8
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/cdk.out +1 -1
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/cftaplam-customCloudfrontLoggingBucket.assets.json +3 -3
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/cftaplam-customCloudfrontLoggingBucket.template.json +24 -35
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/cftaplamcustomCloudfrontLoggingBucketIntegDefaultTestDeployAssert35A683E0.assets.json +1 -1
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/integ.json +1 -1
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/manifest.json +47 -43
- package/test/integ.cftaplam-customCloudfrontLoggingBucket.js.snapshot/tree.json +1 -2002
- package/test/integ.cftaplam-no-arguments.js.snapshot/cdk.out +1 -1
- package/test/integ.cftaplam-no-arguments.js.snapshot/cftaplam-no-arguments.assets.json +3 -3
- package/test/integ.cftaplam-no-arguments.js.snapshot/cftaplam-no-arguments.template.json +24 -35
- package/test/integ.cftaplam-no-arguments.js.snapshot/cftaplamnoargumentsIntegDefaultTestDeployAssertACC32F59.assets.json +1 -1
- package/test/integ.cftaplam-no-arguments.js.snapshot/integ.json +1 -1
- package/test/integ.cftaplam-no-arguments.js.snapshot/manifest.json +47 -43
- package/test/integ.cftaplam-no-arguments.js.snapshot/tree.json +1 -2002
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/cdk.out +1 -1
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/cftaplam-no-usage-plan.assets.json +3 -3
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/cftaplam-no-usage-plan.template.json +24 -35
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/cftaplamnousageplanIntegDefaultTestDeployAssertABA4F4C5.assets.json +1 -1
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/integ.json +1 -1
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/manifest.json +44 -41
- package/test/integ.cftaplam-no-usage-plan.js.snapshot/tree.json +1 -1959
- package/test/integ.cftaplam-override-behavior.js.snapshot/cdk.out +1 -1
- package/test/integ.cftaplam-override-behavior.js.snapshot/cftaplam-override-behavior.assets.json +3 -3
- package/test/integ.cftaplam-override-behavior.js.snapshot/cftaplam-override-behavior.template.json +24 -35
- package/test/integ.cftaplam-override-behavior.js.snapshot/cftaplamoverridebehaviorIntegDefaultTestDeployAssert3DC30427.assets.json +1 -1
- package/test/integ.cftaplam-override-behavior.js.snapshot/integ.json +1 -1
- package/test/integ.cftaplam-override-behavior.js.snapshot/manifest.json +47 -43
- package/test/integ.cftaplam-override-behavior.js.snapshot/tree.json +1 -2117
|
@@ -1,2117 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": "tree-0.1",
|
|
3
|
-
"tree": {
|
|
4
|
-
"id": "App",
|
|
5
|
-
"path": "",
|
|
6
|
-
"children": {
|
|
7
|
-
"cftaplam-override-behavior": {
|
|
8
|
-
"id": "cftaplam-override-behavior",
|
|
9
|
-
"path": "cftaplam-override-behavior",
|
|
10
|
-
"children": {
|
|
11
|
-
"SomeCachePolicy": {
|
|
12
|
-
"id": "SomeCachePolicy",
|
|
13
|
-
"path": "cftaplam-override-behavior/SomeCachePolicy",
|
|
14
|
-
"children": {
|
|
15
|
-
"Resource": {
|
|
16
|
-
"id": "Resource",
|
|
17
|
-
"path": "cftaplam-override-behavior/SomeCachePolicy/Resource",
|
|
18
|
-
"attributes": {
|
|
19
|
-
"aws:cdk:cloudformation:type": "AWS::CloudFront::CachePolicy",
|
|
20
|
-
"aws:cdk:cloudformation:props": {
|
|
21
|
-
"cachePolicyConfig": {
|
|
22
|
-
"name": "SomeCachePolicy",
|
|
23
|
-
"minTtl": 18000,
|
|
24
|
-
"maxTtl": 36000,
|
|
25
|
-
"defaultTtl": 28800,
|
|
26
|
-
"parametersInCacheKeyAndForwardedToOrigin": {
|
|
27
|
-
"cookiesConfig": {
|
|
28
|
-
"cookieBehavior": "none"
|
|
29
|
-
},
|
|
30
|
-
"headersConfig": {
|
|
31
|
-
"headerBehavior": "none"
|
|
32
|
-
},
|
|
33
|
-
"enableAcceptEncodingGzip": false,
|
|
34
|
-
"enableAcceptEncodingBrotli": false,
|
|
35
|
-
"queryStringsConfig": {
|
|
36
|
-
"queryStringBehavior": "none"
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"constructInfo": {
|
|
43
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CfnCachePolicy",
|
|
44
|
-
"version": "2.179.0"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"constructInfo": {
|
|
49
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CachePolicy",
|
|
50
|
-
"version": "2.179.0",
|
|
51
|
-
"metadata": [
|
|
52
|
-
{
|
|
53
|
-
"cachePolicyName": "*",
|
|
54
|
-
"defaultTtl": "*",
|
|
55
|
-
"minTtl": "*",
|
|
56
|
-
"maxTtl": "*"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"NoCachePolicy": {
|
|
62
|
-
"id": "NoCachePolicy",
|
|
63
|
-
"path": "cftaplam-override-behavior/NoCachePolicy",
|
|
64
|
-
"children": {
|
|
65
|
-
"Resource": {
|
|
66
|
-
"id": "Resource",
|
|
67
|
-
"path": "cftaplam-override-behavior/NoCachePolicy/Resource",
|
|
68
|
-
"attributes": {
|
|
69
|
-
"aws:cdk:cloudformation:type": "AWS::CloudFront::CachePolicy",
|
|
70
|
-
"aws:cdk:cloudformation:props": {
|
|
71
|
-
"cachePolicyConfig": {
|
|
72
|
-
"name": "NoCachePolicy",
|
|
73
|
-
"minTtl": 0,
|
|
74
|
-
"maxTtl": 0,
|
|
75
|
-
"defaultTtl": 0,
|
|
76
|
-
"parametersInCacheKeyAndForwardedToOrigin": {
|
|
77
|
-
"cookiesConfig": {
|
|
78
|
-
"cookieBehavior": "none"
|
|
79
|
-
},
|
|
80
|
-
"headersConfig": {
|
|
81
|
-
"headerBehavior": "none"
|
|
82
|
-
},
|
|
83
|
-
"enableAcceptEncodingGzip": false,
|
|
84
|
-
"enableAcceptEncodingBrotli": false,
|
|
85
|
-
"queryStringsConfig": {
|
|
86
|
-
"queryStringBehavior": "none"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"constructInfo": {
|
|
93
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CfnCachePolicy",
|
|
94
|
-
"version": "2.179.0"
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"constructInfo": {
|
|
99
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CachePolicy",
|
|
100
|
-
"version": "2.179.0",
|
|
101
|
-
"metadata": [
|
|
102
|
-
{
|
|
103
|
-
"cachePolicyName": "*",
|
|
104
|
-
"defaultTtl": "*",
|
|
105
|
-
"minTtl": "*",
|
|
106
|
-
"maxTtl": "*"
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"cftaplam-override-behavior-authorizerAuthFunction": {
|
|
112
|
-
"id": "cftaplam-override-behavior-authorizerAuthFunction",
|
|
113
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction",
|
|
114
|
-
"children": {
|
|
115
|
-
"ServiceRole": {
|
|
116
|
-
"id": "ServiceRole",
|
|
117
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/ServiceRole",
|
|
118
|
-
"children": {
|
|
119
|
-
"ImportServiceRole": {
|
|
120
|
-
"id": "ImportServiceRole",
|
|
121
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/ServiceRole/ImportServiceRole",
|
|
122
|
-
"constructInfo": {
|
|
123
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
124
|
-
"version": "2.179.0",
|
|
125
|
-
"metadata": [
|
|
126
|
-
"*"
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
"Resource": {
|
|
131
|
-
"id": "Resource",
|
|
132
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/ServiceRole/Resource",
|
|
133
|
-
"attributes": {
|
|
134
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Role",
|
|
135
|
-
"aws:cdk:cloudformation:props": {
|
|
136
|
-
"assumeRolePolicyDocument": {
|
|
137
|
-
"Statement": [
|
|
138
|
-
{
|
|
139
|
-
"Action": "sts:AssumeRole",
|
|
140
|
-
"Effect": "Allow",
|
|
141
|
-
"Principal": {
|
|
142
|
-
"Service": "lambda.amazonaws.com"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
],
|
|
146
|
-
"Version": "2012-10-17"
|
|
147
|
-
},
|
|
148
|
-
"managedPolicyArns": [
|
|
149
|
-
{
|
|
150
|
-
"Fn::Join": [
|
|
151
|
-
"",
|
|
152
|
-
[
|
|
153
|
-
"arn:",
|
|
154
|
-
{
|
|
155
|
-
"Ref": "AWS::Partition"
|
|
156
|
-
},
|
|
157
|
-
":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"
|
|
158
|
-
]
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
]
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
"constructInfo": {
|
|
165
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
166
|
-
"version": "2.179.0"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
},
|
|
170
|
-
"constructInfo": {
|
|
171
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
172
|
-
"version": "2.179.0",
|
|
173
|
-
"metadata": [
|
|
174
|
-
{
|
|
175
|
-
"assumedBy": {
|
|
176
|
-
"principalAccount": "*",
|
|
177
|
-
"assumeRoleAction": "*"
|
|
178
|
-
},
|
|
179
|
-
"managedPolicies": [
|
|
180
|
-
{
|
|
181
|
-
"managedPolicyArn": "*"
|
|
182
|
-
}
|
|
183
|
-
]
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"Code": {
|
|
189
|
-
"id": "Code",
|
|
190
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Code",
|
|
191
|
-
"children": {
|
|
192
|
-
"Stage": {
|
|
193
|
-
"id": "Stage",
|
|
194
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Code/Stage",
|
|
195
|
-
"constructInfo": {
|
|
196
|
-
"fqn": "aws-cdk-lib.AssetStaging",
|
|
197
|
-
"version": "2.179.0"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
"AssetBucket": {
|
|
201
|
-
"id": "AssetBucket",
|
|
202
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Code/AssetBucket",
|
|
203
|
-
"constructInfo": {
|
|
204
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
205
|
-
"version": "2.179.0",
|
|
206
|
-
"metadata": []
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"constructInfo": {
|
|
211
|
-
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
212
|
-
"version": "2.179.0"
|
|
213
|
-
}
|
|
214
|
-
},
|
|
215
|
-
"Resource": {
|
|
216
|
-
"id": "Resource",
|
|
217
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Resource",
|
|
218
|
-
"attributes": {
|
|
219
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Function",
|
|
220
|
-
"aws:cdk:cloudformation:props": {
|
|
221
|
-
"code": {
|
|
222
|
-
"s3Bucket": {
|
|
223
|
-
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
224
|
-
},
|
|
225
|
-
"s3Key": "3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f.zip"
|
|
226
|
-
},
|
|
227
|
-
"handler": ".handler",
|
|
228
|
-
"role": {
|
|
229
|
-
"Fn::GetAtt": [
|
|
230
|
-
"cftaplamoverridebehaviorauthorizerAuthFunctionServiceRoleA606974F",
|
|
231
|
-
"Arn"
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
|
-
"runtime": "nodejs20.x"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
"constructInfo": {
|
|
238
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
239
|
-
"version": "2.179.0"
|
|
240
|
-
}
|
|
241
|
-
},
|
|
242
|
-
"cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C:Permissions": {
|
|
243
|
-
"id": "cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C:Permissions",
|
|
244
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C:Permissions",
|
|
245
|
-
"attributes": {
|
|
246
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
|
|
247
|
-
"aws:cdk:cloudformation:props": {
|
|
248
|
-
"action": "lambda:InvokeFunction",
|
|
249
|
-
"functionName": {
|
|
250
|
-
"Fn::GetAtt": [
|
|
251
|
-
"cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6",
|
|
252
|
-
"Arn"
|
|
253
|
-
]
|
|
254
|
-
},
|
|
255
|
-
"principal": "apigateway.amazonaws.com",
|
|
256
|
-
"sourceArn": {
|
|
257
|
-
"Fn::Join": [
|
|
258
|
-
"",
|
|
259
|
-
[
|
|
260
|
-
"arn:",
|
|
261
|
-
{
|
|
262
|
-
"Ref": "AWS::Partition"
|
|
263
|
-
},
|
|
264
|
-
":execute-api:",
|
|
265
|
-
{
|
|
266
|
-
"Ref": "AWS::Region"
|
|
267
|
-
},
|
|
268
|
-
":",
|
|
269
|
-
{
|
|
270
|
-
"Ref": "AWS::AccountId"
|
|
271
|
-
},
|
|
272
|
-
":",
|
|
273
|
-
{
|
|
274
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
275
|
-
},
|
|
276
|
-
"/authorizers/",
|
|
277
|
-
{
|
|
278
|
-
"Ref": "cftaplamoverridebehaviorauthorizer74D77225"
|
|
279
|
-
}
|
|
280
|
-
]
|
|
281
|
-
]
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
"constructInfo": {
|
|
286
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
|
|
287
|
-
"version": "2.179.0"
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"constructInfo": {
|
|
292
|
-
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
293
|
-
"version": "2.179.0",
|
|
294
|
-
"metadata": [
|
|
295
|
-
{
|
|
296
|
-
"code": "*",
|
|
297
|
-
"runtime": "*",
|
|
298
|
-
"handler": "*"
|
|
299
|
-
}
|
|
300
|
-
]
|
|
301
|
-
}
|
|
302
|
-
},
|
|
303
|
-
"cftaplam-override-behavior-authorizer": {
|
|
304
|
-
"id": "cftaplam-override-behavior-authorizer",
|
|
305
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizer",
|
|
306
|
-
"children": {
|
|
307
|
-
"Resource": {
|
|
308
|
-
"id": "Resource",
|
|
309
|
-
"path": "cftaplam-override-behavior/cftaplam-override-behavior-authorizer/Resource",
|
|
310
|
-
"attributes": {
|
|
311
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Authorizer",
|
|
312
|
-
"aws:cdk:cloudformation:props": {
|
|
313
|
-
"authorizerResultTtlInSeconds": 300,
|
|
314
|
-
"authorizerUri": {
|
|
315
|
-
"Fn::Join": [
|
|
316
|
-
"",
|
|
317
|
-
[
|
|
318
|
-
"arn:",
|
|
319
|
-
{
|
|
320
|
-
"Fn::Select": [
|
|
321
|
-
1,
|
|
322
|
-
{
|
|
323
|
-
"Fn::Split": [
|
|
324
|
-
":",
|
|
325
|
-
{
|
|
326
|
-
"Fn::GetAtt": [
|
|
327
|
-
"cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6",
|
|
328
|
-
"Arn"
|
|
329
|
-
]
|
|
330
|
-
}
|
|
331
|
-
]
|
|
332
|
-
}
|
|
333
|
-
]
|
|
334
|
-
},
|
|
335
|
-
":apigateway:",
|
|
336
|
-
{
|
|
337
|
-
"Fn::Select": [
|
|
338
|
-
3,
|
|
339
|
-
{
|
|
340
|
-
"Fn::Split": [
|
|
341
|
-
":",
|
|
342
|
-
{
|
|
343
|
-
"Fn::GetAtt": [
|
|
344
|
-
"cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6",
|
|
345
|
-
"Arn"
|
|
346
|
-
]
|
|
347
|
-
}
|
|
348
|
-
]
|
|
349
|
-
}
|
|
350
|
-
]
|
|
351
|
-
},
|
|
352
|
-
":lambda:path/2015-03-31/functions/",
|
|
353
|
-
{
|
|
354
|
-
"Fn::GetAtt": [
|
|
355
|
-
"cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6",
|
|
356
|
-
"Arn"
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
"/invocations"
|
|
360
|
-
]
|
|
361
|
-
]
|
|
362
|
-
},
|
|
363
|
-
"identitySource": "method.request.header.Authorization",
|
|
364
|
-
"name": "cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C",
|
|
365
|
-
"restApiId": {
|
|
366
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
367
|
-
},
|
|
368
|
-
"type": "REQUEST"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
"constructInfo": {
|
|
372
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnAuthorizer",
|
|
373
|
-
"version": "2.179.0"
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
"constructInfo": {
|
|
378
|
-
"fqn": "aws-cdk-lib.aws_apigateway.RequestAuthorizer",
|
|
379
|
-
"version": "2.179.0",
|
|
380
|
-
"metadata": [
|
|
381
|
-
"*"
|
|
382
|
-
]
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
"cf-api-lambda-override": {
|
|
386
|
-
"id": "cf-api-lambda-override",
|
|
387
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override",
|
|
388
|
-
"children": {
|
|
389
|
-
"LambdaFunctionServiceRole": {
|
|
390
|
-
"id": "LambdaFunctionServiceRole",
|
|
391
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole",
|
|
392
|
-
"children": {
|
|
393
|
-
"ImportLambdaFunctionServiceRole": {
|
|
394
|
-
"id": "ImportLambdaFunctionServiceRole",
|
|
395
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
|
|
396
|
-
"constructInfo": {
|
|
397
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
398
|
-
"version": "2.179.0",
|
|
399
|
-
"metadata": [
|
|
400
|
-
"*"
|
|
401
|
-
]
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
"Resource": {
|
|
405
|
-
"id": "Resource",
|
|
406
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole/Resource",
|
|
407
|
-
"attributes": {
|
|
408
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Role",
|
|
409
|
-
"aws:cdk:cloudformation:props": {
|
|
410
|
-
"assumeRolePolicyDocument": {
|
|
411
|
-
"Statement": [
|
|
412
|
-
{
|
|
413
|
-
"Action": "sts:AssumeRole",
|
|
414
|
-
"Effect": "Allow",
|
|
415
|
-
"Principal": {
|
|
416
|
-
"Service": "lambda.amazonaws.com"
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
],
|
|
420
|
-
"Version": "2012-10-17"
|
|
421
|
-
},
|
|
422
|
-
"policies": [
|
|
423
|
-
{
|
|
424
|
-
"policyName": "LambdaFunctionServiceRolePolicy",
|
|
425
|
-
"policyDocument": {
|
|
426
|
-
"Statement": [
|
|
427
|
-
{
|
|
428
|
-
"Action": [
|
|
429
|
-
"logs:CreateLogGroup",
|
|
430
|
-
"logs:CreateLogStream",
|
|
431
|
-
"logs:PutLogEvents"
|
|
432
|
-
],
|
|
433
|
-
"Effect": "Allow",
|
|
434
|
-
"Resource": {
|
|
435
|
-
"Fn::Join": [
|
|
436
|
-
"",
|
|
437
|
-
[
|
|
438
|
-
"arn:",
|
|
439
|
-
{
|
|
440
|
-
"Ref": "AWS::Partition"
|
|
441
|
-
},
|
|
442
|
-
":logs:",
|
|
443
|
-
{
|
|
444
|
-
"Ref": "AWS::Region"
|
|
445
|
-
},
|
|
446
|
-
":",
|
|
447
|
-
{
|
|
448
|
-
"Ref": "AWS::AccountId"
|
|
449
|
-
},
|
|
450
|
-
":log-group:/aws/lambda/*"
|
|
451
|
-
]
|
|
452
|
-
]
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
"Version": "2012-10-17"
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
]
|
|
460
|
-
}
|
|
461
|
-
},
|
|
462
|
-
"constructInfo": {
|
|
463
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
464
|
-
"version": "2.179.0"
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
"DefaultPolicy": {
|
|
468
|
-
"id": "DefaultPolicy",
|
|
469
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole/DefaultPolicy",
|
|
470
|
-
"children": {
|
|
471
|
-
"Resource": {
|
|
472
|
-
"id": "Resource",
|
|
473
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole/DefaultPolicy/Resource",
|
|
474
|
-
"attributes": {
|
|
475
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Policy",
|
|
476
|
-
"aws:cdk:cloudformation:props": {
|
|
477
|
-
"policyDocument": {
|
|
478
|
-
"Statement": [
|
|
479
|
-
{
|
|
480
|
-
"Action": [
|
|
481
|
-
"xray:PutTelemetryRecords",
|
|
482
|
-
"xray:PutTraceSegments"
|
|
483
|
-
],
|
|
484
|
-
"Effect": "Allow",
|
|
485
|
-
"Resource": "*"
|
|
486
|
-
}
|
|
487
|
-
],
|
|
488
|
-
"Version": "2012-10-17"
|
|
489
|
-
},
|
|
490
|
-
"policyName": "cfapilambdaoverrideLambdaFunctionServiceRoleDefaultPolicy1A3D9202",
|
|
491
|
-
"roles": [
|
|
492
|
-
{
|
|
493
|
-
"Ref": "cfapilambdaoverrideLambdaFunctionServiceRole4B1A4043"
|
|
494
|
-
}
|
|
495
|
-
]
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
"constructInfo": {
|
|
499
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
|
|
500
|
-
"version": "2.179.0"
|
|
501
|
-
}
|
|
502
|
-
}
|
|
503
|
-
},
|
|
504
|
-
"constructInfo": {
|
|
505
|
-
"fqn": "aws-cdk-lib.aws_iam.Policy",
|
|
506
|
-
"version": "2.179.0",
|
|
507
|
-
"metadata": [
|
|
508
|
-
"*",
|
|
509
|
-
{
|
|
510
|
-
"attachToRole": [
|
|
511
|
-
"*"
|
|
512
|
-
]
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"attachToRole": [
|
|
516
|
-
"*"
|
|
517
|
-
]
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"addStatements": [
|
|
521
|
-
{}
|
|
522
|
-
]
|
|
523
|
-
}
|
|
524
|
-
]
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
},
|
|
528
|
-
"constructInfo": {
|
|
529
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
530
|
-
"version": "2.179.0",
|
|
531
|
-
"metadata": [
|
|
532
|
-
{
|
|
533
|
-
"assumedBy": {
|
|
534
|
-
"principalAccount": "*",
|
|
535
|
-
"assumeRoleAction": "*"
|
|
536
|
-
},
|
|
537
|
-
"inlinePolicies": "*"
|
|
538
|
-
},
|
|
539
|
-
{
|
|
540
|
-
"addToPrincipalPolicy": [
|
|
541
|
-
{}
|
|
542
|
-
]
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"attachInlinePolicy": [
|
|
546
|
-
"*"
|
|
547
|
-
]
|
|
548
|
-
},
|
|
549
|
-
{
|
|
550
|
-
"attachInlinePolicy": [
|
|
551
|
-
"*"
|
|
552
|
-
]
|
|
553
|
-
}
|
|
554
|
-
]
|
|
555
|
-
}
|
|
556
|
-
},
|
|
557
|
-
"LambdaFunction": {
|
|
558
|
-
"id": "LambdaFunction",
|
|
559
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction",
|
|
560
|
-
"children": {
|
|
561
|
-
"Code": {
|
|
562
|
-
"id": "Code",
|
|
563
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Code",
|
|
564
|
-
"children": {
|
|
565
|
-
"Stage": {
|
|
566
|
-
"id": "Stage",
|
|
567
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Code/Stage",
|
|
568
|
-
"constructInfo": {
|
|
569
|
-
"fqn": "aws-cdk-lib.AssetStaging",
|
|
570
|
-
"version": "2.179.0"
|
|
571
|
-
}
|
|
572
|
-
},
|
|
573
|
-
"AssetBucket": {
|
|
574
|
-
"id": "AssetBucket",
|
|
575
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Code/AssetBucket",
|
|
576
|
-
"constructInfo": {
|
|
577
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketBase",
|
|
578
|
-
"version": "2.179.0",
|
|
579
|
-
"metadata": []
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
},
|
|
583
|
-
"constructInfo": {
|
|
584
|
-
"fqn": "aws-cdk-lib.aws_s3_assets.Asset",
|
|
585
|
-
"version": "2.179.0"
|
|
586
|
-
}
|
|
587
|
-
},
|
|
588
|
-
"Resource": {
|
|
589
|
-
"id": "Resource",
|
|
590
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Resource",
|
|
591
|
-
"attributes": {
|
|
592
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Function",
|
|
593
|
-
"aws:cdk:cloudformation:props": {
|
|
594
|
-
"code": {
|
|
595
|
-
"s3Bucket": {
|
|
596
|
-
"Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
|
|
597
|
-
},
|
|
598
|
-
"s3Key": "3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f.zip"
|
|
599
|
-
},
|
|
600
|
-
"environment": {
|
|
601
|
-
"variables": {
|
|
602
|
-
"AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
"handler": "index.handler",
|
|
606
|
-
"role": {
|
|
607
|
-
"Fn::GetAtt": [
|
|
608
|
-
"cfapilambdaoverrideLambdaFunctionServiceRole4B1A4043",
|
|
609
|
-
"Arn"
|
|
610
|
-
]
|
|
611
|
-
},
|
|
612
|
-
"runtime": "nodejs20.x",
|
|
613
|
-
"tracingConfig": {
|
|
614
|
-
"mode": "Active"
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
},
|
|
618
|
-
"constructInfo": {
|
|
619
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
|
|
620
|
-
"version": "2.179.0"
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
"constructInfo": {
|
|
625
|
-
"fqn": "aws-cdk-lib.aws_lambda.Function",
|
|
626
|
-
"version": "2.179.0",
|
|
627
|
-
"metadata": [
|
|
628
|
-
{
|
|
629
|
-
"role": "*",
|
|
630
|
-
"tracing": "Active",
|
|
631
|
-
"code": "*",
|
|
632
|
-
"runtime": "*",
|
|
633
|
-
"handler": "*"
|
|
634
|
-
},
|
|
635
|
-
{
|
|
636
|
-
"addEnvironment": [
|
|
637
|
-
"*",
|
|
638
|
-
"*",
|
|
639
|
-
{
|
|
640
|
-
"removeInEdge": true
|
|
641
|
-
}
|
|
642
|
-
]
|
|
643
|
-
}
|
|
644
|
-
]
|
|
645
|
-
}
|
|
646
|
-
},
|
|
647
|
-
"ApiAccessLogGroup": {
|
|
648
|
-
"id": "ApiAccessLogGroup",
|
|
649
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/ApiAccessLogGroup",
|
|
650
|
-
"children": {
|
|
651
|
-
"Resource": {
|
|
652
|
-
"id": "Resource",
|
|
653
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/ApiAccessLogGroup/Resource",
|
|
654
|
-
"attributes": {
|
|
655
|
-
"aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
|
|
656
|
-
"aws:cdk:cloudformation:props": {}
|
|
657
|
-
},
|
|
658
|
-
"constructInfo": {
|
|
659
|
-
"fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
|
|
660
|
-
"version": "2.179.0"
|
|
661
|
-
}
|
|
662
|
-
}
|
|
663
|
-
},
|
|
664
|
-
"constructInfo": {
|
|
665
|
-
"fqn": "aws-cdk-lib.aws_logs.LogGroup",
|
|
666
|
-
"version": "2.179.0",
|
|
667
|
-
"metadata": [
|
|
668
|
-
{
|
|
669
|
-
"retention": 9999
|
|
670
|
-
}
|
|
671
|
-
]
|
|
672
|
-
}
|
|
673
|
-
},
|
|
674
|
-
"LambdaRestApi": {
|
|
675
|
-
"id": "LambdaRestApi",
|
|
676
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi",
|
|
677
|
-
"children": {
|
|
678
|
-
"Resource": {
|
|
679
|
-
"id": "Resource",
|
|
680
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Resource",
|
|
681
|
-
"attributes": {
|
|
682
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::RestApi",
|
|
683
|
-
"aws:cdk:cloudformation:props": {
|
|
684
|
-
"endpointConfiguration": {
|
|
685
|
-
"types": [
|
|
686
|
-
"REGIONAL"
|
|
687
|
-
]
|
|
688
|
-
},
|
|
689
|
-
"name": "LambdaRestApi"
|
|
690
|
-
}
|
|
691
|
-
},
|
|
692
|
-
"constructInfo": {
|
|
693
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnRestApi",
|
|
694
|
-
"version": "2.179.0"
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
"Deployment": {
|
|
698
|
-
"id": "Deployment",
|
|
699
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Deployment",
|
|
700
|
-
"children": {
|
|
701
|
-
"Resource": {
|
|
702
|
-
"id": "Resource",
|
|
703
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Deployment/Resource",
|
|
704
|
-
"attributes": {
|
|
705
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Deployment",
|
|
706
|
-
"aws:cdk:cloudformation:props": {
|
|
707
|
-
"description": "Automatically created by the RestApi construct",
|
|
708
|
-
"restApiId": {
|
|
709
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
},
|
|
713
|
-
"constructInfo": {
|
|
714
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnDeployment",
|
|
715
|
-
"version": "2.179.0"
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
"constructInfo": {
|
|
720
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Deployment",
|
|
721
|
-
"version": "2.179.0",
|
|
722
|
-
"metadata": [
|
|
723
|
-
{
|
|
724
|
-
"description": "*",
|
|
725
|
-
"api": "*",
|
|
726
|
-
"retainDeployments": "*"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
"addToLogicalId": [
|
|
730
|
-
{}
|
|
731
|
-
]
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"addToLogicalId": [
|
|
735
|
-
{}
|
|
736
|
-
]
|
|
737
|
-
},
|
|
738
|
-
{
|
|
739
|
-
"addToLogicalId": [
|
|
740
|
-
{}
|
|
741
|
-
]
|
|
742
|
-
},
|
|
743
|
-
{
|
|
744
|
-
"addToLogicalId": [
|
|
745
|
-
{}
|
|
746
|
-
]
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
"addToLogicalId": [
|
|
750
|
-
{}
|
|
751
|
-
]
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
"addToLogicalId": [
|
|
755
|
-
{}
|
|
756
|
-
]
|
|
757
|
-
}
|
|
758
|
-
]
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
"DeploymentStage.prod": {
|
|
762
|
-
"id": "DeploymentStage.prod",
|
|
763
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/DeploymentStage.prod",
|
|
764
|
-
"children": {
|
|
765
|
-
"Resource": {
|
|
766
|
-
"id": "Resource",
|
|
767
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/DeploymentStage.prod/Resource",
|
|
768
|
-
"attributes": {
|
|
769
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Stage",
|
|
770
|
-
"aws:cdk:cloudformation:props": {
|
|
771
|
-
"accessLogSetting": {
|
|
772
|
-
"destinationArn": {
|
|
773
|
-
"Fn::GetAtt": [
|
|
774
|
-
"cfapilambdaoverrideApiAccessLogGroup2665068D",
|
|
775
|
-
"Arn"
|
|
776
|
-
]
|
|
777
|
-
},
|
|
778
|
-
"format": "{\"requestId\":\"$context.requestId\",\"ip\":\"$context.identity.sourceIp\",\"user\":\"$context.identity.user\",\"caller\":\"$context.identity.caller\",\"requestTime\":\"$context.requestTime\",\"httpMethod\":\"$context.httpMethod\",\"resourcePath\":\"$context.resourcePath\",\"status\":\"$context.status\",\"protocol\":\"$context.protocol\",\"responseLength\":\"$context.responseLength\"}"
|
|
779
|
-
},
|
|
780
|
-
"deploymentId": {
|
|
781
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeployment82ACBB00eff3607850f915efb43bbead11999a10"
|
|
782
|
-
},
|
|
783
|
-
"methodSettings": [
|
|
784
|
-
{
|
|
785
|
-
"httpMethod": "*",
|
|
786
|
-
"resourcePath": "/*",
|
|
787
|
-
"dataTraceEnabled": false,
|
|
788
|
-
"loggingLevel": "INFO"
|
|
789
|
-
}
|
|
790
|
-
],
|
|
791
|
-
"restApiId": {
|
|
792
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
793
|
-
},
|
|
794
|
-
"stageName": "prod",
|
|
795
|
-
"tracingEnabled": true
|
|
796
|
-
}
|
|
797
|
-
},
|
|
798
|
-
"constructInfo": {
|
|
799
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnStage",
|
|
800
|
-
"version": "2.179.0"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
"constructInfo": {
|
|
805
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Stage",
|
|
806
|
-
"version": "2.179.0",
|
|
807
|
-
"metadata": [
|
|
808
|
-
{
|
|
809
|
-
"deployment": "*",
|
|
810
|
-
"accessLogDestination": "*",
|
|
811
|
-
"accessLogFormat": "*",
|
|
812
|
-
"loggingLevel": "INFO",
|
|
813
|
-
"dataTraceEnabled": false,
|
|
814
|
-
"tracingEnabled": true
|
|
815
|
-
}
|
|
816
|
-
]
|
|
817
|
-
}
|
|
818
|
-
},
|
|
819
|
-
"Endpoint": {
|
|
820
|
-
"id": "Endpoint",
|
|
821
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Endpoint",
|
|
822
|
-
"constructInfo": {
|
|
823
|
-
"fqn": "aws-cdk-lib.CfnOutput",
|
|
824
|
-
"version": "2.179.0"
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
|
-
"Default": {
|
|
828
|
-
"id": "Default",
|
|
829
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default",
|
|
830
|
-
"children": {
|
|
831
|
-
"static": {
|
|
832
|
-
"id": "static",
|
|
833
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static",
|
|
834
|
-
"children": {
|
|
835
|
-
"Resource": {
|
|
836
|
-
"id": "Resource",
|
|
837
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static/Resource",
|
|
838
|
-
"attributes": {
|
|
839
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Resource",
|
|
840
|
-
"aws:cdk:cloudformation:props": {
|
|
841
|
-
"parentId": {
|
|
842
|
-
"Fn::GetAtt": [
|
|
843
|
-
"cfapilambdaoverrideLambdaRestApi6E7952FC",
|
|
844
|
-
"RootResourceId"
|
|
845
|
-
]
|
|
846
|
-
},
|
|
847
|
-
"pathPart": "static",
|
|
848
|
-
"restApiId": {
|
|
849
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
850
|
-
}
|
|
851
|
-
}
|
|
852
|
-
},
|
|
853
|
-
"constructInfo": {
|
|
854
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnResource",
|
|
855
|
-
"version": "2.179.0"
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
"GET": {
|
|
859
|
-
"id": "GET",
|
|
860
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static/GET",
|
|
861
|
-
"children": {
|
|
862
|
-
"Resource": {
|
|
863
|
-
"id": "Resource",
|
|
864
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static/GET/Resource",
|
|
865
|
-
"attributes": {
|
|
866
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Method",
|
|
867
|
-
"aws:cdk:cloudformation:props": {
|
|
868
|
-
"authorizationType": "CUSTOM",
|
|
869
|
-
"authorizerId": {
|
|
870
|
-
"Ref": "cftaplamoverridebehaviorauthorizer74D77225"
|
|
871
|
-
},
|
|
872
|
-
"httpMethod": "GET",
|
|
873
|
-
"integration": {
|
|
874
|
-
"type": "HTTP_PROXY",
|
|
875
|
-
"uri": "http://amazon.com",
|
|
876
|
-
"integrationHttpMethod": "GET"
|
|
877
|
-
},
|
|
878
|
-
"resourceId": {
|
|
879
|
-
"Ref": "cfapilambdaoverrideLambdaRestApistaticC2ECB649"
|
|
880
|
-
},
|
|
881
|
-
"restApiId": {
|
|
882
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
},
|
|
886
|
-
"constructInfo": {
|
|
887
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnMethod",
|
|
888
|
-
"version": "2.179.0"
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
"constructInfo": {
|
|
893
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Method",
|
|
894
|
-
"version": "2.179.0",
|
|
895
|
-
"metadata": [
|
|
896
|
-
{
|
|
897
|
-
"resource": "*",
|
|
898
|
-
"httpMethod": "*",
|
|
899
|
-
"integration": "*",
|
|
900
|
-
"options": "*"
|
|
901
|
-
}
|
|
902
|
-
]
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
"constructInfo": {
|
|
907
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Resource",
|
|
908
|
-
"version": "2.179.0",
|
|
909
|
-
"metadata": [
|
|
910
|
-
{
|
|
911
|
-
"pathPart": "*"
|
|
912
|
-
}
|
|
913
|
-
]
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
"dynamic": {
|
|
917
|
-
"id": "dynamic",
|
|
918
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic",
|
|
919
|
-
"children": {
|
|
920
|
-
"Resource": {
|
|
921
|
-
"id": "Resource",
|
|
922
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/Resource",
|
|
923
|
-
"attributes": {
|
|
924
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Resource",
|
|
925
|
-
"aws:cdk:cloudformation:props": {
|
|
926
|
-
"parentId": {
|
|
927
|
-
"Fn::GetAtt": [
|
|
928
|
-
"cfapilambdaoverrideLambdaRestApi6E7952FC",
|
|
929
|
-
"RootResourceId"
|
|
930
|
-
]
|
|
931
|
-
},
|
|
932
|
-
"pathPart": "dynamic",
|
|
933
|
-
"restApiId": {
|
|
934
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
},
|
|
938
|
-
"constructInfo": {
|
|
939
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnResource",
|
|
940
|
-
"version": "2.179.0"
|
|
941
|
-
}
|
|
942
|
-
},
|
|
943
|
-
"GET": {
|
|
944
|
-
"id": "GET",
|
|
945
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET",
|
|
946
|
-
"children": {
|
|
947
|
-
"ApiPermission.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic": {
|
|
948
|
-
"id": "ApiPermission.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic",
|
|
949
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET/ApiPermission.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic",
|
|
950
|
-
"attributes": {
|
|
951
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
|
|
952
|
-
"aws:cdk:cloudformation:props": {
|
|
953
|
-
"action": "lambda:InvokeFunction",
|
|
954
|
-
"functionName": {
|
|
955
|
-
"Fn::GetAtt": [
|
|
956
|
-
"cfapilambdaoverrideLambdaFunction74CE466F",
|
|
957
|
-
"Arn"
|
|
958
|
-
]
|
|
959
|
-
},
|
|
960
|
-
"principal": "apigateway.amazonaws.com",
|
|
961
|
-
"sourceArn": {
|
|
962
|
-
"Fn::Join": [
|
|
963
|
-
"",
|
|
964
|
-
[
|
|
965
|
-
"arn:",
|
|
966
|
-
{
|
|
967
|
-
"Ref": "AWS::Partition"
|
|
968
|
-
},
|
|
969
|
-
":execute-api:",
|
|
970
|
-
{
|
|
971
|
-
"Ref": "AWS::Region"
|
|
972
|
-
},
|
|
973
|
-
":",
|
|
974
|
-
{
|
|
975
|
-
"Ref": "AWS::AccountId"
|
|
976
|
-
},
|
|
977
|
-
":",
|
|
978
|
-
{
|
|
979
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
980
|
-
},
|
|
981
|
-
"/",
|
|
982
|
-
{
|
|
983
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"
|
|
984
|
-
},
|
|
985
|
-
"/GET/dynamic"
|
|
986
|
-
]
|
|
987
|
-
]
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
},
|
|
991
|
-
"constructInfo": {
|
|
992
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
|
|
993
|
-
"version": "2.179.0"
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
"ApiPermission.Test.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic": {
|
|
997
|
-
"id": "ApiPermission.Test.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic",
|
|
998
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET/ApiPermission.Test.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic",
|
|
999
|
-
"attributes": {
|
|
1000
|
-
"aws:cdk:cloudformation:type": "AWS::Lambda::Permission",
|
|
1001
|
-
"aws:cdk:cloudformation:props": {
|
|
1002
|
-
"action": "lambda:InvokeFunction",
|
|
1003
|
-
"functionName": {
|
|
1004
|
-
"Fn::GetAtt": [
|
|
1005
|
-
"cfapilambdaoverrideLambdaFunction74CE466F",
|
|
1006
|
-
"Arn"
|
|
1007
|
-
]
|
|
1008
|
-
},
|
|
1009
|
-
"principal": "apigateway.amazonaws.com",
|
|
1010
|
-
"sourceArn": {
|
|
1011
|
-
"Fn::Join": [
|
|
1012
|
-
"",
|
|
1013
|
-
[
|
|
1014
|
-
"arn:",
|
|
1015
|
-
{
|
|
1016
|
-
"Ref": "AWS::Partition"
|
|
1017
|
-
},
|
|
1018
|
-
":execute-api:",
|
|
1019
|
-
{
|
|
1020
|
-
"Ref": "AWS::Region"
|
|
1021
|
-
},
|
|
1022
|
-
":",
|
|
1023
|
-
{
|
|
1024
|
-
"Ref": "AWS::AccountId"
|
|
1025
|
-
},
|
|
1026
|
-
":",
|
|
1027
|
-
{
|
|
1028
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
1029
|
-
},
|
|
1030
|
-
"/test-invoke-stage/GET/dynamic"
|
|
1031
|
-
]
|
|
1032
|
-
]
|
|
1033
|
-
}
|
|
1034
|
-
}
|
|
1035
|
-
},
|
|
1036
|
-
"constructInfo": {
|
|
1037
|
-
"fqn": "aws-cdk-lib.aws_lambda.CfnPermission",
|
|
1038
|
-
"version": "2.179.0"
|
|
1039
|
-
}
|
|
1040
|
-
},
|
|
1041
|
-
"Resource": {
|
|
1042
|
-
"id": "Resource",
|
|
1043
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET/Resource",
|
|
1044
|
-
"attributes": {
|
|
1045
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Method",
|
|
1046
|
-
"aws:cdk:cloudformation:props": {
|
|
1047
|
-
"authorizationType": "CUSTOM",
|
|
1048
|
-
"authorizerId": {
|
|
1049
|
-
"Ref": "cftaplamoverridebehaviorauthorizer74D77225"
|
|
1050
|
-
},
|
|
1051
|
-
"httpMethod": "GET",
|
|
1052
|
-
"integration": {
|
|
1053
|
-
"type": "AWS_PROXY",
|
|
1054
|
-
"uri": {
|
|
1055
|
-
"Fn::Join": [
|
|
1056
|
-
"",
|
|
1057
|
-
[
|
|
1058
|
-
"arn:",
|
|
1059
|
-
{
|
|
1060
|
-
"Ref": "AWS::Partition"
|
|
1061
|
-
},
|
|
1062
|
-
":apigateway:",
|
|
1063
|
-
{
|
|
1064
|
-
"Ref": "AWS::Region"
|
|
1065
|
-
},
|
|
1066
|
-
":lambda:path/2015-03-31/functions/",
|
|
1067
|
-
{
|
|
1068
|
-
"Fn::GetAtt": [
|
|
1069
|
-
"cfapilambdaoverrideLambdaFunction74CE466F",
|
|
1070
|
-
"Arn"
|
|
1071
|
-
]
|
|
1072
|
-
},
|
|
1073
|
-
"/invocations"
|
|
1074
|
-
]
|
|
1075
|
-
]
|
|
1076
|
-
},
|
|
1077
|
-
"integrationHttpMethod": "POST"
|
|
1078
|
-
},
|
|
1079
|
-
"resourceId": {
|
|
1080
|
-
"Ref": "cfapilambdaoverrideLambdaRestApidynamic88206171"
|
|
1081
|
-
},
|
|
1082
|
-
"restApiId": {
|
|
1083
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
},
|
|
1087
|
-
"constructInfo": {
|
|
1088
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnMethod",
|
|
1089
|
-
"version": "2.179.0"
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
"constructInfo": {
|
|
1094
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Method",
|
|
1095
|
-
"version": "2.179.0",
|
|
1096
|
-
"metadata": [
|
|
1097
|
-
{
|
|
1098
|
-
"resource": "*",
|
|
1099
|
-
"httpMethod": "*",
|
|
1100
|
-
"integration": "*",
|
|
1101
|
-
"options": "*"
|
|
1102
|
-
}
|
|
1103
|
-
]
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
},
|
|
1107
|
-
"constructInfo": {
|
|
1108
|
-
"fqn": "aws-cdk-lib.aws_apigateway.Resource",
|
|
1109
|
-
"version": "2.179.0",
|
|
1110
|
-
"metadata": [
|
|
1111
|
-
{
|
|
1112
|
-
"pathPart": "*"
|
|
1113
|
-
}
|
|
1114
|
-
]
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
},
|
|
1118
|
-
"constructInfo": {
|
|
1119
|
-
"fqn": "aws-cdk-lib.aws_apigateway.ResourceBase",
|
|
1120
|
-
"version": "2.179.0",
|
|
1121
|
-
"metadata": [
|
|
1122
|
-
"*"
|
|
1123
|
-
]
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
"UsagePlan": {
|
|
1127
|
-
"id": "UsagePlan",
|
|
1128
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/UsagePlan",
|
|
1129
|
-
"children": {
|
|
1130
|
-
"Resource": {
|
|
1131
|
-
"id": "Resource",
|
|
1132
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/UsagePlan/Resource",
|
|
1133
|
-
"attributes": {
|
|
1134
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::UsagePlan",
|
|
1135
|
-
"aws:cdk:cloudformation:props": {
|
|
1136
|
-
"apiStages": [
|
|
1137
|
-
{
|
|
1138
|
-
"apiId": {
|
|
1139
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
1140
|
-
},
|
|
1141
|
-
"stage": {
|
|
1142
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"
|
|
1143
|
-
},
|
|
1144
|
-
"throttle": {}
|
|
1145
|
-
}
|
|
1146
|
-
]
|
|
1147
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
"constructInfo": {
|
|
1150
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnUsagePlan",
|
|
1151
|
-
"version": "2.179.0"
|
|
1152
|
-
}
|
|
1153
|
-
}
|
|
1154
|
-
},
|
|
1155
|
-
"constructInfo": {
|
|
1156
|
-
"fqn": "aws-cdk-lib.aws_apigateway.UsagePlan",
|
|
1157
|
-
"version": "2.179.0",
|
|
1158
|
-
"metadata": [
|
|
1159
|
-
{
|
|
1160
|
-
"apiStages": [
|
|
1161
|
-
{
|
|
1162
|
-
"api": "*"
|
|
1163
|
-
}
|
|
1164
|
-
]
|
|
1165
|
-
}
|
|
1166
|
-
]
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
"constructInfo": {
|
|
1171
|
-
"fqn": "aws-cdk-lib.aws_apigateway.LambdaRestApi",
|
|
1172
|
-
"version": "2.179.0",
|
|
1173
|
-
"metadata": [
|
|
1174
|
-
{
|
|
1175
|
-
"defaultIntegration": "*",
|
|
1176
|
-
"endpointConfiguration": {
|
|
1177
|
-
"types": [
|
|
1178
|
-
"REGIONAL"
|
|
1179
|
-
]
|
|
1180
|
-
},
|
|
1181
|
-
"cloudWatchRole": false,
|
|
1182
|
-
"deployOptions": {
|
|
1183
|
-
"accessLogDestination": "*",
|
|
1184
|
-
"accessLogFormat": "*",
|
|
1185
|
-
"loggingLevel": "INFO",
|
|
1186
|
-
"dataTraceEnabled": false,
|
|
1187
|
-
"tracingEnabled": true
|
|
1188
|
-
},
|
|
1189
|
-
"defaultMethodOptions": {
|
|
1190
|
-
"authorizationType": "*",
|
|
1191
|
-
"authorizer": "*"
|
|
1192
|
-
},
|
|
1193
|
-
"handler": "*",
|
|
1194
|
-
"proxy": false
|
|
1195
|
-
},
|
|
1196
|
-
{
|
|
1197
|
-
"endpointConfiguration": {
|
|
1198
|
-
"types": [
|
|
1199
|
-
"REGIONAL"
|
|
1200
|
-
]
|
|
1201
|
-
},
|
|
1202
|
-
"cloudWatchRole": false,
|
|
1203
|
-
"deployOptions": {
|
|
1204
|
-
"accessLogDestination": "*",
|
|
1205
|
-
"accessLogFormat": "*",
|
|
1206
|
-
"loggingLevel": "INFO",
|
|
1207
|
-
"dataTraceEnabled": false,
|
|
1208
|
-
"tracingEnabled": true
|
|
1209
|
-
},
|
|
1210
|
-
"defaultMethodOptions": {
|
|
1211
|
-
"authorizationType": "*",
|
|
1212
|
-
"authorizer": "*"
|
|
1213
|
-
},
|
|
1214
|
-
"handler": "*",
|
|
1215
|
-
"proxy": false
|
|
1216
|
-
}
|
|
1217
|
-
]
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
"LambdaRestApiCloudWatchRole": {
|
|
1221
|
-
"id": "LambdaRestApiCloudWatchRole",
|
|
1222
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiCloudWatchRole",
|
|
1223
|
-
"children": {
|
|
1224
|
-
"ImportLambdaRestApiCloudWatchRole": {
|
|
1225
|
-
"id": "ImportLambdaRestApiCloudWatchRole",
|
|
1226
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole",
|
|
1227
|
-
"constructInfo": {
|
|
1228
|
-
"fqn": "aws-cdk-lib.Resource",
|
|
1229
|
-
"version": "2.179.0",
|
|
1230
|
-
"metadata": [
|
|
1231
|
-
"*"
|
|
1232
|
-
]
|
|
1233
|
-
}
|
|
1234
|
-
},
|
|
1235
|
-
"Resource": {
|
|
1236
|
-
"id": "Resource",
|
|
1237
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiCloudWatchRole/Resource",
|
|
1238
|
-
"attributes": {
|
|
1239
|
-
"aws:cdk:cloudformation:type": "AWS::IAM::Role",
|
|
1240
|
-
"aws:cdk:cloudformation:props": {
|
|
1241
|
-
"assumeRolePolicyDocument": {
|
|
1242
|
-
"Statement": [
|
|
1243
|
-
{
|
|
1244
|
-
"Action": "sts:AssumeRole",
|
|
1245
|
-
"Effect": "Allow",
|
|
1246
|
-
"Principal": {
|
|
1247
|
-
"Service": "apigateway.amazonaws.com"
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
],
|
|
1251
|
-
"Version": "2012-10-17"
|
|
1252
|
-
},
|
|
1253
|
-
"policies": [
|
|
1254
|
-
{
|
|
1255
|
-
"policyName": "LambdaRestApiCloudWatchRolePolicy",
|
|
1256
|
-
"policyDocument": {
|
|
1257
|
-
"Statement": [
|
|
1258
|
-
{
|
|
1259
|
-
"Action": [
|
|
1260
|
-
"logs:CreateLogGroup",
|
|
1261
|
-
"logs:CreateLogStream",
|
|
1262
|
-
"logs:DescribeLogGroups",
|
|
1263
|
-
"logs:DescribeLogStreams",
|
|
1264
|
-
"logs:FilterLogEvents",
|
|
1265
|
-
"logs:GetLogEvents",
|
|
1266
|
-
"logs:PutLogEvents"
|
|
1267
|
-
],
|
|
1268
|
-
"Effect": "Allow",
|
|
1269
|
-
"Resource": {
|
|
1270
|
-
"Fn::Join": [
|
|
1271
|
-
"",
|
|
1272
|
-
[
|
|
1273
|
-
"arn:",
|
|
1274
|
-
{
|
|
1275
|
-
"Ref": "AWS::Partition"
|
|
1276
|
-
},
|
|
1277
|
-
":logs:",
|
|
1278
|
-
{
|
|
1279
|
-
"Ref": "AWS::Region"
|
|
1280
|
-
},
|
|
1281
|
-
":",
|
|
1282
|
-
{
|
|
1283
|
-
"Ref": "AWS::AccountId"
|
|
1284
|
-
},
|
|
1285
|
-
":*"
|
|
1286
|
-
]
|
|
1287
|
-
]
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
],
|
|
1291
|
-
"Version": "2012-10-17"
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
]
|
|
1295
|
-
}
|
|
1296
|
-
},
|
|
1297
|
-
"constructInfo": {
|
|
1298
|
-
"fqn": "aws-cdk-lib.aws_iam.CfnRole",
|
|
1299
|
-
"version": "2.179.0"
|
|
1300
|
-
}
|
|
1301
|
-
}
|
|
1302
|
-
},
|
|
1303
|
-
"constructInfo": {
|
|
1304
|
-
"fqn": "aws-cdk-lib.aws_iam.Role",
|
|
1305
|
-
"version": "2.179.0",
|
|
1306
|
-
"metadata": [
|
|
1307
|
-
{
|
|
1308
|
-
"assumedBy": {
|
|
1309
|
-
"principalAccount": "*",
|
|
1310
|
-
"assumeRoleAction": "*"
|
|
1311
|
-
},
|
|
1312
|
-
"inlinePolicies": "*"
|
|
1313
|
-
}
|
|
1314
|
-
]
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
"LambdaRestApiAccount": {
|
|
1318
|
-
"id": "LambdaRestApiAccount",
|
|
1319
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiAccount",
|
|
1320
|
-
"attributes": {
|
|
1321
|
-
"aws:cdk:cloudformation:type": "AWS::ApiGateway::Account",
|
|
1322
|
-
"aws:cdk:cloudformation:props": {
|
|
1323
|
-
"cloudWatchRoleArn": {
|
|
1324
|
-
"Fn::GetAtt": [
|
|
1325
|
-
"cfapilambdaoverrideLambdaRestApiCloudWatchRole0F1F3559",
|
|
1326
|
-
"Arn"
|
|
1327
|
-
]
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
},
|
|
1331
|
-
"constructInfo": {
|
|
1332
|
-
"fqn": "aws-cdk-lib.aws_apigateway.CfnAccount",
|
|
1333
|
-
"version": "2.179.0"
|
|
1334
|
-
}
|
|
1335
|
-
},
|
|
1336
|
-
"CloudFrontToApiGateway": {
|
|
1337
|
-
"id": "CloudFrontToApiGateway",
|
|
1338
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway",
|
|
1339
|
-
"children": {
|
|
1340
|
-
"SetHttpSecurityHeaders": {
|
|
1341
|
-
"id": "SetHttpSecurityHeaders",
|
|
1342
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/SetHttpSecurityHeaders",
|
|
1343
|
-
"children": {
|
|
1344
|
-
"Resource": {
|
|
1345
|
-
"id": "Resource",
|
|
1346
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/SetHttpSecurityHeaders/Resource",
|
|
1347
|
-
"attributes": {
|
|
1348
|
-
"aws:cdk:cloudformation:type": "AWS::CloudFront::Function",
|
|
1349
|
-
"aws:cdk:cloudformation:props": {
|
|
1350
|
-
"autoPublish": true,
|
|
1351
|
-
"functionCode": "function handler(event) { var response = event.response; var headers = response.headers; headers['strict-transport-security'] = { value: 'max-age=63072000; includeSubdomains; preload'}; headers['content-security-policy'] = { value: \"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'\"}; headers['x-content-type-options'] = { value: 'nosniff'}; headers['x-frame-options'] = {value: 'DENY'}; headers['x-xss-protection'] = {value: '1; mode=block'}; return response; }",
|
|
1352
|
-
"functionConfig": {
|
|
1353
|
-
"comment": "SetHttpSecurityHeadersc826c2a6a3ffe209aed33765f37752084820de0d3b",
|
|
1354
|
-
"runtime": "cloudfront-js-1.0"
|
|
1355
|
-
},
|
|
1356
|
-
"name": "SetHttpSecurityHeadersc826c2a6a3ffe209aed33765f37752084820de0d3b"
|
|
1357
|
-
}
|
|
1358
|
-
},
|
|
1359
|
-
"constructInfo": {
|
|
1360
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CfnFunction",
|
|
1361
|
-
"version": "2.179.0"
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
},
|
|
1365
|
-
"constructInfo": {
|
|
1366
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.Function",
|
|
1367
|
-
"version": "2.179.0",
|
|
1368
|
-
"metadata": [
|
|
1369
|
-
{
|
|
1370
|
-
"functionName": "*",
|
|
1371
|
-
"code": "*"
|
|
1372
|
-
}
|
|
1373
|
-
]
|
|
1374
|
-
}
|
|
1375
|
-
},
|
|
1376
|
-
"CloudfrontLoggingBucketAccessLog": {
|
|
1377
|
-
"id": "CloudfrontLoggingBucketAccessLog",
|
|
1378
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog",
|
|
1379
|
-
"children": {
|
|
1380
|
-
"Resource": {
|
|
1381
|
-
"id": "Resource",
|
|
1382
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog/Resource",
|
|
1383
|
-
"attributes": {
|
|
1384
|
-
"aws:cdk:cloudformation:type": "AWS::S3::Bucket",
|
|
1385
|
-
"aws:cdk:cloudformation:props": {
|
|
1386
|
-
"bucketEncryption": {
|
|
1387
|
-
"serverSideEncryptionConfiguration": [
|
|
1388
|
-
{
|
|
1389
|
-
"serverSideEncryptionByDefault": {
|
|
1390
|
-
"sseAlgorithm": "AES256"
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
]
|
|
1394
|
-
},
|
|
1395
|
-
"publicAccessBlockConfiguration": {
|
|
1396
|
-
"blockPublicAcls": true,
|
|
1397
|
-
"blockPublicPolicy": true,
|
|
1398
|
-
"ignorePublicAcls": true,
|
|
1399
|
-
"restrictPublicBuckets": true
|
|
1400
|
-
},
|
|
1401
|
-
"versioningConfiguration": {
|
|
1402
|
-
"status": "Enabled"
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
},
|
|
1406
|
-
"constructInfo": {
|
|
1407
|
-
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
1408
|
-
"version": "2.179.0"
|
|
1409
|
-
}
|
|
1410
|
-
},
|
|
1411
|
-
"Policy": {
|
|
1412
|
-
"id": "Policy",
|
|
1413
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog/Policy",
|
|
1414
|
-
"children": {
|
|
1415
|
-
"Resource": {
|
|
1416
|
-
"id": "Resource",
|
|
1417
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog/Policy/Resource",
|
|
1418
|
-
"attributes": {
|
|
1419
|
-
"aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
|
|
1420
|
-
"aws:cdk:cloudformation:props": {
|
|
1421
|
-
"bucket": {
|
|
1422
|
-
"Ref": "cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9"
|
|
1423
|
-
},
|
|
1424
|
-
"policyDocument": {
|
|
1425
|
-
"Statement": [
|
|
1426
|
-
{
|
|
1427
|
-
"Action": "s3:*",
|
|
1428
|
-
"Condition": {
|
|
1429
|
-
"Bool": {
|
|
1430
|
-
"aws:SecureTransport": "false"
|
|
1431
|
-
}
|
|
1432
|
-
},
|
|
1433
|
-
"Effect": "Deny",
|
|
1434
|
-
"Principal": {
|
|
1435
|
-
"AWS": "*"
|
|
1436
|
-
},
|
|
1437
|
-
"Resource": [
|
|
1438
|
-
{
|
|
1439
|
-
"Fn::GetAtt": [
|
|
1440
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9",
|
|
1441
|
-
"Arn"
|
|
1442
|
-
]
|
|
1443
|
-
},
|
|
1444
|
-
{
|
|
1445
|
-
"Fn::Join": [
|
|
1446
|
-
"",
|
|
1447
|
-
[
|
|
1448
|
-
{
|
|
1449
|
-
"Fn::GetAtt": [
|
|
1450
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9",
|
|
1451
|
-
"Arn"
|
|
1452
|
-
]
|
|
1453
|
-
},
|
|
1454
|
-
"/*"
|
|
1455
|
-
]
|
|
1456
|
-
]
|
|
1457
|
-
}
|
|
1458
|
-
]
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
"Action": "s3:PutObject",
|
|
1462
|
-
"Condition": {
|
|
1463
|
-
"ArnLike": {
|
|
1464
|
-
"aws:SourceArn": {
|
|
1465
|
-
"Fn::GetAtt": [
|
|
1466
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0",
|
|
1467
|
-
"Arn"
|
|
1468
|
-
]
|
|
1469
|
-
}
|
|
1470
|
-
},
|
|
1471
|
-
"StringEquals": {
|
|
1472
|
-
"aws:SourceAccount": {
|
|
1473
|
-
"Ref": "AWS::AccountId"
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
},
|
|
1477
|
-
"Effect": "Allow",
|
|
1478
|
-
"Principal": {
|
|
1479
|
-
"Service": "logging.s3.amazonaws.com"
|
|
1480
|
-
},
|
|
1481
|
-
"Resource": {
|
|
1482
|
-
"Fn::Join": [
|
|
1483
|
-
"",
|
|
1484
|
-
[
|
|
1485
|
-
{
|
|
1486
|
-
"Fn::GetAtt": [
|
|
1487
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9",
|
|
1488
|
-
"Arn"
|
|
1489
|
-
]
|
|
1490
|
-
},
|
|
1491
|
-
"/*"
|
|
1492
|
-
]
|
|
1493
|
-
]
|
|
1494
|
-
}
|
|
1495
|
-
}
|
|
1496
|
-
],
|
|
1497
|
-
"Version": "2012-10-17"
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
},
|
|
1501
|
-
"constructInfo": {
|
|
1502
|
-
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
1503
|
-
"version": "2.179.0"
|
|
1504
|
-
}
|
|
1505
|
-
}
|
|
1506
|
-
},
|
|
1507
|
-
"constructInfo": {
|
|
1508
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
1509
|
-
"version": "2.179.0",
|
|
1510
|
-
"metadata": [
|
|
1511
|
-
{
|
|
1512
|
-
"bucket": "*"
|
|
1513
|
-
}
|
|
1514
|
-
]
|
|
1515
|
-
}
|
|
1516
|
-
}
|
|
1517
|
-
},
|
|
1518
|
-
"constructInfo": {
|
|
1519
|
-
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
1520
|
-
"version": "2.179.0",
|
|
1521
|
-
"metadata": [
|
|
1522
|
-
{
|
|
1523
|
-
"encryption": "S3_MANAGED",
|
|
1524
|
-
"versioned": true,
|
|
1525
|
-
"blockPublicAccess": "*",
|
|
1526
|
-
"removalPolicy": "retain",
|
|
1527
|
-
"enforceSSL": true
|
|
1528
|
-
}
|
|
1529
|
-
]
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
"CloudfrontLoggingBucket": {
|
|
1533
|
-
"id": "CloudfrontLoggingBucket",
|
|
1534
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket",
|
|
1535
|
-
"children": {
|
|
1536
|
-
"Resource": {
|
|
1537
|
-
"id": "Resource",
|
|
1538
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/Resource",
|
|
1539
|
-
"attributes": {
|
|
1540
|
-
"aws:cdk:cloudformation:type": "AWS::S3::Bucket",
|
|
1541
|
-
"aws:cdk:cloudformation:props": {
|
|
1542
|
-
"bucketEncryption": {
|
|
1543
|
-
"serverSideEncryptionConfiguration": [
|
|
1544
|
-
{
|
|
1545
|
-
"serverSideEncryptionByDefault": {
|
|
1546
|
-
"sseAlgorithm": "AES256"
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
]
|
|
1550
|
-
},
|
|
1551
|
-
"loggingConfiguration": {
|
|
1552
|
-
"destinationBucketName": {
|
|
1553
|
-
"Ref": "cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
"ownershipControls": {
|
|
1557
|
-
"rules": [
|
|
1558
|
-
{
|
|
1559
|
-
"objectOwnership": "ObjectWriter"
|
|
1560
|
-
}
|
|
1561
|
-
]
|
|
1562
|
-
},
|
|
1563
|
-
"publicAccessBlockConfiguration": {
|
|
1564
|
-
"blockPublicAcls": true,
|
|
1565
|
-
"blockPublicPolicy": true,
|
|
1566
|
-
"ignorePublicAcls": true,
|
|
1567
|
-
"restrictPublicBuckets": true
|
|
1568
|
-
},
|
|
1569
|
-
"tags": [
|
|
1570
|
-
{
|
|
1571
|
-
"key": "aws-cdk:auto-delete-objects",
|
|
1572
|
-
"value": "true"
|
|
1573
|
-
}
|
|
1574
|
-
],
|
|
1575
|
-
"versioningConfiguration": {
|
|
1576
|
-
"status": "Enabled"
|
|
1577
|
-
}
|
|
1578
|
-
}
|
|
1579
|
-
},
|
|
1580
|
-
"constructInfo": {
|
|
1581
|
-
"fqn": "aws-cdk-lib.aws_s3.CfnBucket",
|
|
1582
|
-
"version": "2.179.0"
|
|
1583
|
-
}
|
|
1584
|
-
},
|
|
1585
|
-
"Policy": {
|
|
1586
|
-
"id": "Policy",
|
|
1587
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/Policy",
|
|
1588
|
-
"children": {
|
|
1589
|
-
"Resource": {
|
|
1590
|
-
"id": "Resource",
|
|
1591
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/Policy/Resource",
|
|
1592
|
-
"attributes": {
|
|
1593
|
-
"aws:cdk:cloudformation:type": "AWS::S3::BucketPolicy",
|
|
1594
|
-
"aws:cdk:cloudformation:props": {
|
|
1595
|
-
"bucket": {
|
|
1596
|
-
"Ref": "cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0"
|
|
1597
|
-
},
|
|
1598
|
-
"policyDocument": {
|
|
1599
|
-
"Statement": [
|
|
1600
|
-
{
|
|
1601
|
-
"Action": "s3:*",
|
|
1602
|
-
"Condition": {
|
|
1603
|
-
"Bool": {
|
|
1604
|
-
"aws:SecureTransport": "false"
|
|
1605
|
-
}
|
|
1606
|
-
},
|
|
1607
|
-
"Effect": "Deny",
|
|
1608
|
-
"Principal": {
|
|
1609
|
-
"AWS": "*"
|
|
1610
|
-
},
|
|
1611
|
-
"Resource": [
|
|
1612
|
-
{
|
|
1613
|
-
"Fn::GetAtt": [
|
|
1614
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0",
|
|
1615
|
-
"Arn"
|
|
1616
|
-
]
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"Fn::Join": [
|
|
1620
|
-
"",
|
|
1621
|
-
[
|
|
1622
|
-
{
|
|
1623
|
-
"Fn::GetAtt": [
|
|
1624
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0",
|
|
1625
|
-
"Arn"
|
|
1626
|
-
]
|
|
1627
|
-
},
|
|
1628
|
-
"/*"
|
|
1629
|
-
]
|
|
1630
|
-
]
|
|
1631
|
-
}
|
|
1632
|
-
]
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"Action": [
|
|
1636
|
-
"s3:DeleteObject*",
|
|
1637
|
-
"s3:GetBucket*",
|
|
1638
|
-
"s3:List*",
|
|
1639
|
-
"s3:PutBucketPolicy"
|
|
1640
|
-
],
|
|
1641
|
-
"Effect": "Allow",
|
|
1642
|
-
"Principal": {
|
|
1643
|
-
"AWS": {
|
|
1644
|
-
"Fn::GetAtt": [
|
|
1645
|
-
"CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092",
|
|
1646
|
-
"Arn"
|
|
1647
|
-
]
|
|
1648
|
-
}
|
|
1649
|
-
},
|
|
1650
|
-
"Resource": [
|
|
1651
|
-
{
|
|
1652
|
-
"Fn::GetAtt": [
|
|
1653
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0",
|
|
1654
|
-
"Arn"
|
|
1655
|
-
]
|
|
1656
|
-
},
|
|
1657
|
-
{
|
|
1658
|
-
"Fn::Join": [
|
|
1659
|
-
"",
|
|
1660
|
-
[
|
|
1661
|
-
{
|
|
1662
|
-
"Fn::GetAtt": [
|
|
1663
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0",
|
|
1664
|
-
"Arn"
|
|
1665
|
-
]
|
|
1666
|
-
},
|
|
1667
|
-
"/*"
|
|
1668
|
-
]
|
|
1669
|
-
]
|
|
1670
|
-
}
|
|
1671
|
-
]
|
|
1672
|
-
}
|
|
1673
|
-
],
|
|
1674
|
-
"Version": "2012-10-17"
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
},
|
|
1678
|
-
"constructInfo": {
|
|
1679
|
-
"fqn": "aws-cdk-lib.aws_s3.CfnBucketPolicy",
|
|
1680
|
-
"version": "2.179.0"
|
|
1681
|
-
}
|
|
1682
|
-
}
|
|
1683
|
-
},
|
|
1684
|
-
"constructInfo": {
|
|
1685
|
-
"fqn": "aws-cdk-lib.aws_s3.BucketPolicy",
|
|
1686
|
-
"version": "2.179.0",
|
|
1687
|
-
"metadata": [
|
|
1688
|
-
{
|
|
1689
|
-
"bucket": "*"
|
|
1690
|
-
}
|
|
1691
|
-
]
|
|
1692
|
-
}
|
|
1693
|
-
},
|
|
1694
|
-
"AutoDeleteObjectsCustomResource": {
|
|
1695
|
-
"id": "AutoDeleteObjectsCustomResource",
|
|
1696
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource",
|
|
1697
|
-
"children": {
|
|
1698
|
-
"Default": {
|
|
1699
|
-
"id": "Default",
|
|
1700
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default",
|
|
1701
|
-
"constructInfo": {
|
|
1702
|
-
"fqn": "aws-cdk-lib.CfnResource",
|
|
1703
|
-
"version": "2.179.0"
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
},
|
|
1707
|
-
"constructInfo": {
|
|
1708
|
-
"fqn": "aws-cdk-lib.CustomResource",
|
|
1709
|
-
"version": "2.179.0",
|
|
1710
|
-
"metadata": [
|
|
1711
|
-
"*"
|
|
1712
|
-
]
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
},
|
|
1716
|
-
"constructInfo": {
|
|
1717
|
-
"fqn": "aws-cdk-lib.aws_s3.Bucket",
|
|
1718
|
-
"version": "2.179.0",
|
|
1719
|
-
"metadata": [
|
|
1720
|
-
{
|
|
1721
|
-
"encryption": "S3_MANAGED",
|
|
1722
|
-
"versioned": true,
|
|
1723
|
-
"blockPublicAccess": "*",
|
|
1724
|
-
"removalPolicy": "destroy",
|
|
1725
|
-
"enforceSSL": true,
|
|
1726
|
-
"autoDeleteObjects": true,
|
|
1727
|
-
"objectOwnership": "ObjectWriter",
|
|
1728
|
-
"serverAccessLogsBucket": "*"
|
|
1729
|
-
}
|
|
1730
|
-
]
|
|
1731
|
-
}
|
|
1732
|
-
},
|
|
1733
|
-
"CloudFrontDistribution": {
|
|
1734
|
-
"id": "CloudFrontDistribution",
|
|
1735
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution",
|
|
1736
|
-
"children": {
|
|
1737
|
-
"Origin1": {
|
|
1738
|
-
"id": "Origin1",
|
|
1739
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution/Origin1",
|
|
1740
|
-
"constructInfo": {
|
|
1741
|
-
"fqn": "constructs.Construct",
|
|
1742
|
-
"version": "10.4.2"
|
|
1743
|
-
}
|
|
1744
|
-
},
|
|
1745
|
-
"Resource": {
|
|
1746
|
-
"id": "Resource",
|
|
1747
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution/Resource",
|
|
1748
|
-
"attributes": {
|
|
1749
|
-
"aws:cdk:cloudformation:type": "AWS::CloudFront::Distribution",
|
|
1750
|
-
"aws:cdk:cloudformation:props": {
|
|
1751
|
-
"distributionConfig": {
|
|
1752
|
-
"enabled": true,
|
|
1753
|
-
"origins": [
|
|
1754
|
-
{
|
|
1755
|
-
"domainName": {
|
|
1756
|
-
"Fn::Select": [
|
|
1757
|
-
0,
|
|
1758
|
-
{
|
|
1759
|
-
"Fn::Split": [
|
|
1760
|
-
"/",
|
|
1761
|
-
{
|
|
1762
|
-
"Fn::Select": [
|
|
1763
|
-
1,
|
|
1764
|
-
{
|
|
1765
|
-
"Fn::Split": [
|
|
1766
|
-
"://",
|
|
1767
|
-
{
|
|
1768
|
-
"Fn::Join": [
|
|
1769
|
-
"",
|
|
1770
|
-
[
|
|
1771
|
-
"https://",
|
|
1772
|
-
{
|
|
1773
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
1774
|
-
},
|
|
1775
|
-
".execute-api.",
|
|
1776
|
-
{
|
|
1777
|
-
"Ref": "AWS::Region"
|
|
1778
|
-
},
|
|
1779
|
-
".",
|
|
1780
|
-
{
|
|
1781
|
-
"Ref": "AWS::URLSuffix"
|
|
1782
|
-
},
|
|
1783
|
-
"/",
|
|
1784
|
-
{
|
|
1785
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"
|
|
1786
|
-
},
|
|
1787
|
-
"/"
|
|
1788
|
-
]
|
|
1789
|
-
]
|
|
1790
|
-
}
|
|
1791
|
-
]
|
|
1792
|
-
}
|
|
1793
|
-
]
|
|
1794
|
-
}
|
|
1795
|
-
]
|
|
1796
|
-
}
|
|
1797
|
-
]
|
|
1798
|
-
},
|
|
1799
|
-
"id": "cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin14C42522D",
|
|
1800
|
-
"originPath": {
|
|
1801
|
-
"Fn::Join": [
|
|
1802
|
-
"",
|
|
1803
|
-
[
|
|
1804
|
-
"/",
|
|
1805
|
-
{
|
|
1806
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"
|
|
1807
|
-
}
|
|
1808
|
-
]
|
|
1809
|
-
]
|
|
1810
|
-
},
|
|
1811
|
-
"customOriginConfig": {
|
|
1812
|
-
"originSslProtocols": [
|
|
1813
|
-
"TLSv1.2"
|
|
1814
|
-
],
|
|
1815
|
-
"originProtocolPolicy": "https-only"
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
{
|
|
1819
|
-
"domainName": {
|
|
1820
|
-
"Fn::Select": [
|
|
1821
|
-
0,
|
|
1822
|
-
{
|
|
1823
|
-
"Fn::Split": [
|
|
1824
|
-
"/",
|
|
1825
|
-
{
|
|
1826
|
-
"Fn::Select": [
|
|
1827
|
-
1,
|
|
1828
|
-
{
|
|
1829
|
-
"Fn::Split": [
|
|
1830
|
-
"://",
|
|
1831
|
-
{
|
|
1832
|
-
"Fn::Join": [
|
|
1833
|
-
"",
|
|
1834
|
-
[
|
|
1835
|
-
"https://",
|
|
1836
|
-
{
|
|
1837
|
-
"Ref": "cfapilambdaoverrideLambdaRestApi6E7952FC"
|
|
1838
|
-
},
|
|
1839
|
-
".execute-api.",
|
|
1840
|
-
{
|
|
1841
|
-
"Ref": "AWS::Region"
|
|
1842
|
-
},
|
|
1843
|
-
".",
|
|
1844
|
-
{
|
|
1845
|
-
"Ref": "AWS::URLSuffix"
|
|
1846
|
-
},
|
|
1847
|
-
"/",
|
|
1848
|
-
{
|
|
1849
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"
|
|
1850
|
-
},
|
|
1851
|
-
"/"
|
|
1852
|
-
]
|
|
1853
|
-
]
|
|
1854
|
-
}
|
|
1855
|
-
]
|
|
1856
|
-
}
|
|
1857
|
-
]
|
|
1858
|
-
}
|
|
1859
|
-
]
|
|
1860
|
-
}
|
|
1861
|
-
]
|
|
1862
|
-
},
|
|
1863
|
-
"id": "cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin2D0C9421C",
|
|
1864
|
-
"originPath": {
|
|
1865
|
-
"Fn::Join": [
|
|
1866
|
-
"",
|
|
1867
|
-
[
|
|
1868
|
-
"/",
|
|
1869
|
-
{
|
|
1870
|
-
"Ref": "cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"
|
|
1871
|
-
},
|
|
1872
|
-
"/dynamic"
|
|
1873
|
-
]
|
|
1874
|
-
]
|
|
1875
|
-
},
|
|
1876
|
-
"customOriginConfig": {
|
|
1877
|
-
"originSslProtocols": [
|
|
1878
|
-
"TLSv1.2"
|
|
1879
|
-
],
|
|
1880
|
-
"originProtocolPolicy": "https-only"
|
|
1881
|
-
}
|
|
1882
|
-
}
|
|
1883
|
-
],
|
|
1884
|
-
"defaultCacheBehavior": {
|
|
1885
|
-
"pathPattern": "*",
|
|
1886
|
-
"targetOriginId": "cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin14C42522D",
|
|
1887
|
-
"cachePolicyId": {
|
|
1888
|
-
"Ref": "SomeCachePolicy40B9E4D4"
|
|
1889
|
-
},
|
|
1890
|
-
"compress": true,
|
|
1891
|
-
"viewerProtocolPolicy": "redirect-to-https",
|
|
1892
|
-
"functionAssociations": [
|
|
1893
|
-
{
|
|
1894
|
-
"functionArn": {
|
|
1895
|
-
"Fn::GetAtt": [
|
|
1896
|
-
"cfapilambdaoverrideCloudFrontToApiGatewaySetHttpSecurityHeaders67E61E6E",
|
|
1897
|
-
"FunctionARN"
|
|
1898
|
-
]
|
|
1899
|
-
},
|
|
1900
|
-
"eventType": "viewer-response"
|
|
1901
|
-
}
|
|
1902
|
-
]
|
|
1903
|
-
},
|
|
1904
|
-
"cacheBehaviors": [
|
|
1905
|
-
{
|
|
1906
|
-
"pathPattern": "/dynamic",
|
|
1907
|
-
"targetOriginId": "cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin2D0C9421C",
|
|
1908
|
-
"cachePolicyId": {
|
|
1909
|
-
"Ref": "NoCachePolicy1F71EC46"
|
|
1910
|
-
},
|
|
1911
|
-
"compress": true,
|
|
1912
|
-
"viewerProtocolPolicy": "allow-all"
|
|
1913
|
-
}
|
|
1914
|
-
],
|
|
1915
|
-
"httpVersion": "http2",
|
|
1916
|
-
"ipv6Enabled": true,
|
|
1917
|
-
"logging": {
|
|
1918
|
-
"bucket": {
|
|
1919
|
-
"Fn::GetAtt": [
|
|
1920
|
-
"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0",
|
|
1921
|
-
"RegionalDomainName"
|
|
1922
|
-
]
|
|
1923
|
-
}
|
|
1924
|
-
}
|
|
1925
|
-
}
|
|
1926
|
-
}
|
|
1927
|
-
},
|
|
1928
|
-
"constructInfo": {
|
|
1929
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.CfnDistribution",
|
|
1930
|
-
"version": "2.179.0"
|
|
1931
|
-
}
|
|
1932
|
-
},
|
|
1933
|
-
"Origin2": {
|
|
1934
|
-
"id": "Origin2",
|
|
1935
|
-
"path": "cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution/Origin2",
|
|
1936
|
-
"constructInfo": {
|
|
1937
|
-
"fqn": "constructs.Construct",
|
|
1938
|
-
"version": "10.4.2"
|
|
1939
|
-
}
|
|
1940
|
-
}
|
|
1941
|
-
},
|
|
1942
|
-
"constructInfo": {
|
|
1943
|
-
"fqn": "aws-cdk-lib.aws_cloudfront.Distribution",
|
|
1944
|
-
"version": "2.179.0",
|
|
1945
|
-
"metadata": [
|
|
1946
|
-
{
|
|
1947
|
-
"defaultBehavior": {
|
|
1948
|
-
"origin": "*",
|
|
1949
|
-
"functionAssociations": [
|
|
1950
|
-
{
|
|
1951
|
-
"eventType": "viewer-response",
|
|
1952
|
-
"function": "*"
|
|
1953
|
-
}
|
|
1954
|
-
],
|
|
1955
|
-
"viewerProtocolPolicy": "redirect-to-https",
|
|
1956
|
-
"cachePolicy": "*"
|
|
1957
|
-
},
|
|
1958
|
-
"enableLogging": true,
|
|
1959
|
-
"logBucket": "*"
|
|
1960
|
-
},
|
|
1961
|
-
{
|
|
1962
|
-
"addBehavior": [
|
|
1963
|
-
"*",
|
|
1964
|
-
{},
|
|
1965
|
-
{
|
|
1966
|
-
"cachePolicy": "*"
|
|
1967
|
-
}
|
|
1968
|
-
]
|
|
1969
|
-
}
|
|
1970
|
-
]
|
|
1971
|
-
}
|
|
1972
|
-
}
|
|
1973
|
-
},
|
|
1974
|
-
"constructInfo": {
|
|
1975
|
-
"fqn": "@aws-solutions-constructs/aws-cloudfront-apigateway.CloudFrontToApiGateway",
|
|
1976
|
-
"version": "2.79.1"
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
},
|
|
1980
|
-
"constructInfo": {
|
|
1981
|
-
"fqn": "@aws-solutions-constructs/aws-cloudfront-apigateway-lambda.CloudFrontToApiGatewayToLambda",
|
|
1982
|
-
"version": "2.79.1"
|
|
1983
|
-
}
|
|
1984
|
-
},
|
|
1985
|
-
"LatestNodeRuntimeMap": {
|
|
1986
|
-
"id": "LatestNodeRuntimeMap",
|
|
1987
|
-
"path": "cftaplam-override-behavior/LatestNodeRuntimeMap",
|
|
1988
|
-
"constructInfo": {
|
|
1989
|
-
"fqn": "aws-cdk-lib.CfnMapping",
|
|
1990
|
-
"version": "2.179.0"
|
|
1991
|
-
}
|
|
1992
|
-
},
|
|
1993
|
-
"Custom::S3AutoDeleteObjectsCustomResourceProvider": {
|
|
1994
|
-
"id": "Custom::S3AutoDeleteObjectsCustomResourceProvider",
|
|
1995
|
-
"path": "cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider",
|
|
1996
|
-
"children": {
|
|
1997
|
-
"Staging": {
|
|
1998
|
-
"id": "Staging",
|
|
1999
|
-
"path": "cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging",
|
|
2000
|
-
"constructInfo": {
|
|
2001
|
-
"fqn": "aws-cdk-lib.AssetStaging",
|
|
2002
|
-
"version": "2.179.0"
|
|
2003
|
-
}
|
|
2004
|
-
},
|
|
2005
|
-
"Role": {
|
|
2006
|
-
"id": "Role",
|
|
2007
|
-
"path": "cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role",
|
|
2008
|
-
"constructInfo": {
|
|
2009
|
-
"fqn": "aws-cdk-lib.CfnResource",
|
|
2010
|
-
"version": "2.179.0"
|
|
2011
|
-
}
|
|
2012
|
-
},
|
|
2013
|
-
"Handler": {
|
|
2014
|
-
"id": "Handler",
|
|
2015
|
-
"path": "cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler",
|
|
2016
|
-
"constructInfo": {
|
|
2017
|
-
"fqn": "aws-cdk-lib.CfnResource",
|
|
2018
|
-
"version": "2.179.0"
|
|
2019
|
-
}
|
|
2020
|
-
}
|
|
2021
|
-
},
|
|
2022
|
-
"constructInfo": {
|
|
2023
|
-
"fqn": "aws-cdk-lib.CustomResourceProviderBase",
|
|
2024
|
-
"version": "2.179.0"
|
|
2025
|
-
}
|
|
2026
|
-
},
|
|
2027
|
-
"Integ": {
|
|
2028
|
-
"id": "Integ",
|
|
2029
|
-
"path": "cftaplam-override-behavior/Integ",
|
|
2030
|
-
"children": {
|
|
2031
|
-
"DefaultTest": {
|
|
2032
|
-
"id": "DefaultTest",
|
|
2033
|
-
"path": "cftaplam-override-behavior/Integ/DefaultTest",
|
|
2034
|
-
"children": {
|
|
2035
|
-
"Default": {
|
|
2036
|
-
"id": "Default",
|
|
2037
|
-
"path": "cftaplam-override-behavior/Integ/DefaultTest/Default",
|
|
2038
|
-
"constructInfo": {
|
|
2039
|
-
"fqn": "constructs.Construct",
|
|
2040
|
-
"version": "10.4.2"
|
|
2041
|
-
}
|
|
2042
|
-
},
|
|
2043
|
-
"DeployAssert": {
|
|
2044
|
-
"id": "DeployAssert",
|
|
2045
|
-
"path": "cftaplam-override-behavior/Integ/DefaultTest/DeployAssert",
|
|
2046
|
-
"children": {
|
|
2047
|
-
"BootstrapVersion": {
|
|
2048
|
-
"id": "BootstrapVersion",
|
|
2049
|
-
"path": "cftaplam-override-behavior/Integ/DefaultTest/DeployAssert/BootstrapVersion",
|
|
2050
|
-
"constructInfo": {
|
|
2051
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
2052
|
-
"version": "2.179.0"
|
|
2053
|
-
}
|
|
2054
|
-
},
|
|
2055
|
-
"CheckBootstrapVersion": {
|
|
2056
|
-
"id": "CheckBootstrapVersion",
|
|
2057
|
-
"path": "cftaplam-override-behavior/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
|
|
2058
|
-
"constructInfo": {
|
|
2059
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
2060
|
-
"version": "2.179.0"
|
|
2061
|
-
}
|
|
2062
|
-
}
|
|
2063
|
-
},
|
|
2064
|
-
"constructInfo": {
|
|
2065
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
2066
|
-
"version": "2.179.0"
|
|
2067
|
-
}
|
|
2068
|
-
}
|
|
2069
|
-
},
|
|
2070
|
-
"constructInfo": {
|
|
2071
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
|
|
2072
|
-
"version": "2.179.0-alpha.0"
|
|
2073
|
-
}
|
|
2074
|
-
}
|
|
2075
|
-
},
|
|
2076
|
-
"constructInfo": {
|
|
2077
|
-
"fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
|
|
2078
|
-
"version": "2.179.0-alpha.0"
|
|
2079
|
-
}
|
|
2080
|
-
},
|
|
2081
|
-
"BootstrapVersion": {
|
|
2082
|
-
"id": "BootstrapVersion",
|
|
2083
|
-
"path": "cftaplam-override-behavior/BootstrapVersion",
|
|
2084
|
-
"constructInfo": {
|
|
2085
|
-
"fqn": "aws-cdk-lib.CfnParameter",
|
|
2086
|
-
"version": "2.179.0"
|
|
2087
|
-
}
|
|
2088
|
-
},
|
|
2089
|
-
"CheckBootstrapVersion": {
|
|
2090
|
-
"id": "CheckBootstrapVersion",
|
|
2091
|
-
"path": "cftaplam-override-behavior/CheckBootstrapVersion",
|
|
2092
|
-
"constructInfo": {
|
|
2093
|
-
"fqn": "aws-cdk-lib.CfnRule",
|
|
2094
|
-
"version": "2.179.0"
|
|
2095
|
-
}
|
|
2096
|
-
}
|
|
2097
|
-
},
|
|
2098
|
-
"constructInfo": {
|
|
2099
|
-
"fqn": "aws-cdk-lib.Stack",
|
|
2100
|
-
"version": "2.179.0"
|
|
2101
|
-
}
|
|
2102
|
-
},
|
|
2103
|
-
"Tree": {
|
|
2104
|
-
"id": "Tree",
|
|
2105
|
-
"path": "Tree",
|
|
2106
|
-
"constructInfo": {
|
|
2107
|
-
"fqn": "constructs.Construct",
|
|
2108
|
-
"version": "10.4.2"
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
},
|
|
2112
|
-
"constructInfo": {
|
|
2113
|
-
"fqn": "aws-cdk-lib.App",
|
|
2114
|
-
"version": "2.179.0"
|
|
2115
|
-
}
|
|
2116
|
-
}
|
|
2117
|
-
}
|
|
1
|
+
{"version":"tree-0.1","tree":{"id":"App","path":"","children":{"cftaplam-override-behavior":{"id":"cftaplam-override-behavior","path":"cftaplam-override-behavior","children":{"SomeCachePolicy":{"id":"SomeCachePolicy","path":"cftaplam-override-behavior/SomeCachePolicy","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/SomeCachePolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::CachePolicy","aws:cdk:cloudformation:props":{"cachePolicyConfig":{"name":"SomeCachePolicy","minTtl":18000,"maxTtl":36000,"defaultTtl":28800,"parametersInCacheKeyAndForwardedToOrigin":{"cookiesConfig":{"cookieBehavior":"none"},"headersConfig":{"headerBehavior":"none"},"enableAcceptEncodingGzip":false,"enableAcceptEncodingBrotli":false,"queryStringsConfig":{"queryStringBehavior":"none"}}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnCachePolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CachePolicy","version":"2.186.0","metadata":[{"cachePolicyName":"*","defaultTtl":"*","minTtl":"*","maxTtl":"*"}]}},"NoCachePolicy":{"id":"NoCachePolicy","path":"cftaplam-override-behavior/NoCachePolicy","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/NoCachePolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::CachePolicy","aws:cdk:cloudformation:props":{"cachePolicyConfig":{"name":"NoCachePolicy","minTtl":0,"maxTtl":0,"defaultTtl":0,"parametersInCacheKeyAndForwardedToOrigin":{"cookiesConfig":{"cookieBehavior":"none"},"headersConfig":{"headerBehavior":"none"},"enableAcceptEncodingGzip":false,"enableAcceptEncodingBrotli":false,"queryStringsConfig":{"queryStringBehavior":"none"}}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnCachePolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CachePolicy","version":"2.186.0","metadata":[{"cachePolicyName":"*","defaultTtl":"*","minTtl":"*","maxTtl":"*"}]}},"cftaplam-override-behavior-authorizerAuthFunction":{"id":"cftaplam-override-behavior-authorizerAuthFunction","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction","children":{"ServiceRole":{"id":"ServiceRole","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/ServiceRole","children":{"ImportServiceRole":{"id":"ImportServiceRole","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/ServiceRole/ImportServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/ServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"managedPolicyArns":[{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":iam::aws:policy/service-role/AWSLambdaBasicExecutionRole"]]}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"managedPolicies":[{"managedPolicyArn":"*"}]}]}},"Code":{"id":"Code","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Code","children":{"Stage":{"id":"Stage","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f.zip"},"handler":".handler","role":{"Fn::GetAtt":["cftaplamoverridebehaviorauthorizerAuthFunctionServiceRoleA606974F","Arn"]},"runtime":"nodejs20.x"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C:Permissions":{"id":"cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C:Permissions","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizerAuthFunction/cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C:Permissions","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},"/authorizers/",{"Ref":"cftaplamoverridebehaviorauthorizer74D77225"}]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"code":"*","runtime":"*","handler":"*"}]}},"cftaplam-override-behavior-authorizer":{"id":"cftaplam-override-behavior-authorizer","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizer","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cftaplam-override-behavior-authorizer/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Authorizer","aws:cdk:cloudformation:props":{"authorizerResultTtlInSeconds":300,"authorizerUri":{"Fn::Join":["",["arn:",{"Fn::Select":[1,{"Fn::Split":[":",{"Fn::GetAtt":["cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6","Arn"]}]}]},":apigateway:",{"Fn::Select":[3,{"Fn::Split":[":",{"Fn::GetAtt":["cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6","Arn"]}]}]},":lambda:path/2015-03-31/functions/",{"Fn::GetAtt":["cftaplamoverridebehaviorauthorizerAuthFunction9DD827D6","Arn"]},"/invocations"]]},"identitySource":"method.request.header.Authorization","name":"cftaplamoverridebehaviorcftaplamoverridebehaviorauthorizer3042C32C","restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},"type":"REQUEST"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnAuthorizer","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.RequestAuthorizer","version":"2.186.0","metadata":["*"]}},"cf-api-lambda-override":{"id":"cf-api-lambda-override","path":"cftaplam-override-behavior/cf-api-lambda-override","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunctionServiceRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"lambda.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaFunctionServiceRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":log-group:/aws/lambda/*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"LambdaFunction":{"id":"LambdaFunction","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction","children":{"Code":{"id":"Code","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.186.0","metadata":[]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.186.0"}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"},"s3Key":"3a18fd3de4803f72260a058823accffd4f8d69986c6862a23cd86265f6cafa0f.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1"}},"handler":"index.handler","role":{"Fn::GetAtt":["cfapilambdaoverrideLambdaFunctionServiceRole4B1A4043","Arn"]},"runtime":"nodejs20.x","tracingConfig":{"mode":"Active"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["xray:PutTelemetryRecords","xray:PutTraceSegments"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"cfapilambdaoverrideLambdaFunctioninlinePolicyAddedToExecutionRole0248615B6","roles":[{"Ref":"cfapilambdaoverrideLambdaFunctionServiceRole4B1A4043"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.186.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.186.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]}]}},"ApiAccessLogGroup":{"id":"ApiAccessLogGroup","path":"cftaplam-override-behavior/cf-api-lambda-override/ApiAccessLogGroup","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/ApiAccessLogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.186.0","metadata":[{"retention":9999}]}},"LambdaRestApi":{"id":"LambdaRestApi","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::RestApi","aws:cdk:cloudformation:props":{"endpointConfiguration":{"types":["REGIONAL"]},"name":"LambdaRestApi"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnRestApi","version":"2.186.0"}},"Deployment":{"id":"Deployment","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Deployment","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Deployment/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Deployment","aws:cdk:cloudformation:props":{"description":"Automatically created by the RestApi construct","restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnDeployment","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Deployment","version":"2.186.0","metadata":[{"description":"*","api":"*","retainDeployments":"*"},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]},{"addToLogicalId":[{}]}]}},"DeploymentStage.prod":{"id":"DeploymentStage.prod","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/DeploymentStage.prod","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/DeploymentStage.prod/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Stage","aws:cdk:cloudformation:props":{"accessLogSetting":{"destinationArn":{"Fn::GetAtt":["cfapilambdaoverrideApiAccessLogGroup2665068D","Arn"]},"format":"{\"requestId\":\"$context.requestId\",\"ip\":\"$context.identity.sourceIp\",\"user\":\"$context.identity.user\",\"caller\":\"$context.identity.caller\",\"requestTime\":\"$context.requestTime\",\"httpMethod\":\"$context.httpMethod\",\"resourcePath\":\"$context.resourcePath\",\"status\":\"$context.status\",\"protocol\":\"$context.protocol\",\"responseLength\":\"$context.responseLength\"}"},"deploymentId":{"Ref":"cfapilambdaoverrideLambdaRestApiDeployment82ACBB00eff3607850f915efb43bbead11999a10"},"methodSettings":[{"httpMethod":"*","resourcePath":"/*","dataTraceEnabled":false,"loggingLevel":"INFO"}],"restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},"stageName":"prod","tracingEnabled":true}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnStage","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Stage","version":"2.186.0","metadata":[{"deployment":"*","accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true}]}},"Endpoint":{"id":"Endpoint","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Endpoint","constructInfo":{"fqn":"aws-cdk-lib.CfnOutput","version":"2.186.0"}},"Default":{"id":"Default","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default","children":{"static":{"id":"static","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Resource","aws:cdk:cloudformation:props":{"parentId":{"Fn::GetAtt":["cfapilambdaoverrideLambdaRestApi6E7952FC","RootResourceId"]},"pathPart":"static","restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnResource","version":"2.186.0"}},"GET":{"id":"GET","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static/GET","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/static/GET/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Method","aws:cdk:cloudformation:props":{"authorizationType":"CUSTOM","authorizerId":{"Ref":"cftaplamoverridebehaviorauthorizer74D77225"},"httpMethod":"GET","integration":{"type":"HTTP_PROXY","uri":"http://amazon.com","integrationHttpMethod":"GET"},"resourceId":{"Ref":"cfapilambdaoverrideLambdaRestApistaticC2ECB649"},"restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnMethod","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Method","version":"2.186.0","metadata":[{"resource":"*","httpMethod":"*","integration":"*","options":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Resource","version":"2.186.0","metadata":[{"pathPart":"*"}]}},"dynamic":{"id":"dynamic","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Resource","aws:cdk:cloudformation:props":{"parentId":{"Fn::GetAtt":["cfapilambdaoverrideLambdaRestApi6E7952FC","RootResourceId"]},"pathPart":"dynamic","restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnResource","version":"2.186.0"}},"GET":{"id":"GET","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET","children":{"ApiPermission.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic":{"id":"ApiPermission.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET/ApiPermission.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["cfapilambdaoverrideLambdaFunction74CE466F","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},"/",{"Ref":"cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"},"/GET/dynamic"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}},"ApiPermission.Test.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic":{"id":"ApiPermission.Test.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET/ApiPermission.Test.cftaplamoverridebehaviorcfapilambdaoverrideLambdaRestApiE3676062.GET..dynamic","attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Permission","aws:cdk:cloudformation:props":{"action":"lambda:InvokeFunction","functionName":{"Fn::GetAtt":["cfapilambdaoverrideLambdaFunction74CE466F","Arn"]},"principal":"apigateway.amazonaws.com","sourceArn":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":execute-api:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":",{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},"/test-invoke-stage/GET/dynamic"]]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnPermission","version":"2.186.0"}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/Default/dynamic/GET/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Method","aws:cdk:cloudformation:props":{"authorizationType":"CUSTOM","authorizerId":{"Ref":"cftaplamoverridebehaviorauthorizer74D77225"},"httpMethod":"GET","integration":{"type":"AWS_PROXY","uri":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":apigateway:",{"Ref":"AWS::Region"},":lambda:path/2015-03-31/functions/",{"Fn::GetAtt":["cfapilambdaoverrideLambdaFunction74CE466F","Arn"]},"/invocations"]]},"integrationHttpMethod":"POST"},"resourceId":{"Ref":"cfapilambdaoverrideLambdaRestApidynamic88206171"},"restApiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnMethod","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Method","version":"2.186.0","metadata":[{"resource":"*","httpMethod":"*","integration":"*","options":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.Resource","version":"2.186.0","metadata":[{"pathPart":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.ResourceBase","version":"2.186.0","metadata":["*"]}},"UsagePlan":{"id":"UsagePlan","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/UsagePlan","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApi/UsagePlan/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::UsagePlan","aws:cdk:cloudformation:props":{"apiStages":[{"apiId":{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},"stage":{"Ref":"cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"},"throttle":{}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnUsagePlan","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.UsagePlan","version":"2.186.0","metadata":[{"apiStages":[{"api":"*"}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.LambdaRestApi","version":"2.186.0","metadata":[{"defaultIntegration":"*","endpointConfiguration":{"types":["REGIONAL"]},"cloudWatchRole":false,"deployOptions":{"accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true},"defaultMethodOptions":{"authorizationType":"*","authorizer":"*"},"handler":"*","proxy":false},{"endpointConfiguration":{"types":["REGIONAL"]},"cloudWatchRole":false,"deployOptions":{"accessLogDestination":"*","accessLogFormat":"*","loggingLevel":"INFO","dataTraceEnabled":false,"tracingEnabled":true},"defaultMethodOptions":{"authorizationType":"*","authorizer":"*"},"handler":"*","proxy":false}]}},"LambdaRestApiCloudWatchRole":{"id":"LambdaRestApiCloudWatchRole","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiCloudWatchRole","children":{"ImportLambdaRestApiCloudWatchRole":{"id":"ImportLambdaRestApiCloudWatchRole","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiCloudWatchRole/ImportLambdaRestApiCloudWatchRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiCloudWatchRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"apigateway.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"LambdaRestApiCloudWatchRolePolicy","policyDocument":{"Statement":[{"Action":["logs:CreateLogGroup","logs:CreateLogStream","logs:DescribeLogGroups","logs:DescribeLogStreams","logs:FilterLogEvents","logs:GetLogEvents","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":logs:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":*"]]}}],"Version":"2012-10-17"}}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]}},"LambdaRestApiAccount":{"id":"LambdaRestApiAccount","path":"cftaplam-override-behavior/cf-api-lambda-override/LambdaRestApiAccount","attributes":{"aws:cdk:cloudformation:type":"AWS::ApiGateway::Account","aws:cdk:cloudformation:props":{"cloudWatchRoleArn":{"Fn::GetAtt":["cfapilambdaoverrideLambdaRestApiCloudWatchRole0F1F3559","Arn"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_apigateway.CfnAccount","version":"2.186.0"}},"CloudFrontToApiGateway":{"id":"CloudFrontToApiGateway","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway","children":{"SetHttpSecurityHeaders":{"id":"SetHttpSecurityHeaders","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/SetHttpSecurityHeaders","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/SetHttpSecurityHeaders/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::Function","aws:cdk:cloudformation:props":{"autoPublish":true,"functionCode":"function handler(event) { var response = event.response; var headers = response.headers; headers['strict-transport-security'] = { value: 'max-age=63072000; includeSubdomains; preload'}; headers['content-security-policy'] = { value: \"default-src 'none'; img-src 'self'; script-src 'self'; style-src 'self'; object-src 'none'\"}; headers['x-content-type-options'] = { value: 'nosniff'}; headers['x-frame-options'] = {value: 'DENY'}; headers['x-xss-protection'] = {value: '1; mode=block'}; return response; }","functionConfig":{"comment":"SetHttpSecurityHeadersc826c2a6a3ffe209aed33765f37752084820de0d3b","runtime":"cloudfront-js-1.0"},"name":"SetHttpSecurityHeadersc826c2a6a3ffe209aed33765f37752084820de0d3b"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnFunction","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.Function","version":"2.186.0","metadata":[{"functionName":"*","code":"*"}]}},"CloudfrontLoggingBucketAccessLog":{"id":"CloudfrontLoggingBucketAccessLog","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"publicAccessBlockConfiguration":{"blockPublicAcls":true,"blockPublicPolicy":true,"ignorePublicAcls":true,"restrictPublicBuckets":true},"versioningConfiguration":{"status":"Enabled"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.186.0"}},"Policy":{"id":"Policy","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog/Policy","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucketAccessLog/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9","Arn"]},"/*"]]}]},{"Action":"s3:PutObject","Condition":{"ArnLike":{"aws:SourceArn":{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0","Arn"]}},"StringEquals":{"aws:SourceAccount":{"Ref":"AWS::AccountId"}}},"Effect":"Allow","Principal":{"Service":"logging.s3.amazonaws.com"},"Resource":{"Fn::Join":["",[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9","Arn"]},"/*"]]}}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.186.0","metadata":[{"bucket":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.186.0","metadata":[{"encryption":"S3_MANAGED","versioned":true,"blockPublicAccess":"*","removalPolicy":"retain","enforceSSL":true}]}},"CloudfrontLoggingBucket":{"id":"CloudfrontLoggingBucket","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::Bucket","aws:cdk:cloudformation:props":{"bucketEncryption":{"serverSideEncryptionConfiguration":[{"serverSideEncryptionByDefault":{"sseAlgorithm":"AES256"}}]},"loggingConfiguration":{"destinationBucketName":{"Ref":"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucketAccessLog9CEB5CD9"}},"ownershipControls":{"rules":[{"objectOwnership":"ObjectWriter"}]},"publicAccessBlockConfiguration":{"blockPublicAcls":true,"blockPublicPolicy":true,"ignorePublicAcls":true,"restrictPublicBuckets":true},"tags":[{"key":"aws-cdk:auto-delete-objects","value":"true"}],"versioningConfiguration":{"status":"Enabled"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucket","version":"2.186.0"}},"Policy":{"id":"Policy","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/Policy","children":{"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/Policy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::S3::BucketPolicy","aws:cdk:cloudformation:props":{"bucket":{"Ref":"cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0"},"policyDocument":{"Statement":[{"Action":"s3:*","Condition":{"Bool":{"aws:SecureTransport":"false"}},"Effect":"Deny","Principal":{"AWS":"*"},"Resource":[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0","Arn"]},"/*"]]}]},{"Action":["s3:DeleteObject*","s3:GetBucket*","s3:List*","s3:PutBucketPolicy"],"Effect":"Allow","Principal":{"AWS":{"Fn::GetAtt":["CustomS3AutoDeleteObjectsCustomResourceProviderRole3B1BD092","Arn"]}},"Resource":[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0","Arn"]},{"Fn::Join":["",[{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0","Arn"]},"/*"]]}]}],"Version":"2012-10-17"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.CfnBucketPolicy","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketPolicy","version":"2.186.0","metadata":[{"bucket":"*"}]}},"AutoDeleteObjectsCustomResource":{"id":"AutoDeleteObjectsCustomResource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource","children":{"Default":{"id":"Default","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudfrontLoggingBucket/AutoDeleteObjectsCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.186.0","metadata":["*"]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_s3.Bucket","version":"2.186.0","metadata":[{"encryption":"S3_MANAGED","versioned":true,"blockPublicAccess":"*","removalPolicy":"destroy","enforceSSL":true,"autoDeleteObjects":true,"objectOwnership":"ObjectWriter","serverAccessLogsBucket":"*"}]}},"CloudFrontDistribution":{"id":"CloudFrontDistribution","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution","children":{"Origin1":{"id":"Origin1","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution/Origin1","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"Resource":{"id":"Resource","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudFront::Distribution","aws:cdk:cloudformation:props":{"distributionConfig":{"enabled":true,"origins":[{"domainName":{"Fn::Select":[0,{"Fn::Split":["/",{"Fn::Select":[1,{"Fn::Split":["://",{"Fn::Join":["",["https://",{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},".execute-api.",{"Ref":"AWS::Region"},".",{"Ref":"AWS::URLSuffix"},"/",{"Ref":"cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"},"/"]]}]}]}]}]},"id":"cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin14C42522D","originPath":{"Fn::Join":["",["/",{"Ref":"cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"}]]},"customOriginConfig":{"originSslProtocols":["TLSv1.2"],"originProtocolPolicy":"https-only"}},{"domainName":{"Fn::Select":[0,{"Fn::Split":["/",{"Fn::Select":[1,{"Fn::Split":["://",{"Fn::Join":["",["https://",{"Ref":"cfapilambdaoverrideLambdaRestApi6E7952FC"},".execute-api.",{"Ref":"AWS::Region"},".",{"Ref":"AWS::URLSuffix"},"/",{"Ref":"cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"},"/"]]}]}]}]}]},"id":"cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin2D0C9421C","originPath":{"Fn::Join":["",["/",{"Ref":"cfapilambdaoverrideLambdaRestApiDeploymentStageprodC4F6FBB5"},"/dynamic"]]},"customOriginConfig":{"originSslProtocols":["TLSv1.2"],"originProtocolPolicy":"https-only"}}],"defaultCacheBehavior":{"pathPattern":"*","targetOriginId":"cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin14C42522D","cachePolicyId":{"Ref":"SomeCachePolicy40B9E4D4"},"compress":true,"viewerProtocolPolicy":"redirect-to-https","functionAssociations":[{"functionArn":{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewaySetHttpSecurityHeaders67E61E6E","FunctionARN"]},"eventType":"viewer-response"}]},"cacheBehaviors":[{"pathPattern":"/dynamic","targetOriginId":"cftaplamoverridebehaviorcfapilambdaoverrideCloudFrontToApiGatewayCloudFrontDistributionOrigin2D0C9421C","cachePolicyId":{"Ref":"NoCachePolicy1F71EC46"},"compress":true,"viewerProtocolPolicy":"allow-all"}],"httpVersion":"http2","ipv6Enabled":true,"logging":{"bucket":{"Fn::GetAtt":["cfapilambdaoverrideCloudFrontToApiGatewayCloudfrontLoggingBucket3A71B9E0","RegionalDomainName"]}}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.CfnDistribution","version":"2.186.0"}},"Origin2":{"id":"Origin2","path":"cftaplam-override-behavior/cf-api-lambda-override/CloudFrontToApiGateway/CloudFrontDistribution/Origin2","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudfront.Distribution","version":"2.186.0","metadata":[{"defaultBehavior":{"origin":"*","functionAssociations":[{"eventType":"viewer-response","function":"*"}],"viewerProtocolPolicy":"redirect-to-https","cachePolicy":"*"},"enableLogging":true,"logBucket":"*"},{"addBehavior":["*",{},{"cachePolicy":"*"}]}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-cloudfront-apigateway.CloudFrontToApiGateway","version":"2.80.0"}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-cloudfront-apigateway-lambda.CloudFrontToApiGatewayToLambda","version":"2.80.0"}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"cftaplam-override-behavior/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"Custom::S3AutoDeleteObjectsCustomResourceProvider":{"id":"Custom::S3AutoDeleteObjectsCustomResourceProvider","path":"cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"Role":{"id":"Role","path":"cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}},"Handler":{"id":"Handler","path":"cftaplam-override-behavior/Custom::S3AutoDeleteObjectsCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.186.0"}},"Integ":{"id":"Integ","path":"cftaplam-override-behavior/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"cftaplam-override-behavior/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"cftaplam-override-behavior/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"cftaplam-override-behavior/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"cftaplam-override-behavior/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cftaplam-override-behavior/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.186.0-alpha.0"}}},"constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.186.0-alpha.0"}},"BootstrapVersion":{"id":"BootstrapVersion","path":"cftaplam-override-behavior/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"cftaplam-override-behavior/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.186.0"}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}},"constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.186.0"}}}
|