@aws-solutions-constructs/aws-lambda-opensearch 2.51.0 → 2.52.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.
Files changed (79) hide show
  1. package/.eslintignore +2 -0
  2. package/.jsii +49 -4
  3. package/integ.config.json +7 -0
  4. package/lib/index.js +1 -1
  5. package/package.json +9 -8
  6. package/test/integ.lamopn-cluster-config.js +6 -2
  7. package/test/integ.lamopn-cluster-config.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +60 -0
  8. package/test/integ.lamopn-cluster-config.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  9. package/test/integ.lamopn-cluster-config.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  10. package/test/integ.lamopn-cluster-config.js.snapshot/cdk.out +1 -0
  11. package/test/integ.lamopn-cluster-config.js.snapshot/integ.json +12 -0
  12. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.assets.json +45 -0
  13. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.template.json +1295 -0
  14. package/test/integ.lamopn-cluster-config.js.snapshot/lamopnclusterconfigIntegDefaultTestDeployAssertD8012D1A.assets.json +19 -0
  15. package/test/integ.lamopn-cluster-config.js.snapshot/lamopnclusterconfigIntegDefaultTestDeployAssertD8012D1A.template.json +36 -0
  16. package/test/integ.lamopn-cluster-config.js.snapshot/manifest.json +323 -0
  17. package/test/integ.lamopn-cluster-config.js.snapshot/tree.json +1795 -0
  18. package/test/integ.lamopn-disabled-zone-awareness.js +6 -2
  19. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +60 -0
  20. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  21. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  22. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/cdk.out +1 -0
  23. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/integ.json +12 -0
  24. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.assets.json +45 -0
  25. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.template.json +1228 -0
  26. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopndisabledzoneawarenessIntegDefaultTestDeployAssert7E083B68.assets.json +19 -0
  27. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopndisabledzoneawarenessIntegDefaultTestDeployAssert7E083B68.template.json +36 -0
  28. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/manifest.json +305 -0
  29. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/tree.json +1687 -0
  30. package/test/integ.lamopn-domain-arguments.js +5 -2
  31. package/test/integ.lamopn-domain-arguments.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +60 -0
  32. package/test/integ.lamopn-domain-arguments.js.snapshot/cdk.out +1 -0
  33. package/test/integ.lamopn-domain-arguments.js.snapshot/integ.json +12 -0
  34. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopn-domain-arguments.assets.json +32 -0
  35. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopn-domain-arguments.template.json +846 -0
  36. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopndomainargumentsIntegDefaultTestDeployAssert47534E1E.assets.json +19 -0
  37. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopndomainargumentsIntegDefaultTestDeployAssert47534E1E.template.json +36 -0
  38. package/test/integ.lamopn-domain-arguments.js.snapshot/manifest.json +233 -0
  39. package/test/integ.lamopn-domain-arguments.js.snapshot/tree.json +1256 -0
  40. package/test/integ.lamopn-existing-vpc.js +12 -6
  41. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +60 -0
  42. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  43. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  44. package/test/integ.lamopn-existing-vpc.js.snapshot/cdk.out +1 -0
  45. package/test/integ.lamopn-existing-vpc.js.snapshot/integ.json +12 -0
  46. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.assets.json +48 -0
  47. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.template.json +1571 -0
  48. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopnexistingvpcIntegDefaultTestDeployAssert4A7EE058.assets.json +19 -0
  49. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopnexistingvpcIntegDefaultTestDeployAssert4A7EE058.template.json +36 -0
  50. package/test/integ.lamopn-existing-vpc.js.snapshot/manifest.json +419 -0
  51. package/test/integ.lamopn-existing-vpc.js.snapshot/tree.json +2207 -0
  52. package/test/integ.lamopn-no-arguments.js +5 -2
  53. package/test/integ.lamopn-no-arguments.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +60 -0
  54. package/test/integ.lamopn-no-arguments.js.snapshot/cdk.out +1 -0
  55. package/test/integ.lamopn-no-arguments.js.snapshot/integ.json +12 -0
  56. package/test/integ.lamopn-no-arguments.js.snapshot/lamopn-no-arguments.assets.json +32 -0
  57. package/test/integ.lamopn-no-arguments.js.snapshot/lamopn-no-arguments.template.json +846 -0
  58. package/test/integ.lamopn-no-arguments.js.snapshot/lamopnnoargumentsIntegDefaultTestDeployAssert4290A592.assets.json +19 -0
  59. package/test/integ.lamopn-no-arguments.js.snapshot/lamopnnoargumentsIntegDefaultTestDeployAssert4290A592.template.json +36 -0
  60. package/test/integ.lamopn-no-arguments.js.snapshot/manifest.json +233 -0
  61. package/test/integ.lamopn-no-arguments.js.snapshot/tree.json +1256 -0
  62. package/test/integ.lamopn-vpc-props.js +12 -6
  63. package/test/integ.lamopn-vpc-props.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +60 -0
  64. package/test/integ.lamopn-vpc-props.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/__entrypoint__.js +1 -0
  65. package/test/integ.lamopn-vpc-props.js.snapshot/asset.dd5711540f04e06aa955d7f4862fc04e8cdea464cb590dae91ed2976bb78098e/index.js +1 -0
  66. package/test/integ.lamopn-vpc-props.js.snapshot/cdk.out +1 -0
  67. package/test/integ.lamopn-vpc-props.js.snapshot/integ.json +12 -0
  68. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.assets.json +48 -0
  69. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.template.json +1287 -0
  70. package/test/integ.lamopn-vpc-props.js.snapshot/lamopnvpcpropsIntegDefaultTestDeployAssertC7FD49B0.assets.json +19 -0
  71. package/test/integ.lamopn-vpc-props.js.snapshot/lamopnvpcpropsIntegDefaultTestDeployAssertC7FD49B0.template.json +36 -0
  72. package/test/integ.lamopn-vpc-props.js.snapshot/manifest.json +323 -0
  73. package/test/integ.lamopn-vpc-props.js.snapshot/tree.json +1795 -0
  74. package/test/integ.lamopn-cluster-config.expected.json +0 -1153
  75. package/test/integ.lamopn-disabled-zone-awareness.expected.json +0 -1093
  76. package/test/integ.lamopn-domain-arguments.expected.json +0 -846
  77. package/test/integ.lamopn-existing-vpc.expected.json +0 -1602
  78. package/test/integ.lamopn-no-arguments.expected.json +0 -846
  79. package/test/integ.lamopn-vpc-props.expected.json +0 -1208
@@ -0,0 +1,2207 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "lamopn-existing-vpc": {
8
+ "id": "lamopn-existing-vpc",
9
+ "path": "lamopn-existing-vpc",
10
+ "children": {
11
+ "Vpc": {
12
+ "id": "Vpc",
13
+ "path": "lamopn-existing-vpc/Vpc",
14
+ "children": {
15
+ "Resource": {
16
+ "id": "Resource",
17
+ "path": "lamopn-existing-vpc/Vpc/Resource",
18
+ "attributes": {
19
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
20
+ "aws:cdk:cloudformation:props": {
21
+ "cidrBlock": "172.168.0.0/16",
22
+ "enableDnsHostnames": true,
23
+ "enableDnsSupport": true,
24
+ "instanceTenancy": "default",
25
+ "tags": [
26
+ {
27
+ "key": "Name",
28
+ "value": "lamopn-existing-vpc/Vpc"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ "constructInfo": {
34
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
35
+ "version": "2.118.0"
36
+ }
37
+ },
38
+ "PublicSubnet1": {
39
+ "id": "PublicSubnet1",
40
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1",
41
+ "children": {
42
+ "Subnet": {
43
+ "id": "Subnet",
44
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/Subnet",
45
+ "attributes": {
46
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
47
+ "aws:cdk:cloudformation:props": {
48
+ "availabilityZone": {
49
+ "Fn::Select": [
50
+ 0,
51
+ {
52
+ "Fn::GetAZs": ""
53
+ }
54
+ ]
55
+ },
56
+ "cidrBlock": "172.168.0.0/18",
57
+ "mapPublicIpOnLaunch": true,
58
+ "tags": [
59
+ {
60
+ "key": "aws-cdk:subnet-name",
61
+ "value": "Public"
62
+ },
63
+ {
64
+ "key": "aws-cdk:subnet-type",
65
+ "value": "Public"
66
+ },
67
+ {
68
+ "key": "Name",
69
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet1"
70
+ }
71
+ ],
72
+ "vpcId": {
73
+ "Ref": "Vpc8378EB38"
74
+ }
75
+ }
76
+ },
77
+ "constructInfo": {
78
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
79
+ "version": "2.118.0"
80
+ }
81
+ },
82
+ "Acl": {
83
+ "id": "Acl",
84
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/Acl",
85
+ "constructInfo": {
86
+ "fqn": "aws-cdk-lib.Resource",
87
+ "version": "2.118.0"
88
+ }
89
+ },
90
+ "RouteTable": {
91
+ "id": "RouteTable",
92
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/RouteTable",
93
+ "attributes": {
94
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
95
+ "aws:cdk:cloudformation:props": {
96
+ "tags": [
97
+ {
98
+ "key": "Name",
99
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet1"
100
+ }
101
+ ],
102
+ "vpcId": {
103
+ "Ref": "Vpc8378EB38"
104
+ }
105
+ }
106
+ },
107
+ "constructInfo": {
108
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
109
+ "version": "2.118.0"
110
+ }
111
+ },
112
+ "RouteTableAssociation": {
113
+ "id": "RouteTableAssociation",
114
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/RouteTableAssociation",
115
+ "attributes": {
116
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
117
+ "aws:cdk:cloudformation:props": {
118
+ "routeTableId": {
119
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
120
+ },
121
+ "subnetId": {
122
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
123
+ }
124
+ }
125
+ },
126
+ "constructInfo": {
127
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
128
+ "version": "2.118.0"
129
+ }
130
+ },
131
+ "DefaultRoute": {
132
+ "id": "DefaultRoute",
133
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/DefaultRoute",
134
+ "attributes": {
135
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
136
+ "aws:cdk:cloudformation:props": {
137
+ "destinationCidrBlock": "0.0.0.0/0",
138
+ "gatewayId": {
139
+ "Ref": "VpcIGWD7BA715C"
140
+ },
141
+ "routeTableId": {
142
+ "Ref": "VpcPublicSubnet1RouteTable6C95E38E"
143
+ }
144
+ }
145
+ },
146
+ "constructInfo": {
147
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
148
+ "version": "2.118.0"
149
+ }
150
+ },
151
+ "EIP": {
152
+ "id": "EIP",
153
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/EIP",
154
+ "attributes": {
155
+ "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
156
+ "aws:cdk:cloudformation:props": {
157
+ "domain": "vpc",
158
+ "tags": [
159
+ {
160
+ "key": "Name",
161
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet1"
162
+ }
163
+ ]
164
+ }
165
+ },
166
+ "constructInfo": {
167
+ "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
168
+ "version": "2.118.0"
169
+ }
170
+ },
171
+ "NATGateway": {
172
+ "id": "NATGateway",
173
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet1/NATGateway",
174
+ "attributes": {
175
+ "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
176
+ "aws:cdk:cloudformation:props": {
177
+ "allocationId": {
178
+ "Fn::GetAtt": [
179
+ "VpcPublicSubnet1EIPD7E02669",
180
+ "AllocationId"
181
+ ]
182
+ },
183
+ "subnetId": {
184
+ "Ref": "VpcPublicSubnet1Subnet5C2D37C4"
185
+ },
186
+ "tags": [
187
+ {
188
+ "key": "Name",
189
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet1"
190
+ }
191
+ ]
192
+ }
193
+ },
194
+ "constructInfo": {
195
+ "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
196
+ "version": "2.118.0"
197
+ }
198
+ }
199
+ },
200
+ "constructInfo": {
201
+ "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
202
+ "version": "2.118.0"
203
+ }
204
+ },
205
+ "PublicSubnet2": {
206
+ "id": "PublicSubnet2",
207
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2",
208
+ "children": {
209
+ "Subnet": {
210
+ "id": "Subnet",
211
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/Subnet",
212
+ "attributes": {
213
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
214
+ "aws:cdk:cloudformation:props": {
215
+ "availabilityZone": {
216
+ "Fn::Select": [
217
+ 1,
218
+ {
219
+ "Fn::GetAZs": ""
220
+ }
221
+ ]
222
+ },
223
+ "cidrBlock": "172.168.64.0/18",
224
+ "mapPublicIpOnLaunch": true,
225
+ "tags": [
226
+ {
227
+ "key": "aws-cdk:subnet-name",
228
+ "value": "Public"
229
+ },
230
+ {
231
+ "key": "aws-cdk:subnet-type",
232
+ "value": "Public"
233
+ },
234
+ {
235
+ "key": "Name",
236
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet2"
237
+ }
238
+ ],
239
+ "vpcId": {
240
+ "Ref": "Vpc8378EB38"
241
+ }
242
+ }
243
+ },
244
+ "constructInfo": {
245
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
246
+ "version": "2.118.0"
247
+ }
248
+ },
249
+ "Acl": {
250
+ "id": "Acl",
251
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/Acl",
252
+ "constructInfo": {
253
+ "fqn": "aws-cdk-lib.Resource",
254
+ "version": "2.118.0"
255
+ }
256
+ },
257
+ "RouteTable": {
258
+ "id": "RouteTable",
259
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/RouteTable",
260
+ "attributes": {
261
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
262
+ "aws:cdk:cloudformation:props": {
263
+ "tags": [
264
+ {
265
+ "key": "Name",
266
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet2"
267
+ }
268
+ ],
269
+ "vpcId": {
270
+ "Ref": "Vpc8378EB38"
271
+ }
272
+ }
273
+ },
274
+ "constructInfo": {
275
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
276
+ "version": "2.118.0"
277
+ }
278
+ },
279
+ "RouteTableAssociation": {
280
+ "id": "RouteTableAssociation",
281
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/RouteTableAssociation",
282
+ "attributes": {
283
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
284
+ "aws:cdk:cloudformation:props": {
285
+ "routeTableId": {
286
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
287
+ },
288
+ "subnetId": {
289
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
290
+ }
291
+ }
292
+ },
293
+ "constructInfo": {
294
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
295
+ "version": "2.118.0"
296
+ }
297
+ },
298
+ "DefaultRoute": {
299
+ "id": "DefaultRoute",
300
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/DefaultRoute",
301
+ "attributes": {
302
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
303
+ "aws:cdk:cloudformation:props": {
304
+ "destinationCidrBlock": "0.0.0.0/0",
305
+ "gatewayId": {
306
+ "Ref": "VpcIGWD7BA715C"
307
+ },
308
+ "routeTableId": {
309
+ "Ref": "VpcPublicSubnet2RouteTable94F7E489"
310
+ }
311
+ }
312
+ },
313
+ "constructInfo": {
314
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
315
+ "version": "2.118.0"
316
+ }
317
+ },
318
+ "EIP": {
319
+ "id": "EIP",
320
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/EIP",
321
+ "attributes": {
322
+ "aws:cdk:cloudformation:type": "AWS::EC2::EIP",
323
+ "aws:cdk:cloudformation:props": {
324
+ "domain": "vpc",
325
+ "tags": [
326
+ {
327
+ "key": "Name",
328
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet2"
329
+ }
330
+ ]
331
+ }
332
+ },
333
+ "constructInfo": {
334
+ "fqn": "aws-cdk-lib.aws_ec2.CfnEIP",
335
+ "version": "2.118.0"
336
+ }
337
+ },
338
+ "NATGateway": {
339
+ "id": "NATGateway",
340
+ "path": "lamopn-existing-vpc/Vpc/PublicSubnet2/NATGateway",
341
+ "attributes": {
342
+ "aws:cdk:cloudformation:type": "AWS::EC2::NatGateway",
343
+ "aws:cdk:cloudformation:props": {
344
+ "allocationId": {
345
+ "Fn::GetAtt": [
346
+ "VpcPublicSubnet2EIP3C605A87",
347
+ "AllocationId"
348
+ ]
349
+ },
350
+ "subnetId": {
351
+ "Ref": "VpcPublicSubnet2Subnet691E08A3"
352
+ },
353
+ "tags": [
354
+ {
355
+ "key": "Name",
356
+ "value": "lamopn-existing-vpc/Vpc/PublicSubnet2"
357
+ }
358
+ ]
359
+ }
360
+ },
361
+ "constructInfo": {
362
+ "fqn": "aws-cdk-lib.aws_ec2.CfnNatGateway",
363
+ "version": "2.118.0"
364
+ }
365
+ }
366
+ },
367
+ "constructInfo": {
368
+ "fqn": "aws-cdk-lib.aws_ec2.PublicSubnet",
369
+ "version": "2.118.0"
370
+ }
371
+ },
372
+ "PrivateSubnet1": {
373
+ "id": "PrivateSubnet1",
374
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet1",
375
+ "children": {
376
+ "Subnet": {
377
+ "id": "Subnet",
378
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet1/Subnet",
379
+ "attributes": {
380
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
381
+ "aws:cdk:cloudformation:props": {
382
+ "availabilityZone": {
383
+ "Fn::Select": [
384
+ 0,
385
+ {
386
+ "Fn::GetAZs": ""
387
+ }
388
+ ]
389
+ },
390
+ "cidrBlock": "172.168.128.0/18",
391
+ "mapPublicIpOnLaunch": false,
392
+ "tags": [
393
+ {
394
+ "key": "aws-cdk:subnet-name",
395
+ "value": "Private"
396
+ },
397
+ {
398
+ "key": "aws-cdk:subnet-type",
399
+ "value": "Private"
400
+ },
401
+ {
402
+ "key": "Name",
403
+ "value": "lamopn-existing-vpc/Vpc/PrivateSubnet1"
404
+ }
405
+ ],
406
+ "vpcId": {
407
+ "Ref": "Vpc8378EB38"
408
+ }
409
+ }
410
+ },
411
+ "constructInfo": {
412
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
413
+ "version": "2.118.0"
414
+ }
415
+ },
416
+ "Acl": {
417
+ "id": "Acl",
418
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet1/Acl",
419
+ "constructInfo": {
420
+ "fqn": "aws-cdk-lib.Resource",
421
+ "version": "2.118.0"
422
+ }
423
+ },
424
+ "RouteTable": {
425
+ "id": "RouteTable",
426
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet1/RouteTable",
427
+ "attributes": {
428
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
429
+ "aws:cdk:cloudformation:props": {
430
+ "tags": [
431
+ {
432
+ "key": "Name",
433
+ "value": "lamopn-existing-vpc/Vpc/PrivateSubnet1"
434
+ }
435
+ ],
436
+ "vpcId": {
437
+ "Ref": "Vpc8378EB38"
438
+ }
439
+ }
440
+ },
441
+ "constructInfo": {
442
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
443
+ "version": "2.118.0"
444
+ }
445
+ },
446
+ "RouteTableAssociation": {
447
+ "id": "RouteTableAssociation",
448
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet1/RouteTableAssociation",
449
+ "attributes": {
450
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
451
+ "aws:cdk:cloudformation:props": {
452
+ "routeTableId": {
453
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
454
+ },
455
+ "subnetId": {
456
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
457
+ }
458
+ }
459
+ },
460
+ "constructInfo": {
461
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
462
+ "version": "2.118.0"
463
+ }
464
+ },
465
+ "DefaultRoute": {
466
+ "id": "DefaultRoute",
467
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet1/DefaultRoute",
468
+ "attributes": {
469
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
470
+ "aws:cdk:cloudformation:props": {
471
+ "destinationCidrBlock": "0.0.0.0/0",
472
+ "natGatewayId": {
473
+ "Ref": "VpcPublicSubnet1NATGateway4D7517AA"
474
+ },
475
+ "routeTableId": {
476
+ "Ref": "VpcPrivateSubnet1RouteTableB2C5B500"
477
+ }
478
+ }
479
+ },
480
+ "constructInfo": {
481
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
482
+ "version": "2.118.0"
483
+ }
484
+ }
485
+ },
486
+ "constructInfo": {
487
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
488
+ "version": "2.118.0"
489
+ }
490
+ },
491
+ "PrivateSubnet2": {
492
+ "id": "PrivateSubnet2",
493
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet2",
494
+ "children": {
495
+ "Subnet": {
496
+ "id": "Subnet",
497
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet2/Subnet",
498
+ "attributes": {
499
+ "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
500
+ "aws:cdk:cloudformation:props": {
501
+ "availabilityZone": {
502
+ "Fn::Select": [
503
+ 1,
504
+ {
505
+ "Fn::GetAZs": ""
506
+ }
507
+ ]
508
+ },
509
+ "cidrBlock": "172.168.192.0/18",
510
+ "mapPublicIpOnLaunch": false,
511
+ "tags": [
512
+ {
513
+ "key": "aws-cdk:subnet-name",
514
+ "value": "Private"
515
+ },
516
+ {
517
+ "key": "aws-cdk:subnet-type",
518
+ "value": "Private"
519
+ },
520
+ {
521
+ "key": "Name",
522
+ "value": "lamopn-existing-vpc/Vpc/PrivateSubnet2"
523
+ }
524
+ ],
525
+ "vpcId": {
526
+ "Ref": "Vpc8378EB38"
527
+ }
528
+ }
529
+ },
530
+ "constructInfo": {
531
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
532
+ "version": "2.118.0"
533
+ }
534
+ },
535
+ "Acl": {
536
+ "id": "Acl",
537
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet2/Acl",
538
+ "constructInfo": {
539
+ "fqn": "aws-cdk-lib.Resource",
540
+ "version": "2.118.0"
541
+ }
542
+ },
543
+ "RouteTable": {
544
+ "id": "RouteTable",
545
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet2/RouteTable",
546
+ "attributes": {
547
+ "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
548
+ "aws:cdk:cloudformation:props": {
549
+ "tags": [
550
+ {
551
+ "key": "Name",
552
+ "value": "lamopn-existing-vpc/Vpc/PrivateSubnet2"
553
+ }
554
+ ],
555
+ "vpcId": {
556
+ "Ref": "Vpc8378EB38"
557
+ }
558
+ }
559
+ },
560
+ "constructInfo": {
561
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
562
+ "version": "2.118.0"
563
+ }
564
+ },
565
+ "RouteTableAssociation": {
566
+ "id": "RouteTableAssociation",
567
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet2/RouteTableAssociation",
568
+ "attributes": {
569
+ "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
570
+ "aws:cdk:cloudformation:props": {
571
+ "routeTableId": {
572
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
573
+ },
574
+ "subnetId": {
575
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
576
+ }
577
+ }
578
+ },
579
+ "constructInfo": {
580
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
581
+ "version": "2.118.0"
582
+ }
583
+ },
584
+ "DefaultRoute": {
585
+ "id": "DefaultRoute",
586
+ "path": "lamopn-existing-vpc/Vpc/PrivateSubnet2/DefaultRoute",
587
+ "attributes": {
588
+ "aws:cdk:cloudformation:type": "AWS::EC2::Route",
589
+ "aws:cdk:cloudformation:props": {
590
+ "destinationCidrBlock": "0.0.0.0/0",
591
+ "natGatewayId": {
592
+ "Ref": "VpcPublicSubnet2NATGateway9182C01D"
593
+ },
594
+ "routeTableId": {
595
+ "Ref": "VpcPrivateSubnet2RouteTableA678073B"
596
+ }
597
+ }
598
+ },
599
+ "constructInfo": {
600
+ "fqn": "aws-cdk-lib.aws_ec2.CfnRoute",
601
+ "version": "2.118.0"
602
+ }
603
+ }
604
+ },
605
+ "constructInfo": {
606
+ "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
607
+ "version": "2.118.0"
608
+ }
609
+ },
610
+ "IGW": {
611
+ "id": "IGW",
612
+ "path": "lamopn-existing-vpc/Vpc/IGW",
613
+ "attributes": {
614
+ "aws:cdk:cloudformation:type": "AWS::EC2::InternetGateway",
615
+ "aws:cdk:cloudformation:props": {
616
+ "tags": [
617
+ {
618
+ "key": "Name",
619
+ "value": "lamopn-existing-vpc/Vpc"
620
+ }
621
+ ]
622
+ }
623
+ },
624
+ "constructInfo": {
625
+ "fqn": "aws-cdk-lib.aws_ec2.CfnInternetGateway",
626
+ "version": "2.118.0"
627
+ }
628
+ },
629
+ "VPCGW": {
630
+ "id": "VPCGW",
631
+ "path": "lamopn-existing-vpc/Vpc/VPCGW",
632
+ "attributes": {
633
+ "aws:cdk:cloudformation:type": "AWS::EC2::VPCGatewayAttachment",
634
+ "aws:cdk:cloudformation:props": {
635
+ "internetGatewayId": {
636
+ "Ref": "VpcIGWD7BA715C"
637
+ },
638
+ "vpcId": {
639
+ "Ref": "Vpc8378EB38"
640
+ }
641
+ }
642
+ },
643
+ "constructInfo": {
644
+ "fqn": "aws-cdk-lib.aws_ec2.CfnVPCGatewayAttachment",
645
+ "version": "2.118.0"
646
+ }
647
+ },
648
+ "RestrictDefaultSecurityGroupCustomResource": {
649
+ "id": "RestrictDefaultSecurityGroupCustomResource",
650
+ "path": "lamopn-existing-vpc/Vpc/RestrictDefaultSecurityGroupCustomResource",
651
+ "children": {
652
+ "Default": {
653
+ "id": "Default",
654
+ "path": "lamopn-existing-vpc/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
655
+ "constructInfo": {
656
+ "fqn": "aws-cdk-lib.CfnResource",
657
+ "version": "2.118.0"
658
+ }
659
+ }
660
+ },
661
+ "constructInfo": {
662
+ "fqn": "aws-cdk-lib.CustomResource",
663
+ "version": "2.118.0"
664
+ }
665
+ },
666
+ "FlowLog": {
667
+ "id": "FlowLog",
668
+ "path": "lamopn-existing-vpc/Vpc/FlowLog",
669
+ "children": {
670
+ "IAMRole": {
671
+ "id": "IAMRole",
672
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/IAMRole",
673
+ "children": {
674
+ "ImportIAMRole": {
675
+ "id": "ImportIAMRole",
676
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/IAMRole/ImportIAMRole",
677
+ "constructInfo": {
678
+ "fqn": "aws-cdk-lib.Resource",
679
+ "version": "2.118.0"
680
+ }
681
+ },
682
+ "Resource": {
683
+ "id": "Resource",
684
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/IAMRole/Resource",
685
+ "attributes": {
686
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
687
+ "aws:cdk:cloudformation:props": {
688
+ "assumeRolePolicyDocument": {
689
+ "Statement": [
690
+ {
691
+ "Action": "sts:AssumeRole",
692
+ "Effect": "Allow",
693
+ "Principal": {
694
+ "Service": "vpc-flow-logs.amazonaws.com"
695
+ }
696
+ }
697
+ ],
698
+ "Version": "2012-10-17"
699
+ },
700
+ "tags": [
701
+ {
702
+ "key": "Name",
703
+ "value": "lamopn-existing-vpc/Vpc/FlowLog"
704
+ }
705
+ ]
706
+ }
707
+ },
708
+ "constructInfo": {
709
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
710
+ "version": "2.118.0"
711
+ }
712
+ },
713
+ "DefaultPolicy": {
714
+ "id": "DefaultPolicy",
715
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/IAMRole/DefaultPolicy",
716
+ "children": {
717
+ "Resource": {
718
+ "id": "Resource",
719
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
720
+ "attributes": {
721
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
722
+ "aws:cdk:cloudformation:props": {
723
+ "policyDocument": {
724
+ "Statement": [
725
+ {
726
+ "Action": [
727
+ "logs:CreateLogStream",
728
+ "logs:DescribeLogStreams",
729
+ "logs:PutLogEvents"
730
+ ],
731
+ "Effect": "Allow",
732
+ "Resource": {
733
+ "Fn::GetAtt": [
734
+ "VpcFlowLogLogGroup7B5C56B9",
735
+ "Arn"
736
+ ]
737
+ }
738
+ },
739
+ {
740
+ "Action": "iam:PassRole",
741
+ "Effect": "Allow",
742
+ "Resource": {
743
+ "Fn::GetAtt": [
744
+ "VpcFlowLogIAMRole6A475D41",
745
+ "Arn"
746
+ ]
747
+ }
748
+ }
749
+ ],
750
+ "Version": "2012-10-17"
751
+ },
752
+ "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
753
+ "roles": [
754
+ {
755
+ "Ref": "VpcFlowLogIAMRole6A475D41"
756
+ }
757
+ ]
758
+ }
759
+ },
760
+ "constructInfo": {
761
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
762
+ "version": "2.118.0"
763
+ }
764
+ }
765
+ },
766
+ "constructInfo": {
767
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
768
+ "version": "2.118.0"
769
+ }
770
+ }
771
+ },
772
+ "constructInfo": {
773
+ "fqn": "aws-cdk-lib.aws_iam.Role",
774
+ "version": "2.118.0"
775
+ }
776
+ },
777
+ "LogGroup": {
778
+ "id": "LogGroup",
779
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/LogGroup",
780
+ "children": {
781
+ "Resource": {
782
+ "id": "Resource",
783
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/LogGroup/Resource",
784
+ "attributes": {
785
+ "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
786
+ "aws:cdk:cloudformation:props": {
787
+ "retentionInDays": 731,
788
+ "tags": [
789
+ {
790
+ "key": "Name",
791
+ "value": "lamopn-existing-vpc/Vpc/FlowLog"
792
+ }
793
+ ]
794
+ }
795
+ },
796
+ "constructInfo": {
797
+ "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
798
+ "version": "2.118.0"
799
+ }
800
+ }
801
+ },
802
+ "constructInfo": {
803
+ "fqn": "aws-cdk-lib.aws_logs.LogGroup",
804
+ "version": "2.118.0"
805
+ }
806
+ },
807
+ "FlowLog": {
808
+ "id": "FlowLog",
809
+ "path": "lamopn-existing-vpc/Vpc/FlowLog/FlowLog",
810
+ "attributes": {
811
+ "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
812
+ "aws:cdk:cloudformation:props": {
813
+ "deliverLogsPermissionArn": {
814
+ "Fn::GetAtt": [
815
+ "VpcFlowLogIAMRole6A475D41",
816
+ "Arn"
817
+ ]
818
+ },
819
+ "logDestinationType": "cloud-watch-logs",
820
+ "logGroupName": {
821
+ "Ref": "VpcFlowLogLogGroup7B5C56B9"
822
+ },
823
+ "resourceId": {
824
+ "Ref": "Vpc8378EB38"
825
+ },
826
+ "resourceType": "VPC",
827
+ "tags": [
828
+ {
829
+ "key": "Name",
830
+ "value": "lamopn-existing-vpc/Vpc/FlowLog"
831
+ }
832
+ ],
833
+ "trafficType": "ALL"
834
+ }
835
+ },
836
+ "constructInfo": {
837
+ "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
838
+ "version": "2.118.0"
839
+ }
840
+ }
841
+ },
842
+ "constructInfo": {
843
+ "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
844
+ "version": "2.118.0"
845
+ }
846
+ }
847
+ },
848
+ "constructInfo": {
849
+ "fqn": "aws-cdk-lib.aws_ec2.Vpc",
850
+ "version": "2.118.0"
851
+ }
852
+ },
853
+ "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
854
+ "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
855
+ "path": "lamopn-existing-vpc/Custom::VpcRestrictDefaultSGCustomResourceProvider",
856
+ "children": {
857
+ "Staging": {
858
+ "id": "Staging",
859
+ "path": "lamopn-existing-vpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
860
+ "constructInfo": {
861
+ "fqn": "aws-cdk-lib.AssetStaging",
862
+ "version": "2.118.0"
863
+ }
864
+ },
865
+ "Role": {
866
+ "id": "Role",
867
+ "path": "lamopn-existing-vpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
868
+ "constructInfo": {
869
+ "fqn": "aws-cdk-lib.CfnResource",
870
+ "version": "2.118.0"
871
+ }
872
+ },
873
+ "Handler": {
874
+ "id": "Handler",
875
+ "path": "lamopn-existing-vpc/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
876
+ "constructInfo": {
877
+ "fqn": "aws-cdk-lib.CfnResource",
878
+ "version": "2.118.0"
879
+ }
880
+ }
881
+ },
882
+ "constructInfo": {
883
+ "fqn": "aws-cdk-lib.CustomResourceProviderBase",
884
+ "version": "2.118.0"
885
+ }
886
+ },
887
+ "test-lambda-elasticsearch-kibana4": {
888
+ "id": "test-lambda-elasticsearch-kibana4",
889
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4",
890
+ "children": {
891
+ "LambdaFunctionServiceRole": {
892
+ "id": "LambdaFunctionServiceRole",
893
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunctionServiceRole",
894
+ "children": {
895
+ "ImportLambdaFunctionServiceRole": {
896
+ "id": "ImportLambdaFunctionServiceRole",
897
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
898
+ "constructInfo": {
899
+ "fqn": "aws-cdk-lib.Resource",
900
+ "version": "2.118.0"
901
+ }
902
+ },
903
+ "Resource": {
904
+ "id": "Resource",
905
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunctionServiceRole/Resource",
906
+ "attributes": {
907
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
908
+ "aws:cdk:cloudformation:props": {
909
+ "assumeRolePolicyDocument": {
910
+ "Statement": [
911
+ {
912
+ "Action": "sts:AssumeRole",
913
+ "Effect": "Allow",
914
+ "Principal": {
915
+ "Service": "lambda.amazonaws.com"
916
+ }
917
+ }
918
+ ],
919
+ "Version": "2012-10-17"
920
+ },
921
+ "policies": [
922
+ {
923
+ "policyName": "LambdaFunctionServiceRolePolicy",
924
+ "policyDocument": {
925
+ "Statement": [
926
+ {
927
+ "Action": [
928
+ "logs:CreateLogGroup",
929
+ "logs:CreateLogStream",
930
+ "logs:PutLogEvents"
931
+ ],
932
+ "Effect": "Allow",
933
+ "Resource": {
934
+ "Fn::Join": [
935
+ "",
936
+ [
937
+ "arn:",
938
+ {
939
+ "Ref": "AWS::Partition"
940
+ },
941
+ ":logs:",
942
+ {
943
+ "Ref": "AWS::Region"
944
+ },
945
+ ":",
946
+ {
947
+ "Ref": "AWS::AccountId"
948
+ },
949
+ ":log-group:/aws/lambda/*"
950
+ ]
951
+ ]
952
+ }
953
+ }
954
+ ],
955
+ "Version": "2012-10-17"
956
+ }
957
+ }
958
+ ]
959
+ }
960
+ },
961
+ "constructInfo": {
962
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
963
+ "version": "2.118.0"
964
+ }
965
+ },
966
+ "DefaultPolicy": {
967
+ "id": "DefaultPolicy",
968
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunctionServiceRole/DefaultPolicy",
969
+ "children": {
970
+ "Resource": {
971
+ "id": "Resource",
972
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunctionServiceRole/DefaultPolicy/Resource",
973
+ "attributes": {
974
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
975
+ "aws:cdk:cloudformation:props": {
976
+ "policyDocument": {
977
+ "Statement": [
978
+ {
979
+ "Action": [
980
+ "ec2:AssignPrivateIpAddresses",
981
+ "ec2:CreateNetworkInterface",
982
+ "ec2:DeleteNetworkInterface",
983
+ "ec2:DescribeNetworkInterfaces",
984
+ "ec2:UnassignPrivateIpAddresses",
985
+ "xray:PutTelemetryRecords",
986
+ "xray:PutTraceSegments"
987
+ ],
988
+ "Effect": "Allow",
989
+ "Resource": "*"
990
+ }
991
+ ],
992
+ "Version": "2012-10-17"
993
+ },
994
+ "policyName": "testlambdaelasticsearchkibana4LambdaFunctionServiceRoleDefaultPolicyA5AD88E5",
995
+ "roles": [
996
+ {
997
+ "Ref": "testlambdaelasticsearchkibana4LambdaFunctionServiceRoleA52BB7F9"
998
+ }
999
+ ]
1000
+ }
1001
+ },
1002
+ "constructInfo": {
1003
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1004
+ "version": "2.118.0"
1005
+ }
1006
+ }
1007
+ },
1008
+ "constructInfo": {
1009
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
1010
+ "version": "2.118.0"
1011
+ }
1012
+ }
1013
+ },
1014
+ "constructInfo": {
1015
+ "fqn": "aws-cdk-lib.aws_iam.Role",
1016
+ "version": "2.118.0"
1017
+ }
1018
+ },
1019
+ "ReplaceDefaultSecurityGroup-security-group": {
1020
+ "id": "ReplaceDefaultSecurityGroup-security-group",
1021
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/ReplaceDefaultSecurityGroup-security-group",
1022
+ "children": {
1023
+ "Resource": {
1024
+ "id": "Resource",
1025
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/ReplaceDefaultSecurityGroup-security-group/Resource",
1026
+ "attributes": {
1027
+ "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
1028
+ "aws:cdk:cloudformation:props": {
1029
+ "groupDescription": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/ReplaceDefaultSecurityGroup-security-group",
1030
+ "securityGroupEgress": [
1031
+ {
1032
+ "cidrIp": "0.0.0.0/0",
1033
+ "description": "Allow all outbound traffic by default",
1034
+ "ipProtocol": "-1"
1035
+ }
1036
+ ],
1037
+ "vpcId": {
1038
+ "Ref": "Vpc8378EB38"
1039
+ }
1040
+ }
1041
+ },
1042
+ "constructInfo": {
1043
+ "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
1044
+ "version": "2.118.0"
1045
+ }
1046
+ }
1047
+ },
1048
+ "constructInfo": {
1049
+ "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
1050
+ "version": "2.118.0"
1051
+ }
1052
+ },
1053
+ "LambdaFunction": {
1054
+ "id": "LambdaFunction",
1055
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunction",
1056
+ "children": {
1057
+ "Code": {
1058
+ "id": "Code",
1059
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunction/Code",
1060
+ "children": {
1061
+ "Stage": {
1062
+ "id": "Stage",
1063
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunction/Code/Stage",
1064
+ "constructInfo": {
1065
+ "fqn": "aws-cdk-lib.AssetStaging",
1066
+ "version": "2.118.0"
1067
+ }
1068
+ },
1069
+ "AssetBucket": {
1070
+ "id": "AssetBucket",
1071
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunction/Code/AssetBucket",
1072
+ "constructInfo": {
1073
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
1074
+ "version": "2.118.0"
1075
+ }
1076
+ }
1077
+ },
1078
+ "constructInfo": {
1079
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
1080
+ "version": "2.118.0"
1081
+ }
1082
+ },
1083
+ "Resource": {
1084
+ "id": "Resource",
1085
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/LambdaFunction/Resource",
1086
+ "attributes": {
1087
+ "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
1088
+ "aws:cdk:cloudformation:props": {
1089
+ "code": {
1090
+ "s3Bucket": {
1091
+ "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1"
1092
+ },
1093
+ "s3Key": "abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290.zip"
1094
+ },
1095
+ "environment": {
1096
+ "variables": {
1097
+ "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
1098
+ "DOMAIN_ENDPOINT": {
1099
+ "Fn::GetAtt": [
1100
+ "testlambdaelasticsearchkibana4OpenSearchDomain94EAD3A3",
1101
+ "DomainEndpoint"
1102
+ ]
1103
+ }
1104
+ }
1105
+ },
1106
+ "handler": "index.handler",
1107
+ "role": {
1108
+ "Fn::GetAtt": [
1109
+ "testlambdaelasticsearchkibana4LambdaFunctionServiceRoleA52BB7F9",
1110
+ "Arn"
1111
+ ]
1112
+ },
1113
+ "runtime": "nodejs16.x",
1114
+ "tracingConfig": {
1115
+ "mode": "Active"
1116
+ },
1117
+ "vpcConfig": {
1118
+ "subnetIds": [
1119
+ {
1120
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
1121
+ },
1122
+ {
1123
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1124
+ }
1125
+ ],
1126
+ "securityGroupIds": [
1127
+ {
1128
+ "Fn::GetAtt": [
1129
+ "testlambdaelasticsearchkibana4ReplaceDefaultSecurityGroupsecuritygroupA79E2B92",
1130
+ "GroupId"
1131
+ ]
1132
+ }
1133
+ ]
1134
+ }
1135
+ }
1136
+ },
1137
+ "constructInfo": {
1138
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
1139
+ "version": "2.118.0"
1140
+ }
1141
+ }
1142
+ },
1143
+ "constructInfo": {
1144
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
1145
+ "version": "2.118.0"
1146
+ }
1147
+ },
1148
+ "CognitoUserPool": {
1149
+ "id": "CognitoUserPool",
1150
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoUserPool",
1151
+ "children": {
1152
+ "Resource": {
1153
+ "id": "Resource",
1154
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoUserPool/Resource",
1155
+ "attributes": {
1156
+ "aws:cdk:cloudformation:type": "AWS::Cognito::UserPool",
1157
+ "aws:cdk:cloudformation:props": {
1158
+ "accountRecoverySetting": {
1159
+ "recoveryMechanisms": [
1160
+ {
1161
+ "name": "verified_phone_number",
1162
+ "priority": 1
1163
+ },
1164
+ {
1165
+ "name": "verified_email",
1166
+ "priority": 2
1167
+ }
1168
+ ]
1169
+ },
1170
+ "adminCreateUserConfig": {
1171
+ "allowAdminCreateUserOnly": true
1172
+ },
1173
+ "emailVerificationMessage": "The verification code to your new account is {####}",
1174
+ "emailVerificationSubject": "Verify your new account",
1175
+ "smsVerificationMessage": "The verification code to your new account is {####}",
1176
+ "userPoolAddOns": {
1177
+ "advancedSecurityMode": "ENFORCED"
1178
+ },
1179
+ "verificationMessageTemplate": {
1180
+ "defaultEmailOption": "CONFIRM_WITH_CODE",
1181
+ "emailMessage": "The verification code to your new account is {####}",
1182
+ "emailSubject": "Verify your new account",
1183
+ "smsMessage": "The verification code to your new account is {####}"
1184
+ }
1185
+ }
1186
+ },
1187
+ "constructInfo": {
1188
+ "fqn": "aws-cdk-lib.aws_cognito.CfnUserPool",
1189
+ "version": "2.118.0"
1190
+ }
1191
+ }
1192
+ },
1193
+ "constructInfo": {
1194
+ "fqn": "aws-cdk-lib.aws_cognito.UserPool",
1195
+ "version": "2.118.0"
1196
+ }
1197
+ },
1198
+ "CognitoUserPoolClient": {
1199
+ "id": "CognitoUserPoolClient",
1200
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoUserPoolClient",
1201
+ "children": {
1202
+ "Resource": {
1203
+ "id": "Resource",
1204
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoUserPoolClient/Resource",
1205
+ "attributes": {
1206
+ "aws:cdk:cloudformation:type": "AWS::Cognito::UserPoolClient",
1207
+ "aws:cdk:cloudformation:props": {
1208
+ "allowedOAuthFlows": [
1209
+ "implicit",
1210
+ "code"
1211
+ ],
1212
+ "allowedOAuthFlowsUserPoolClient": true,
1213
+ "allowedOAuthScopes": [
1214
+ "profile",
1215
+ "phone",
1216
+ "email",
1217
+ "openid",
1218
+ "aws.cognito.signin.user.admin"
1219
+ ],
1220
+ "callbackUrLs": [
1221
+ "https://example.com"
1222
+ ],
1223
+ "supportedIdentityProviders": [
1224
+ "COGNITO"
1225
+ ],
1226
+ "userPoolId": {
1227
+ "Ref": "testlambdaelasticsearchkibana4CognitoUserPool37A5CDE1"
1228
+ }
1229
+ }
1230
+ },
1231
+ "constructInfo": {
1232
+ "fqn": "aws-cdk-lib.aws_cognito.CfnUserPoolClient",
1233
+ "version": "2.118.0"
1234
+ }
1235
+ }
1236
+ },
1237
+ "constructInfo": {
1238
+ "fqn": "aws-cdk-lib.aws_cognito.UserPoolClient",
1239
+ "version": "2.118.0"
1240
+ }
1241
+ },
1242
+ "CognitoIdentityPool": {
1243
+ "id": "CognitoIdentityPool",
1244
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoIdentityPool",
1245
+ "attributes": {
1246
+ "aws:cdk:cloudformation:type": "AWS::Cognito::IdentityPool",
1247
+ "aws:cdk:cloudformation:props": {
1248
+ "allowUnauthenticatedIdentities": false,
1249
+ "cognitoIdentityProviders": [
1250
+ {
1251
+ "clientId": {
1252
+ "Ref": "testlambdaelasticsearchkibana4CognitoUserPoolClientABBF34C4"
1253
+ },
1254
+ "providerName": {
1255
+ "Fn::GetAtt": [
1256
+ "testlambdaelasticsearchkibana4CognitoUserPool37A5CDE1",
1257
+ "ProviderName"
1258
+ ]
1259
+ },
1260
+ "serverSideTokenCheck": true
1261
+ }
1262
+ ]
1263
+ }
1264
+ },
1265
+ "constructInfo": {
1266
+ "fqn": "aws-cdk-lib.aws_cognito.CfnIdentityPool",
1267
+ "version": "2.118.0"
1268
+ }
1269
+ },
1270
+ "UserPoolDomain": {
1271
+ "id": "UserPoolDomain",
1272
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/UserPoolDomain",
1273
+ "attributes": {
1274
+ "aws:cdk:cloudformation:type": "AWS::Cognito::UserPoolDomain",
1275
+ "aws:cdk:cloudformation:props": {
1276
+ "domain": {
1277
+ "Fn::Join": [
1278
+ "-",
1279
+ [
1280
+ "dmn",
1281
+ {
1282
+ "Fn::Select": [
1283
+ 4,
1284
+ {
1285
+ "Fn::Split": [
1286
+ "-",
1287
+ {
1288
+ "Fn::Select": [
1289
+ 2,
1290
+ {
1291
+ "Fn::Split": [
1292
+ "/",
1293
+ {
1294
+ "Ref": "AWS::StackId"
1295
+ }
1296
+ ]
1297
+ }
1298
+ ]
1299
+ }
1300
+ ]
1301
+ }
1302
+ ]
1303
+ }
1304
+ ]
1305
+ ]
1306
+ },
1307
+ "userPoolId": {
1308
+ "Ref": "testlambdaelasticsearchkibana4CognitoUserPool37A5CDE1"
1309
+ }
1310
+ }
1311
+ },
1312
+ "constructInfo": {
1313
+ "fqn": "aws-cdk-lib.aws_cognito.CfnUserPoolDomain",
1314
+ "version": "2.118.0"
1315
+ }
1316
+ },
1317
+ "CognitoAuthorizedRole": {
1318
+ "id": "CognitoAuthorizedRole",
1319
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoAuthorizedRole",
1320
+ "children": {
1321
+ "ImportCognitoAuthorizedRole": {
1322
+ "id": "ImportCognitoAuthorizedRole",
1323
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoAuthorizedRole/ImportCognitoAuthorizedRole",
1324
+ "constructInfo": {
1325
+ "fqn": "aws-cdk-lib.Resource",
1326
+ "version": "2.118.0"
1327
+ }
1328
+ },
1329
+ "Resource": {
1330
+ "id": "Resource",
1331
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoAuthorizedRole/Resource",
1332
+ "attributes": {
1333
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
1334
+ "aws:cdk:cloudformation:props": {
1335
+ "assumeRolePolicyDocument": {
1336
+ "Statement": [
1337
+ {
1338
+ "Action": "sts:AssumeRoleWithWebIdentity",
1339
+ "Condition": {
1340
+ "StringEquals": {
1341
+ "cognito-identity.amazonaws.com:aud": {
1342
+ "Ref": "testlambdaelasticsearchkibana4CognitoIdentityPool76EE9793"
1343
+ }
1344
+ },
1345
+ "ForAnyValue:StringLike": {
1346
+ "cognito-identity.amazonaws.com:amr": "authenticated"
1347
+ }
1348
+ },
1349
+ "Effect": "Allow",
1350
+ "Principal": {
1351
+ "Federated": "cognito-identity.amazonaws.com"
1352
+ }
1353
+ }
1354
+ ],
1355
+ "Version": "2012-10-17"
1356
+ },
1357
+ "policies": [
1358
+ {
1359
+ "policyName": "CognitoAccessPolicy",
1360
+ "policyDocument": {
1361
+ "Statement": [
1362
+ {
1363
+ "Action": "es:ESHttp*",
1364
+ "Effect": "Allow",
1365
+ "Resource": {
1366
+ "Fn::Join": [
1367
+ "",
1368
+ [
1369
+ "arn:",
1370
+ {
1371
+ "Ref": "AWS::Partition"
1372
+ },
1373
+ ":es:",
1374
+ {
1375
+ "Ref": "AWS::Region"
1376
+ },
1377
+ ":",
1378
+ {
1379
+ "Ref": "AWS::AccountId"
1380
+ },
1381
+ ":domain/",
1382
+ {
1383
+ "Fn::Join": [
1384
+ "-",
1385
+ [
1386
+ "dmn",
1387
+ {
1388
+ "Fn::Select": [
1389
+ 4,
1390
+ {
1391
+ "Fn::Split": [
1392
+ "-",
1393
+ {
1394
+ "Fn::Select": [
1395
+ 2,
1396
+ {
1397
+ "Fn::Split": [
1398
+ "/",
1399
+ {
1400
+ "Ref": "AWS::StackId"
1401
+ }
1402
+ ]
1403
+ }
1404
+ ]
1405
+ }
1406
+ ]
1407
+ }
1408
+ ]
1409
+ }
1410
+ ]
1411
+ ]
1412
+ },
1413
+ "/*"
1414
+ ]
1415
+ ]
1416
+ }
1417
+ }
1418
+ ],
1419
+ "Version": "2012-10-17"
1420
+ }
1421
+ }
1422
+ ]
1423
+ }
1424
+ },
1425
+ "constructInfo": {
1426
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1427
+ "version": "2.118.0"
1428
+ }
1429
+ }
1430
+ },
1431
+ "constructInfo": {
1432
+ "fqn": "aws-cdk-lib.aws_iam.Role",
1433
+ "version": "2.118.0"
1434
+ }
1435
+ },
1436
+ "IdentityPoolRoleMapping": {
1437
+ "id": "IdentityPoolRoleMapping",
1438
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/IdentityPoolRoleMapping",
1439
+ "attributes": {
1440
+ "aws:cdk:cloudformation:type": "AWS::Cognito::IdentityPoolRoleAttachment",
1441
+ "aws:cdk:cloudformation:props": {
1442
+ "identityPoolId": {
1443
+ "Ref": "testlambdaelasticsearchkibana4CognitoIdentityPool76EE9793"
1444
+ },
1445
+ "roles": {
1446
+ "authenticated": {
1447
+ "Fn::GetAtt": [
1448
+ "testlambdaelasticsearchkibana4CognitoAuthorizedRoleA7D6B392",
1449
+ "Arn"
1450
+ ]
1451
+ }
1452
+ }
1453
+ }
1454
+ },
1455
+ "constructInfo": {
1456
+ "fqn": "aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment",
1457
+ "version": "2.118.0"
1458
+ }
1459
+ },
1460
+ "CognitoDashboardConfigureRole": {
1461
+ "id": "CognitoDashboardConfigureRole",
1462
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoDashboardConfigureRole",
1463
+ "children": {
1464
+ "ImportCognitoDashboardConfigureRole": {
1465
+ "id": "ImportCognitoDashboardConfigureRole",
1466
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole",
1467
+ "constructInfo": {
1468
+ "fqn": "aws-cdk-lib.Resource",
1469
+ "version": "2.118.0"
1470
+ }
1471
+ },
1472
+ "Resource": {
1473
+ "id": "Resource",
1474
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoDashboardConfigureRole/Resource",
1475
+ "attributes": {
1476
+ "aws:cdk:cloudformation:type": "AWS::IAM::Role",
1477
+ "aws:cdk:cloudformation:props": {
1478
+ "assumeRolePolicyDocument": {
1479
+ "Statement": [
1480
+ {
1481
+ "Action": "sts:AssumeRole",
1482
+ "Effect": "Allow",
1483
+ "Principal": {
1484
+ "Service": "es.amazonaws.com"
1485
+ }
1486
+ }
1487
+ ],
1488
+ "Version": "2012-10-17"
1489
+ }
1490
+ }
1491
+ },
1492
+ "constructInfo": {
1493
+ "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1494
+ "version": "2.118.0"
1495
+ }
1496
+ }
1497
+ },
1498
+ "constructInfo": {
1499
+ "fqn": "aws-cdk-lib.aws_iam.Role",
1500
+ "version": "2.118.0"
1501
+ }
1502
+ },
1503
+ "CognitoDashboardConfigureRolePolicy": {
1504
+ "id": "CognitoDashboardConfigureRolePolicy",
1505
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoDashboardConfigureRolePolicy",
1506
+ "children": {
1507
+ "Resource": {
1508
+ "id": "Resource",
1509
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CognitoDashboardConfigureRolePolicy/Resource",
1510
+ "attributes": {
1511
+ "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
1512
+ "aws:cdk:cloudformation:props": {
1513
+ "policyDocument": {
1514
+ "Statement": [
1515
+ {
1516
+ "Action": [
1517
+ "cognito-identity:DescribeIdentityPool",
1518
+ "cognito-identity:GetIdentityPoolRoles",
1519
+ "cognito-identity:SetIdentityPoolRoles",
1520
+ "cognito-identity:UpdateIdentityPool",
1521
+ "cognito-idp:AdminInitiateAuth",
1522
+ "cognito-idp:AdminUserGlobalSignOut",
1523
+ "cognito-idp:CreateUserPoolClient",
1524
+ "cognito-idp:DeleteUserPoolClient",
1525
+ "cognito-idp:DescribeUserPool",
1526
+ "cognito-idp:DescribeUserPoolClient",
1527
+ "cognito-idp:ListUserPoolClients",
1528
+ "es:UpdateDomainConfig"
1529
+ ],
1530
+ "Effect": "Allow",
1531
+ "Resource": [
1532
+ {
1533
+ "Fn::GetAtt": [
1534
+ "testlambdaelasticsearchkibana4CognitoUserPool37A5CDE1",
1535
+ "Arn"
1536
+ ]
1537
+ },
1538
+ {
1539
+ "Fn::Join": [
1540
+ "",
1541
+ [
1542
+ "arn:",
1543
+ {
1544
+ "Ref": "AWS::Partition"
1545
+ },
1546
+ ":cognito-identity:",
1547
+ {
1548
+ "Ref": "AWS::Region"
1549
+ },
1550
+ ":",
1551
+ {
1552
+ "Ref": "AWS::AccountId"
1553
+ },
1554
+ ":identitypool/",
1555
+ {
1556
+ "Ref": "testlambdaelasticsearchkibana4CognitoIdentityPool76EE9793"
1557
+ }
1558
+ ]
1559
+ ]
1560
+ },
1561
+ {
1562
+ "Fn::Join": [
1563
+ "",
1564
+ [
1565
+ "arn:",
1566
+ {
1567
+ "Ref": "AWS::Partition"
1568
+ },
1569
+ ":es:",
1570
+ {
1571
+ "Ref": "AWS::Region"
1572
+ },
1573
+ ":",
1574
+ {
1575
+ "Ref": "AWS::AccountId"
1576
+ },
1577
+ ":domain/",
1578
+ {
1579
+ "Fn::Join": [
1580
+ "-",
1581
+ [
1582
+ "dmn",
1583
+ {
1584
+ "Fn::Select": [
1585
+ 4,
1586
+ {
1587
+ "Fn::Split": [
1588
+ "-",
1589
+ {
1590
+ "Fn::Select": [
1591
+ 2,
1592
+ {
1593
+ "Fn::Split": [
1594
+ "/",
1595
+ {
1596
+ "Ref": "AWS::StackId"
1597
+ }
1598
+ ]
1599
+ }
1600
+ ]
1601
+ }
1602
+ ]
1603
+ }
1604
+ ]
1605
+ }
1606
+ ]
1607
+ ]
1608
+ }
1609
+ ]
1610
+ ]
1611
+ }
1612
+ ]
1613
+ },
1614
+ {
1615
+ "Action": "iam:PassRole",
1616
+ "Condition": {
1617
+ "StringLike": {
1618
+ "iam:PassedToService": "cognito-identity.amazonaws.com"
1619
+ }
1620
+ },
1621
+ "Effect": "Allow",
1622
+ "Resource": {
1623
+ "Fn::GetAtt": [
1624
+ "testlambdaelasticsearchkibana4CognitoDashboardConfigureRoleB36C775C",
1625
+ "Arn"
1626
+ ]
1627
+ }
1628
+ }
1629
+ ],
1630
+ "Version": "2012-10-17"
1631
+ },
1632
+ "policyName": "testlambdaelasticsearchkibana4CognitoDashboardConfigureRolePolicy1D82A101",
1633
+ "roles": [
1634
+ {
1635
+ "Ref": "testlambdaelasticsearchkibana4CognitoDashboardConfigureRoleB36C775C"
1636
+ }
1637
+ ]
1638
+ }
1639
+ },
1640
+ "constructInfo": {
1641
+ "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1642
+ "version": "2.118.0"
1643
+ }
1644
+ }
1645
+ },
1646
+ "constructInfo": {
1647
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
1648
+ "version": "2.118.0"
1649
+ }
1650
+ },
1651
+ "OpenSearchDomain": {
1652
+ "id": "OpenSearchDomain",
1653
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/OpenSearchDomain",
1654
+ "attributes": {
1655
+ "aws:cdk:cloudformation:type": "AWS::OpenSearchService::Domain",
1656
+ "aws:cdk:cloudformation:props": {
1657
+ "accessPolicies": {
1658
+ "Statement": [
1659
+ {
1660
+ "Action": "es:ESHttp*",
1661
+ "Effect": "Allow",
1662
+ "Principal": {
1663
+ "AWS": [
1664
+ {
1665
+ "Fn::GetAtt": [
1666
+ "testlambdaelasticsearchkibana4CognitoAuthorizedRoleA7D6B392",
1667
+ "Arn"
1668
+ ]
1669
+ },
1670
+ {
1671
+ "Fn::GetAtt": [
1672
+ "testlambdaelasticsearchkibana4LambdaFunctionServiceRoleA52BB7F9",
1673
+ "Arn"
1674
+ ]
1675
+ }
1676
+ ]
1677
+ },
1678
+ "Resource": {
1679
+ "Fn::Join": [
1680
+ "",
1681
+ [
1682
+ "arn:",
1683
+ {
1684
+ "Ref": "AWS::Partition"
1685
+ },
1686
+ ":es:",
1687
+ {
1688
+ "Ref": "AWS::Region"
1689
+ },
1690
+ ":",
1691
+ {
1692
+ "Ref": "AWS::AccountId"
1693
+ },
1694
+ ":domain/",
1695
+ {
1696
+ "Fn::Join": [
1697
+ "-",
1698
+ [
1699
+ "dmn",
1700
+ {
1701
+ "Fn::Select": [
1702
+ 4,
1703
+ {
1704
+ "Fn::Split": [
1705
+ "-",
1706
+ {
1707
+ "Fn::Select": [
1708
+ 2,
1709
+ {
1710
+ "Fn::Split": [
1711
+ "/",
1712
+ {
1713
+ "Ref": "AWS::StackId"
1714
+ }
1715
+ ]
1716
+ }
1717
+ ]
1718
+ }
1719
+ ]
1720
+ }
1721
+ ]
1722
+ }
1723
+ ]
1724
+ ]
1725
+ },
1726
+ "/*"
1727
+ ]
1728
+ ]
1729
+ }
1730
+ }
1731
+ ],
1732
+ "Version": "2012-10-17"
1733
+ },
1734
+ "clusterConfig": {
1735
+ "dedicatedMasterEnabled": true,
1736
+ "dedicatedMasterCount": 3,
1737
+ "zoneAwarenessEnabled": true,
1738
+ "zoneAwarenessConfig": {
1739
+ "availabilityZoneCount": 2
1740
+ },
1741
+ "instanceCount": 2
1742
+ },
1743
+ "cognitoOptions": {
1744
+ "enabled": true,
1745
+ "identityPoolId": {
1746
+ "Ref": "testlambdaelasticsearchkibana4CognitoIdentityPool76EE9793"
1747
+ },
1748
+ "userPoolId": {
1749
+ "Ref": "testlambdaelasticsearchkibana4CognitoUserPool37A5CDE1"
1750
+ },
1751
+ "roleArn": {
1752
+ "Fn::GetAtt": [
1753
+ "testlambdaelasticsearchkibana4CognitoDashboardConfigureRoleB36C775C",
1754
+ "Arn"
1755
+ ]
1756
+ }
1757
+ },
1758
+ "domainEndpointOptions": {
1759
+ "enforceHttps": true,
1760
+ "tlsSecurityPolicy": "Policy-Min-TLS-1-2-2019-07"
1761
+ },
1762
+ "domainName": {
1763
+ "Fn::Join": [
1764
+ "-",
1765
+ [
1766
+ "dmn",
1767
+ {
1768
+ "Fn::Select": [
1769
+ 4,
1770
+ {
1771
+ "Fn::Split": [
1772
+ "-",
1773
+ {
1774
+ "Fn::Select": [
1775
+ 2,
1776
+ {
1777
+ "Fn::Split": [
1778
+ "/",
1779
+ {
1780
+ "Ref": "AWS::StackId"
1781
+ }
1782
+ ]
1783
+ }
1784
+ ]
1785
+ }
1786
+ ]
1787
+ }
1788
+ ]
1789
+ }
1790
+ ]
1791
+ ]
1792
+ },
1793
+ "ebsOptions": {
1794
+ "ebsEnabled": true,
1795
+ "volumeSize": 10
1796
+ },
1797
+ "encryptionAtRestOptions": {
1798
+ "enabled": true
1799
+ },
1800
+ "engineVersion": "OpenSearch_1.3",
1801
+ "nodeToNodeEncryptionOptions": {
1802
+ "enabled": true
1803
+ },
1804
+ "snapshotOptions": {
1805
+ "automatedSnapshotStartHour": 1
1806
+ },
1807
+ "vpcOptions": {
1808
+ "subnetIds": [
1809
+ {
1810
+ "Ref": "VpcPrivateSubnet1Subnet536B997A"
1811
+ },
1812
+ {
1813
+ "Ref": "VpcPrivateSubnet2Subnet3788AAA1"
1814
+ }
1815
+ ],
1816
+ "securityGroupIds": [
1817
+ {
1818
+ "Fn::GetAtt": [
1819
+ "testlambdaelasticsearchkibana4ReplaceDefaultSecurityGroupsecuritygroupA79E2B92",
1820
+ "GroupId"
1821
+ ]
1822
+ }
1823
+ ]
1824
+ }
1825
+ }
1826
+ },
1827
+ "constructInfo": {
1828
+ "fqn": "aws-cdk-lib.aws_opensearchservice.CfnDomain",
1829
+ "version": "2.118.0"
1830
+ }
1831
+ },
1832
+ "StatusRedAlarm": {
1833
+ "id": "StatusRedAlarm",
1834
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/StatusRedAlarm",
1835
+ "children": {
1836
+ "Resource": {
1837
+ "id": "Resource",
1838
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/StatusRedAlarm/Resource",
1839
+ "attributes": {
1840
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1841
+ "aws:cdk:cloudformation:props": {
1842
+ "alarmDescription": "At least one primary shard and its replicas are not allocated to a node. ",
1843
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
1844
+ "evaluationPeriods": 1,
1845
+ "metricName": "ClusterStatus.red",
1846
+ "namespace": "AWS/ES",
1847
+ "period": 60,
1848
+ "statistic": "Maximum",
1849
+ "threshold": 1
1850
+ }
1851
+ },
1852
+ "constructInfo": {
1853
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1854
+ "version": "2.118.0"
1855
+ }
1856
+ }
1857
+ },
1858
+ "constructInfo": {
1859
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1860
+ "version": "2.118.0"
1861
+ }
1862
+ },
1863
+ "StatusYellowAlarm": {
1864
+ "id": "StatusYellowAlarm",
1865
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/StatusYellowAlarm",
1866
+ "children": {
1867
+ "Resource": {
1868
+ "id": "Resource",
1869
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/StatusYellowAlarm/Resource",
1870
+ "attributes": {
1871
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1872
+ "aws:cdk:cloudformation:props": {
1873
+ "alarmDescription": "At least one replica shard is not allocated to a node.",
1874
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
1875
+ "evaluationPeriods": 1,
1876
+ "metricName": "ClusterStatus.yellow",
1877
+ "namespace": "AWS/ES",
1878
+ "period": 60,
1879
+ "statistic": "Maximum",
1880
+ "threshold": 1
1881
+ }
1882
+ },
1883
+ "constructInfo": {
1884
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1885
+ "version": "2.118.0"
1886
+ }
1887
+ }
1888
+ },
1889
+ "constructInfo": {
1890
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1891
+ "version": "2.118.0"
1892
+ }
1893
+ },
1894
+ "FreeStorageSpaceTooLowAlarm": {
1895
+ "id": "FreeStorageSpaceTooLowAlarm",
1896
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/FreeStorageSpaceTooLowAlarm",
1897
+ "children": {
1898
+ "Resource": {
1899
+ "id": "Resource",
1900
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/FreeStorageSpaceTooLowAlarm/Resource",
1901
+ "attributes": {
1902
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1903
+ "aws:cdk:cloudformation:props": {
1904
+ "alarmDescription": "A node in your cluster is down to 20 GiB of free storage space.",
1905
+ "comparisonOperator": "LessThanOrEqualToThreshold",
1906
+ "evaluationPeriods": 1,
1907
+ "metricName": "FreeStorageSpace",
1908
+ "namespace": "AWS/ES",
1909
+ "period": 60,
1910
+ "statistic": "Minimum",
1911
+ "threshold": 20000
1912
+ }
1913
+ },
1914
+ "constructInfo": {
1915
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1916
+ "version": "2.118.0"
1917
+ }
1918
+ }
1919
+ },
1920
+ "constructInfo": {
1921
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1922
+ "version": "2.118.0"
1923
+ }
1924
+ },
1925
+ "IndexWritesBlockedTooHighAlarm": {
1926
+ "id": "IndexWritesBlockedTooHighAlarm",
1927
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/IndexWritesBlockedTooHighAlarm",
1928
+ "children": {
1929
+ "Resource": {
1930
+ "id": "Resource",
1931
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/IndexWritesBlockedTooHighAlarm/Resource",
1932
+ "attributes": {
1933
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1934
+ "aws:cdk:cloudformation:props": {
1935
+ "alarmDescription": "Your cluster is blocking write requests.",
1936
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
1937
+ "evaluationPeriods": 1,
1938
+ "metricName": "ClusterIndexWritesBlocked",
1939
+ "namespace": "AWS/ES",
1940
+ "period": 300,
1941
+ "statistic": "Maximum",
1942
+ "threshold": 1
1943
+ }
1944
+ },
1945
+ "constructInfo": {
1946
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1947
+ "version": "2.118.0"
1948
+ }
1949
+ }
1950
+ },
1951
+ "constructInfo": {
1952
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1953
+ "version": "2.118.0"
1954
+ }
1955
+ },
1956
+ "AutomatedSnapshotFailureTooHighAlarm": {
1957
+ "id": "AutomatedSnapshotFailureTooHighAlarm",
1958
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/AutomatedSnapshotFailureTooHighAlarm",
1959
+ "children": {
1960
+ "Resource": {
1961
+ "id": "Resource",
1962
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/AutomatedSnapshotFailureTooHighAlarm/Resource",
1963
+ "attributes": {
1964
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1965
+ "aws:cdk:cloudformation:props": {
1966
+ "alarmDescription": "An automated snapshot failed. This failure is often the result of a red cluster health status.",
1967
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
1968
+ "evaluationPeriods": 1,
1969
+ "metricName": "AutomatedSnapshotFailure",
1970
+ "namespace": "AWS/ES",
1971
+ "period": 60,
1972
+ "statistic": "Maximum",
1973
+ "threshold": 1
1974
+ }
1975
+ },
1976
+ "constructInfo": {
1977
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1978
+ "version": "2.118.0"
1979
+ }
1980
+ }
1981
+ },
1982
+ "constructInfo": {
1983
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1984
+ "version": "2.118.0"
1985
+ }
1986
+ },
1987
+ "CPUUtilizationTooHighAlarm": {
1988
+ "id": "CPUUtilizationTooHighAlarm",
1989
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CPUUtilizationTooHighAlarm",
1990
+ "children": {
1991
+ "Resource": {
1992
+ "id": "Resource",
1993
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/CPUUtilizationTooHighAlarm/Resource",
1994
+ "attributes": {
1995
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1996
+ "aws:cdk:cloudformation:props": {
1997
+ "alarmDescription": "100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.",
1998
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
1999
+ "evaluationPeriods": 3,
2000
+ "metricName": "CPUUtilization",
2001
+ "namespace": "AWS/ES",
2002
+ "period": 900,
2003
+ "statistic": "Average",
2004
+ "threshold": 80
2005
+ }
2006
+ },
2007
+ "constructInfo": {
2008
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
2009
+ "version": "2.118.0"
2010
+ }
2011
+ }
2012
+ },
2013
+ "constructInfo": {
2014
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
2015
+ "version": "2.118.0"
2016
+ }
2017
+ },
2018
+ "JVMMemoryPressureTooHighAlarm": {
2019
+ "id": "JVMMemoryPressureTooHighAlarm",
2020
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/JVMMemoryPressureTooHighAlarm",
2021
+ "children": {
2022
+ "Resource": {
2023
+ "id": "Resource",
2024
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/JVMMemoryPressureTooHighAlarm/Resource",
2025
+ "attributes": {
2026
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
2027
+ "aws:cdk:cloudformation:props": {
2028
+ "alarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
2029
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
2030
+ "evaluationPeriods": 1,
2031
+ "metricName": "JVMMemoryPressure",
2032
+ "namespace": "AWS/ES",
2033
+ "period": 900,
2034
+ "statistic": "Average",
2035
+ "threshold": 80
2036
+ }
2037
+ },
2038
+ "constructInfo": {
2039
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
2040
+ "version": "2.118.0"
2041
+ }
2042
+ }
2043
+ },
2044
+ "constructInfo": {
2045
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
2046
+ "version": "2.118.0"
2047
+ }
2048
+ },
2049
+ "MasterCPUUtilizationTooHighAlarm": {
2050
+ "id": "MasterCPUUtilizationTooHighAlarm",
2051
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/MasterCPUUtilizationTooHighAlarm",
2052
+ "children": {
2053
+ "Resource": {
2054
+ "id": "Resource",
2055
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/MasterCPUUtilizationTooHighAlarm/Resource",
2056
+ "attributes": {
2057
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
2058
+ "aws:cdk:cloudformation:props": {
2059
+ "alarmDescription": "Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.",
2060
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
2061
+ "evaluationPeriods": 3,
2062
+ "metricName": "MasterCPUUtilization",
2063
+ "namespace": "AWS/ES",
2064
+ "period": 900,
2065
+ "statistic": "Average",
2066
+ "threshold": 50
2067
+ }
2068
+ },
2069
+ "constructInfo": {
2070
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
2071
+ "version": "2.118.0"
2072
+ }
2073
+ }
2074
+ },
2075
+ "constructInfo": {
2076
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
2077
+ "version": "2.118.0"
2078
+ }
2079
+ },
2080
+ "MasterJVMMemoryPressureTooHighAlarm": {
2081
+ "id": "MasterJVMMemoryPressureTooHighAlarm",
2082
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/MasterJVMMemoryPressureTooHighAlarm",
2083
+ "children": {
2084
+ "Resource": {
2085
+ "id": "Resource",
2086
+ "path": "lamopn-existing-vpc/test-lambda-elasticsearch-kibana4/MasterJVMMemoryPressureTooHighAlarm/Resource",
2087
+ "attributes": {
2088
+ "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
2089
+ "aws:cdk:cloudformation:props": {
2090
+ "alarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
2091
+ "comparisonOperator": "GreaterThanOrEqualToThreshold",
2092
+ "evaluationPeriods": 1,
2093
+ "metricName": "MasterJVMMemoryPressure",
2094
+ "namespace": "AWS/ES",
2095
+ "period": 900,
2096
+ "statistic": "Average",
2097
+ "threshold": 50
2098
+ }
2099
+ },
2100
+ "constructInfo": {
2101
+ "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
2102
+ "version": "2.118.0"
2103
+ }
2104
+ }
2105
+ },
2106
+ "constructInfo": {
2107
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
2108
+ "version": "2.118.0"
2109
+ }
2110
+ }
2111
+ },
2112
+ "constructInfo": {
2113
+ "fqn": "@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch",
2114
+ "version": "2.51.0"
2115
+ }
2116
+ },
2117
+ "Integ": {
2118
+ "id": "Integ",
2119
+ "path": "lamopn-existing-vpc/Integ",
2120
+ "children": {
2121
+ "DefaultTest": {
2122
+ "id": "DefaultTest",
2123
+ "path": "lamopn-existing-vpc/Integ/DefaultTest",
2124
+ "children": {
2125
+ "Default": {
2126
+ "id": "Default",
2127
+ "path": "lamopn-existing-vpc/Integ/DefaultTest/Default",
2128
+ "constructInfo": {
2129
+ "fqn": "constructs.Construct",
2130
+ "version": "10.3.0"
2131
+ }
2132
+ },
2133
+ "DeployAssert": {
2134
+ "id": "DeployAssert",
2135
+ "path": "lamopn-existing-vpc/Integ/DefaultTest/DeployAssert",
2136
+ "children": {
2137
+ "BootstrapVersion": {
2138
+ "id": "BootstrapVersion",
2139
+ "path": "lamopn-existing-vpc/Integ/DefaultTest/DeployAssert/BootstrapVersion",
2140
+ "constructInfo": {
2141
+ "fqn": "aws-cdk-lib.CfnParameter",
2142
+ "version": "2.118.0"
2143
+ }
2144
+ },
2145
+ "CheckBootstrapVersion": {
2146
+ "id": "CheckBootstrapVersion",
2147
+ "path": "lamopn-existing-vpc/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
2148
+ "constructInfo": {
2149
+ "fqn": "aws-cdk-lib.CfnRule",
2150
+ "version": "2.118.0"
2151
+ }
2152
+ }
2153
+ },
2154
+ "constructInfo": {
2155
+ "fqn": "aws-cdk-lib.Stack",
2156
+ "version": "2.118.0"
2157
+ }
2158
+ }
2159
+ },
2160
+ "constructInfo": {
2161
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
2162
+ "version": "2.118.0-alpha.0"
2163
+ }
2164
+ }
2165
+ },
2166
+ "constructInfo": {
2167
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
2168
+ "version": "2.118.0-alpha.0"
2169
+ }
2170
+ },
2171
+ "BootstrapVersion": {
2172
+ "id": "BootstrapVersion",
2173
+ "path": "lamopn-existing-vpc/BootstrapVersion",
2174
+ "constructInfo": {
2175
+ "fqn": "aws-cdk-lib.CfnParameter",
2176
+ "version": "2.118.0"
2177
+ }
2178
+ },
2179
+ "CheckBootstrapVersion": {
2180
+ "id": "CheckBootstrapVersion",
2181
+ "path": "lamopn-existing-vpc/CheckBootstrapVersion",
2182
+ "constructInfo": {
2183
+ "fqn": "aws-cdk-lib.CfnRule",
2184
+ "version": "2.118.0"
2185
+ }
2186
+ }
2187
+ },
2188
+ "constructInfo": {
2189
+ "fqn": "aws-cdk-lib.Stack",
2190
+ "version": "2.118.0"
2191
+ }
2192
+ },
2193
+ "Tree": {
2194
+ "id": "Tree",
2195
+ "path": "Tree",
2196
+ "constructInfo": {
2197
+ "fqn": "constructs.Construct",
2198
+ "version": "10.3.0"
2199
+ }
2200
+ }
2201
+ },
2202
+ "constructInfo": {
2203
+ "fqn": "aws-cdk-lib.App",
2204
+ "version": "2.118.0"
2205
+ }
2206
+ }
2207
+ }