@aws-solutions-constructs/aws-lambda-opensearch 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.
Files changed (55) hide show
  1. package/.jsii +43 -4
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamopn-cluster-config.js.snapshot/cdk.out +1 -1
  5. package/test/integ.lamopn-cluster-config.js.snapshot/integ.json +1 -1
  6. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.assets.json +3 -3
  7. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.template.json +29 -3
  8. package/test/integ.lamopn-cluster-config.js.snapshot/lamopnclusterconfigIntegDefaultTestDeployAssertD8012D1A.assets.json +1 -1
  9. package/test/integ.lamopn-cluster-config.js.snapshot/manifest.json +52 -13
  10. package/test/integ.lamopn-cluster-config.js.snapshot/tree.json +1 -2177
  11. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/cdk.out +1 -1
  12. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/integ.json +1 -1
  13. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.assets.json +3 -3
  14. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.template.json +28 -3
  15. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopndisabledzoneawarenessIntegDefaultTestDeployAssert7E083B68.assets.json +1 -1
  16. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/manifest.json +52 -13
  17. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/tree.json +1 -2050
  18. package/test/integ.lamopn-domain-arguments.js.snapshot/{asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  19. package/test/integ.lamopn-domain-arguments.js.snapshot/cdk.out +1 -1
  20. package/test/integ.lamopn-domain-arguments.js.snapshot/integ.json +1 -1
  21. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopn-domain-arguments.assets.json +6 -6
  22. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopn-domain-arguments.template.json +25 -36
  23. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopndomainargumentsIntegDefaultTestDeployAssert47534E1E.assets.json +1 -1
  24. package/test/integ.lamopn-domain-arguments.js.snapshot/manifest.json +338 -6
  25. package/test/integ.lamopn-domain-arguments.js.snapshot/tree.json +1 -1256
  26. package/test/integ.lamopn-existing-vpc.js.snapshot/{asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  27. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  28. package/test/integ.lamopn-existing-vpc.js.snapshot/cdk.out +1 -1
  29. package/test/integ.lamopn-existing-vpc.js.snapshot/integ.json +1 -1
  30. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.assets.json +9 -9
  31. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.template.json +33 -5
  32. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopnexistingvpcIntegDefaultTestDeployAssert4A7EE058.assets.json +1 -1
  33. package/test/integ.lamopn-existing-vpc.js.snapshot/manifest.json +659 -3
  34. package/test/integ.lamopn-existing-vpc.js.snapshot/tree.json +1 -2207
  35. package/test/integ.lamopn-no-arguments.js.snapshot/{asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  36. package/test/integ.lamopn-no-arguments.js.snapshot/cdk.out +1 -1
  37. package/test/integ.lamopn-no-arguments.js.snapshot/integ.json +1 -1
  38. package/test/integ.lamopn-no-arguments.js.snapshot/lamopn-no-arguments.assets.json +6 -6
  39. package/test/integ.lamopn-no-arguments.js.snapshot/lamopn-no-arguments.template.json +25 -36
  40. package/test/integ.lamopn-no-arguments.js.snapshot/lamopnnoargumentsIntegDefaultTestDeployAssert4290A592.assets.json +1 -1
  41. package/test/integ.lamopn-no-arguments.js.snapshot/manifest.json +338 -6
  42. package/test/integ.lamopn-no-arguments.js.snapshot/tree.json +1 -1256
  43. package/test/integ.lamopn-vpc-props.js.snapshot/{asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  44. package/test/integ.lamopn-vpc-props.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  45. package/test/integ.lamopn-vpc-props.js.snapshot/cdk.out +1 -1
  46. package/test/integ.lamopn-vpc-props.js.snapshot/integ.json +1 -1
  47. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.assets.json +9 -9
  48. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.template.json +31 -5
  49. package/test/integ.lamopn-vpc-props.js.snapshot/lamopnvpcpropsIntegDefaultTestDeployAssertC7FD49B0.assets.json +1 -1
  50. package/test/integ.lamopn-vpc-props.js.snapshot/manifest.json +587 -3
  51. package/test/integ.lamopn-vpc-props.js.snapshot/tree.json +1 -1795
  52. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  53. package/test/integ.lamopn-vpc-props.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  54. /package/test/integ.lamopn-existing-vpc.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  55. /package/test/integ.lamopn-vpc-props.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
@@ -1,1256 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "lamopn-no-arguments": {
8
- "id": "lamopn-no-arguments",
9
- "path": "lamopn-no-arguments",
10
- "children": {
11
- "test-lambda-opensearch": {
12
- "id": "test-lambda-opensearch",
13
- "path": "lamopn-no-arguments/test-lambda-opensearch",
14
- "children": {
15
- "LambdaFunctionServiceRole": {
16
- "id": "LambdaFunctionServiceRole",
17
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole",
18
- "children": {
19
- "ImportLambdaFunctionServiceRole": {
20
- "id": "ImportLambdaFunctionServiceRole",
21
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
22
- "constructInfo": {
23
- "fqn": "aws-cdk-lib.Resource",
24
- "version": "2.150.0"
25
- }
26
- },
27
- "Resource": {
28
- "id": "Resource",
29
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/Resource",
30
- "attributes": {
31
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
32
- "aws:cdk:cloudformation:props": {
33
- "assumeRolePolicyDocument": {
34
- "Statement": [
35
- {
36
- "Action": "sts:AssumeRole",
37
- "Effect": "Allow",
38
- "Principal": {
39
- "Service": "lambda.amazonaws.com"
40
- }
41
- }
42
- ],
43
- "Version": "2012-10-17"
44
- },
45
- "policies": [
46
- {
47
- "policyName": "LambdaFunctionServiceRolePolicy",
48
- "policyDocument": {
49
- "Statement": [
50
- {
51
- "Action": [
52
- "logs:CreateLogGroup",
53
- "logs:CreateLogStream",
54
- "logs:PutLogEvents"
55
- ],
56
- "Effect": "Allow",
57
- "Resource": {
58
- "Fn::Join": [
59
- "",
60
- [
61
- "arn:",
62
- {
63
- "Ref": "AWS::Partition"
64
- },
65
- ":logs:",
66
- {
67
- "Ref": "AWS::Region"
68
- },
69
- ":",
70
- {
71
- "Ref": "AWS::AccountId"
72
- },
73
- ":log-group:/aws/lambda/*"
74
- ]
75
- ]
76
- }
77
- }
78
- ],
79
- "Version": "2012-10-17"
80
- }
81
- }
82
- ]
83
- }
84
- },
85
- "constructInfo": {
86
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
87
- "version": "2.150.0"
88
- }
89
- },
90
- "DefaultPolicy": {
91
- "id": "DefaultPolicy",
92
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy",
93
- "children": {
94
- "Resource": {
95
- "id": "Resource",
96
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy/Resource",
97
- "attributes": {
98
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
99
- "aws:cdk:cloudformation:props": {
100
- "policyDocument": {
101
- "Statement": [
102
- {
103
- "Action": [
104
- "xray:PutTelemetryRecords",
105
- "xray:PutTraceSegments"
106
- ],
107
- "Effect": "Allow",
108
- "Resource": "*"
109
- }
110
- ],
111
- "Version": "2012-10-17"
112
- },
113
- "policyName": "testlambdaopensearchLambdaFunctionServiceRoleDefaultPolicy78C56359",
114
- "roles": [
115
- {
116
- "Ref": "testlambdaopensearchLambdaFunctionServiceRole4722AB8A"
117
- }
118
- ]
119
- }
120
- },
121
- "constructInfo": {
122
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
123
- "version": "2.150.0"
124
- }
125
- }
126
- },
127
- "constructInfo": {
128
- "fqn": "aws-cdk-lib.aws_iam.Policy",
129
- "version": "2.150.0"
130
- }
131
- }
132
- },
133
- "constructInfo": {
134
- "fqn": "aws-cdk-lib.aws_iam.Role",
135
- "version": "2.150.0"
136
- }
137
- },
138
- "LambdaFunction": {
139
- "id": "LambdaFunction",
140
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunction",
141
- "children": {
142
- "Code": {
143
- "id": "Code",
144
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/Code",
145
- "children": {
146
- "Stage": {
147
- "id": "Stage",
148
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/Code/Stage",
149
- "constructInfo": {
150
- "fqn": "aws-cdk-lib.AssetStaging",
151
- "version": "2.150.0"
152
- }
153
- },
154
- "AssetBucket": {
155
- "id": "AssetBucket",
156
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/Code/AssetBucket",
157
- "constructInfo": {
158
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
159
- "version": "2.150.0"
160
- }
161
- }
162
- },
163
- "constructInfo": {
164
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
165
- "version": "2.150.0"
166
- }
167
- },
168
- "Resource": {
169
- "id": "Resource",
170
- "path": "lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/Resource",
171
- "attributes": {
172
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
173
- "aws:cdk:cloudformation:props": {
174
- "code": {
175
- "s3Bucket": {
176
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
177
- },
178
- "s3Key": "abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290.zip"
179
- },
180
- "environment": {
181
- "variables": {
182
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
183
- "DOMAIN_ENDPOINT": {
184
- "Fn::GetAtt": [
185
- "testlambdaopensearchOpenSearchDomainF9CCC3D3",
186
- "DomainEndpoint"
187
- ]
188
- }
189
- }
190
- },
191
- "handler": "index.handler",
192
- "role": {
193
- "Fn::GetAtt": [
194
- "testlambdaopensearchLambdaFunctionServiceRole4722AB8A",
195
- "Arn"
196
- ]
197
- },
198
- "runtime": "nodejs20.x",
199
- "tracingConfig": {
200
- "mode": "Active"
201
- }
202
- }
203
- },
204
- "constructInfo": {
205
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
206
- "version": "2.150.0"
207
- }
208
- }
209
- },
210
- "constructInfo": {
211
- "fqn": "aws-cdk-lib.aws_lambda.Function",
212
- "version": "2.150.0"
213
- }
214
- },
215
- "CognitoUserPool": {
216
- "id": "CognitoUserPool",
217
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoUserPool",
218
- "children": {
219
- "Resource": {
220
- "id": "Resource",
221
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoUserPool/Resource",
222
- "attributes": {
223
- "aws:cdk:cloudformation:type": "AWS::Cognito::UserPool",
224
- "aws:cdk:cloudformation:props": {
225
- "accountRecoverySetting": {
226
- "recoveryMechanisms": [
227
- {
228
- "name": "verified_phone_number",
229
- "priority": 1
230
- },
231
- {
232
- "name": "verified_email",
233
- "priority": 2
234
- }
235
- ]
236
- },
237
- "adminCreateUserConfig": {
238
- "allowAdminCreateUserOnly": true
239
- },
240
- "emailVerificationMessage": "The verification code to your new account is {####}",
241
- "emailVerificationSubject": "Verify your new account",
242
- "smsVerificationMessage": "The verification code to your new account is {####}",
243
- "userPoolAddOns": {
244
- "advancedSecurityMode": "ENFORCED"
245
- },
246
- "verificationMessageTemplate": {
247
- "defaultEmailOption": "CONFIRM_WITH_CODE",
248
- "emailMessage": "The verification code to your new account is {####}",
249
- "emailSubject": "Verify your new account",
250
- "smsMessage": "The verification code to your new account is {####}"
251
- }
252
- }
253
- },
254
- "constructInfo": {
255
- "fqn": "aws-cdk-lib.aws_cognito.CfnUserPool",
256
- "version": "2.150.0"
257
- }
258
- }
259
- },
260
- "constructInfo": {
261
- "fqn": "aws-cdk-lib.aws_cognito.UserPool",
262
- "version": "2.150.0"
263
- }
264
- },
265
- "CognitoUserPoolClient": {
266
- "id": "CognitoUserPoolClient",
267
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoUserPoolClient",
268
- "children": {
269
- "Resource": {
270
- "id": "Resource",
271
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoUserPoolClient/Resource",
272
- "attributes": {
273
- "aws:cdk:cloudformation:type": "AWS::Cognito::UserPoolClient",
274
- "aws:cdk:cloudformation:props": {
275
- "allowedOAuthFlows": [
276
- "implicit",
277
- "code"
278
- ],
279
- "allowedOAuthFlowsUserPoolClient": true,
280
- "allowedOAuthScopes": [
281
- "profile",
282
- "phone",
283
- "email",
284
- "openid",
285
- "aws.cognito.signin.user.admin"
286
- ],
287
- "callbackUrLs": [
288
- "https://example.com"
289
- ],
290
- "supportedIdentityProviders": [
291
- "COGNITO"
292
- ],
293
- "userPoolId": {
294
- "Ref": "testlambdaopensearchCognitoUserPoolA09096F9"
295
- }
296
- }
297
- },
298
- "constructInfo": {
299
- "fqn": "aws-cdk-lib.aws_cognito.CfnUserPoolClient",
300
- "version": "2.150.0"
301
- }
302
- }
303
- },
304
- "constructInfo": {
305
- "fqn": "aws-cdk-lib.aws_cognito.UserPoolClient",
306
- "version": "2.150.0"
307
- }
308
- },
309
- "CognitoIdentityPool": {
310
- "id": "CognitoIdentityPool",
311
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoIdentityPool",
312
- "attributes": {
313
- "aws:cdk:cloudformation:type": "AWS::Cognito::IdentityPool",
314
- "aws:cdk:cloudformation:props": {
315
- "allowUnauthenticatedIdentities": false,
316
- "cognitoIdentityProviders": [
317
- {
318
- "clientId": {
319
- "Ref": "testlambdaopensearchCognitoUserPoolClient39C21D94"
320
- },
321
- "providerName": {
322
- "Fn::GetAtt": [
323
- "testlambdaopensearchCognitoUserPoolA09096F9",
324
- "ProviderName"
325
- ]
326
- },
327
- "serverSideTokenCheck": true
328
- }
329
- ]
330
- }
331
- },
332
- "constructInfo": {
333
- "fqn": "aws-cdk-lib.aws_cognito.CfnIdentityPool",
334
- "version": "2.150.0"
335
- }
336
- },
337
- "UserPoolDomain": {
338
- "id": "UserPoolDomain",
339
- "path": "lamopn-no-arguments/test-lambda-opensearch/UserPoolDomain",
340
- "attributes": {
341
- "aws:cdk:cloudformation:type": "AWS::Cognito::UserPoolDomain",
342
- "aws:cdk:cloudformation:props": {
343
- "domain": {
344
- "Fn::Join": [
345
- "-",
346
- [
347
- "dn",
348
- {
349
- "Fn::Select": [
350
- 4,
351
- {
352
- "Fn::Split": [
353
- "-",
354
- {
355
- "Fn::Select": [
356
- 2,
357
- {
358
- "Fn::Split": [
359
- "/",
360
- {
361
- "Ref": "AWS::StackId"
362
- }
363
- ]
364
- }
365
- ]
366
- }
367
- ]
368
- }
369
- ]
370
- }
371
- ]
372
- ]
373
- },
374
- "userPoolId": {
375
- "Ref": "testlambdaopensearchCognitoUserPoolA09096F9"
376
- }
377
- }
378
- },
379
- "constructInfo": {
380
- "fqn": "aws-cdk-lib.aws_cognito.CfnUserPoolDomain",
381
- "version": "2.150.0"
382
- }
383
- },
384
- "CognitoAuthorizedRole": {
385
- "id": "CognitoAuthorizedRole",
386
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoAuthorizedRole",
387
- "children": {
388
- "ImportCognitoAuthorizedRole": {
389
- "id": "ImportCognitoAuthorizedRole",
390
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole",
391
- "constructInfo": {
392
- "fqn": "aws-cdk-lib.Resource",
393
- "version": "2.150.0"
394
- }
395
- },
396
- "Resource": {
397
- "id": "Resource",
398
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoAuthorizedRole/Resource",
399
- "attributes": {
400
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
401
- "aws:cdk:cloudformation:props": {
402
- "assumeRolePolicyDocument": {
403
- "Statement": [
404
- {
405
- "Action": "sts:AssumeRoleWithWebIdentity",
406
- "Condition": {
407
- "StringEquals": {
408
- "cognito-identity.amazonaws.com:aud": {
409
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
410
- }
411
- },
412
- "ForAnyValue:StringLike": {
413
- "cognito-identity.amazonaws.com:amr": "authenticated"
414
- }
415
- },
416
- "Effect": "Allow",
417
- "Principal": {
418
- "Federated": "cognito-identity.amazonaws.com"
419
- }
420
- }
421
- ],
422
- "Version": "2012-10-17"
423
- },
424
- "policies": [
425
- {
426
- "policyName": "CognitoAccessPolicy",
427
- "policyDocument": {
428
- "Statement": [
429
- {
430
- "Action": "es:ESHttp*",
431
- "Effect": "Allow",
432
- "Resource": {
433
- "Fn::Join": [
434
- "",
435
- [
436
- "arn:",
437
- {
438
- "Ref": "AWS::Partition"
439
- },
440
- ":es:",
441
- {
442
- "Ref": "AWS::Region"
443
- },
444
- ":",
445
- {
446
- "Ref": "AWS::AccountId"
447
- },
448
- ":domain/",
449
- {
450
- "Fn::Join": [
451
- "-",
452
- [
453
- "dn",
454
- {
455
- "Fn::Select": [
456
- 4,
457
- {
458
- "Fn::Split": [
459
- "-",
460
- {
461
- "Fn::Select": [
462
- 2,
463
- {
464
- "Fn::Split": [
465
- "/",
466
- {
467
- "Ref": "AWS::StackId"
468
- }
469
- ]
470
- }
471
- ]
472
- }
473
- ]
474
- }
475
- ]
476
- }
477
- ]
478
- ]
479
- },
480
- "/*"
481
- ]
482
- ]
483
- }
484
- }
485
- ],
486
- "Version": "2012-10-17"
487
- }
488
- }
489
- ]
490
- }
491
- },
492
- "constructInfo": {
493
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
494
- "version": "2.150.0"
495
- }
496
- }
497
- },
498
- "constructInfo": {
499
- "fqn": "aws-cdk-lib.aws_iam.Role",
500
- "version": "2.150.0"
501
- }
502
- },
503
- "IdentityPoolRoleMapping": {
504
- "id": "IdentityPoolRoleMapping",
505
- "path": "lamopn-no-arguments/test-lambda-opensearch/IdentityPoolRoleMapping",
506
- "attributes": {
507
- "aws:cdk:cloudformation:type": "AWS::Cognito::IdentityPoolRoleAttachment",
508
- "aws:cdk:cloudformation:props": {
509
- "identityPoolId": {
510
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
511
- },
512
- "roles": {
513
- "authenticated": {
514
- "Fn::GetAtt": [
515
- "testlambdaopensearchCognitoAuthorizedRole58A1ED44",
516
- "Arn"
517
- ]
518
- }
519
- }
520
- }
521
- },
522
- "constructInfo": {
523
- "fqn": "aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment",
524
- "version": "2.150.0"
525
- }
526
- },
527
- "CognitoDashboardConfigureRole": {
528
- "id": "CognitoDashboardConfigureRole",
529
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole",
530
- "children": {
531
- "ImportCognitoDashboardConfigureRole": {
532
- "id": "ImportCognitoDashboardConfigureRole",
533
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole",
534
- "constructInfo": {
535
- "fqn": "aws-cdk-lib.Resource",
536
- "version": "2.150.0"
537
- }
538
- },
539
- "Resource": {
540
- "id": "Resource",
541
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole/Resource",
542
- "attributes": {
543
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
544
- "aws:cdk:cloudformation:props": {
545
- "assumeRolePolicyDocument": {
546
- "Statement": [
547
- {
548
- "Action": "sts:AssumeRole",
549
- "Effect": "Allow",
550
- "Principal": {
551
- "Service": "es.amazonaws.com"
552
- }
553
- }
554
- ],
555
- "Version": "2012-10-17"
556
- }
557
- }
558
- },
559
- "constructInfo": {
560
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
561
- "version": "2.150.0"
562
- }
563
- }
564
- },
565
- "constructInfo": {
566
- "fqn": "aws-cdk-lib.aws_iam.Role",
567
- "version": "2.150.0"
568
- }
569
- },
570
- "CognitoDashboardConfigureRolePolicy": {
571
- "id": "CognitoDashboardConfigureRolePolicy",
572
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy",
573
- "children": {
574
- "Resource": {
575
- "id": "Resource",
576
- "path": "lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy/Resource",
577
- "attributes": {
578
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
579
- "aws:cdk:cloudformation:props": {
580
- "policyDocument": {
581
- "Statement": [
582
- {
583
- "Action": [
584
- "cognito-identity:DescribeIdentityPool",
585
- "cognito-identity:GetIdentityPoolRoles",
586
- "cognito-identity:SetIdentityPoolRoles",
587
- "cognito-identity:UpdateIdentityPool",
588
- "cognito-idp:AdminInitiateAuth",
589
- "cognito-idp:AdminUserGlobalSignOut",
590
- "cognito-idp:CreateUserPoolClient",
591
- "cognito-idp:DeleteUserPoolClient",
592
- "cognito-idp:DescribeUserPool",
593
- "cognito-idp:DescribeUserPoolClient",
594
- "cognito-idp:ListUserPoolClients",
595
- "es:UpdateDomainConfig"
596
- ],
597
- "Effect": "Allow",
598
- "Resource": [
599
- {
600
- "Fn::GetAtt": [
601
- "testlambdaopensearchCognitoUserPoolA09096F9",
602
- "Arn"
603
- ]
604
- },
605
- {
606
- "Fn::Join": [
607
- "",
608
- [
609
- "arn:",
610
- {
611
- "Ref": "AWS::Partition"
612
- },
613
- ":cognito-identity:",
614
- {
615
- "Ref": "AWS::Region"
616
- },
617
- ":",
618
- {
619
- "Ref": "AWS::AccountId"
620
- },
621
- ":identitypool/",
622
- {
623
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
624
- }
625
- ]
626
- ]
627
- },
628
- {
629
- "Fn::Join": [
630
- "",
631
- [
632
- "arn:",
633
- {
634
- "Ref": "AWS::Partition"
635
- },
636
- ":es:",
637
- {
638
- "Ref": "AWS::Region"
639
- },
640
- ":",
641
- {
642
- "Ref": "AWS::AccountId"
643
- },
644
- ":domain/",
645
- {
646
- "Fn::Join": [
647
- "-",
648
- [
649
- "dn",
650
- {
651
- "Fn::Select": [
652
- 4,
653
- {
654
- "Fn::Split": [
655
- "-",
656
- {
657
- "Fn::Select": [
658
- 2,
659
- {
660
- "Fn::Split": [
661
- "/",
662
- {
663
- "Ref": "AWS::StackId"
664
- }
665
- ]
666
- }
667
- ]
668
- }
669
- ]
670
- }
671
- ]
672
- }
673
- ]
674
- ]
675
- }
676
- ]
677
- ]
678
- }
679
- ]
680
- },
681
- {
682
- "Action": "iam:PassRole",
683
- "Condition": {
684
- "StringLike": {
685
- "iam:PassedToService": "cognito-identity.amazonaws.com"
686
- }
687
- },
688
- "Effect": "Allow",
689
- "Resource": {
690
- "Fn::GetAtt": [
691
- "testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A",
692
- "Arn"
693
- ]
694
- }
695
- }
696
- ],
697
- "Version": "2012-10-17"
698
- },
699
- "policyName": "testlambdaopensearchCognitoDashboardConfigureRolePolicyC9C6A6A2",
700
- "roles": [
701
- {
702
- "Ref": "testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A"
703
- }
704
- ]
705
- }
706
- },
707
- "constructInfo": {
708
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
709
- "version": "2.150.0"
710
- }
711
- }
712
- },
713
- "constructInfo": {
714
- "fqn": "aws-cdk-lib.aws_iam.Policy",
715
- "version": "2.150.0"
716
- }
717
- },
718
- "OpenSearchDomain": {
719
- "id": "OpenSearchDomain",
720
- "path": "lamopn-no-arguments/test-lambda-opensearch/OpenSearchDomain",
721
- "attributes": {
722
- "aws:cdk:cloudformation:type": "AWS::OpenSearchService::Domain",
723
- "aws:cdk:cloudformation:props": {
724
- "accessPolicies": {
725
- "Statement": [
726
- {
727
- "Action": "es:ESHttp*",
728
- "Effect": "Allow",
729
- "Principal": {
730
- "AWS": [
731
- {
732
- "Fn::GetAtt": [
733
- "testlambdaopensearchCognitoAuthorizedRole58A1ED44",
734
- "Arn"
735
- ]
736
- },
737
- {
738
- "Fn::GetAtt": [
739
- "testlambdaopensearchLambdaFunctionServiceRole4722AB8A",
740
- "Arn"
741
- ]
742
- }
743
- ]
744
- },
745
- "Resource": {
746
- "Fn::Join": [
747
- "",
748
- [
749
- "arn:",
750
- {
751
- "Ref": "AWS::Partition"
752
- },
753
- ":es:",
754
- {
755
- "Ref": "AWS::Region"
756
- },
757
- ":",
758
- {
759
- "Ref": "AWS::AccountId"
760
- },
761
- ":domain/",
762
- {
763
- "Fn::Join": [
764
- "-",
765
- [
766
- "dn",
767
- {
768
- "Fn::Select": [
769
- 4,
770
- {
771
- "Fn::Split": [
772
- "-",
773
- {
774
- "Fn::Select": [
775
- 2,
776
- {
777
- "Fn::Split": [
778
- "/",
779
- {
780
- "Ref": "AWS::StackId"
781
- }
782
- ]
783
- }
784
- ]
785
- }
786
- ]
787
- }
788
- ]
789
- }
790
- ]
791
- ]
792
- },
793
- "/*"
794
- ]
795
- ]
796
- }
797
- }
798
- ],
799
- "Version": "2012-10-17"
800
- },
801
- "clusterConfig": {
802
- "dedicatedMasterEnabled": true,
803
- "dedicatedMasterCount": 3,
804
- "zoneAwarenessEnabled": true,
805
- "zoneAwarenessConfig": {
806
- "availabilityZoneCount": 2
807
- },
808
- "instanceCount": 2
809
- },
810
- "cognitoOptions": {
811
- "enabled": true,
812
- "identityPoolId": {
813
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
814
- },
815
- "userPoolId": {
816
- "Ref": "testlambdaopensearchCognitoUserPoolA09096F9"
817
- },
818
- "roleArn": {
819
- "Fn::GetAtt": [
820
- "testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A",
821
- "Arn"
822
- ]
823
- }
824
- },
825
- "domainEndpointOptions": {
826
- "enforceHttps": true,
827
- "tlsSecurityPolicy": "Policy-Min-TLS-1-2-2019-07"
828
- },
829
- "domainName": {
830
- "Fn::Join": [
831
- "-",
832
- [
833
- "dn",
834
- {
835
- "Fn::Select": [
836
- 4,
837
- {
838
- "Fn::Split": [
839
- "-",
840
- {
841
- "Fn::Select": [
842
- 2,
843
- {
844
- "Fn::Split": [
845
- "/",
846
- {
847
- "Ref": "AWS::StackId"
848
- }
849
- ]
850
- }
851
- ]
852
- }
853
- ]
854
- }
855
- ]
856
- }
857
- ]
858
- ]
859
- },
860
- "ebsOptions": {
861
- "ebsEnabled": true,
862
- "volumeSize": 10
863
- },
864
- "encryptionAtRestOptions": {
865
- "enabled": true
866
- },
867
- "engineVersion": "OpenSearch_1.3",
868
- "nodeToNodeEncryptionOptions": {
869
- "enabled": true
870
- },
871
- "snapshotOptions": {
872
- "automatedSnapshotStartHour": 1
873
- }
874
- }
875
- },
876
- "constructInfo": {
877
- "fqn": "aws-cdk-lib.aws_opensearchservice.CfnDomain",
878
- "version": "2.150.0"
879
- }
880
- },
881
- "StatusRedAlarm": {
882
- "id": "StatusRedAlarm",
883
- "path": "lamopn-no-arguments/test-lambda-opensearch/StatusRedAlarm",
884
- "children": {
885
- "Resource": {
886
- "id": "Resource",
887
- "path": "lamopn-no-arguments/test-lambda-opensearch/StatusRedAlarm/Resource",
888
- "attributes": {
889
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
890
- "aws:cdk:cloudformation:props": {
891
- "alarmDescription": "At least one primary shard and its replicas are not allocated to a node. ",
892
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
893
- "evaluationPeriods": 1,
894
- "metricName": "ClusterStatus.red",
895
- "namespace": "AWS/ES",
896
- "period": 60,
897
- "statistic": "Maximum",
898
- "threshold": 1
899
- }
900
- },
901
- "constructInfo": {
902
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
903
- "version": "2.150.0"
904
- }
905
- }
906
- },
907
- "constructInfo": {
908
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
909
- "version": "2.150.0"
910
- }
911
- },
912
- "StatusYellowAlarm": {
913
- "id": "StatusYellowAlarm",
914
- "path": "lamopn-no-arguments/test-lambda-opensearch/StatusYellowAlarm",
915
- "children": {
916
- "Resource": {
917
- "id": "Resource",
918
- "path": "lamopn-no-arguments/test-lambda-opensearch/StatusYellowAlarm/Resource",
919
- "attributes": {
920
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
921
- "aws:cdk:cloudformation:props": {
922
- "alarmDescription": "At least one replica shard is not allocated to a node.",
923
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
924
- "evaluationPeriods": 1,
925
- "metricName": "ClusterStatus.yellow",
926
- "namespace": "AWS/ES",
927
- "period": 60,
928
- "statistic": "Maximum",
929
- "threshold": 1
930
- }
931
- },
932
- "constructInfo": {
933
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
934
- "version": "2.150.0"
935
- }
936
- }
937
- },
938
- "constructInfo": {
939
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
940
- "version": "2.150.0"
941
- }
942
- },
943
- "FreeStorageSpaceTooLowAlarm": {
944
- "id": "FreeStorageSpaceTooLowAlarm",
945
- "path": "lamopn-no-arguments/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm",
946
- "children": {
947
- "Resource": {
948
- "id": "Resource",
949
- "path": "lamopn-no-arguments/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm/Resource",
950
- "attributes": {
951
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
952
- "aws:cdk:cloudformation:props": {
953
- "alarmDescription": "A node in your cluster is down to 20 GiB of free storage space.",
954
- "comparisonOperator": "LessThanOrEqualToThreshold",
955
- "evaluationPeriods": 1,
956
- "metricName": "FreeStorageSpace",
957
- "namespace": "AWS/ES",
958
- "period": 60,
959
- "statistic": "Minimum",
960
- "threshold": 20000
961
- }
962
- },
963
- "constructInfo": {
964
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
965
- "version": "2.150.0"
966
- }
967
- }
968
- },
969
- "constructInfo": {
970
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
971
- "version": "2.150.0"
972
- }
973
- },
974
- "IndexWritesBlockedTooHighAlarm": {
975
- "id": "IndexWritesBlockedTooHighAlarm",
976
- "path": "lamopn-no-arguments/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm",
977
- "children": {
978
- "Resource": {
979
- "id": "Resource",
980
- "path": "lamopn-no-arguments/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm/Resource",
981
- "attributes": {
982
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
983
- "aws:cdk:cloudformation:props": {
984
- "alarmDescription": "Your cluster is blocking write requests.",
985
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
986
- "evaluationPeriods": 1,
987
- "metricName": "ClusterIndexWritesBlocked",
988
- "namespace": "AWS/ES",
989
- "period": 300,
990
- "statistic": "Maximum",
991
- "threshold": 1
992
- }
993
- },
994
- "constructInfo": {
995
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
996
- "version": "2.150.0"
997
- }
998
- }
999
- },
1000
- "constructInfo": {
1001
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1002
- "version": "2.150.0"
1003
- }
1004
- },
1005
- "AutomatedSnapshotFailureTooHighAlarm": {
1006
- "id": "AutomatedSnapshotFailureTooHighAlarm",
1007
- "path": "lamopn-no-arguments/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm",
1008
- "children": {
1009
- "Resource": {
1010
- "id": "Resource",
1011
- "path": "lamopn-no-arguments/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm/Resource",
1012
- "attributes": {
1013
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1014
- "aws:cdk:cloudformation:props": {
1015
- "alarmDescription": "An automated snapshot failed. This failure is often the result of a red cluster health status.",
1016
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1017
- "evaluationPeriods": 1,
1018
- "metricName": "AutomatedSnapshotFailure",
1019
- "namespace": "AWS/ES",
1020
- "period": 60,
1021
- "statistic": "Maximum",
1022
- "threshold": 1
1023
- }
1024
- },
1025
- "constructInfo": {
1026
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1027
- "version": "2.150.0"
1028
- }
1029
- }
1030
- },
1031
- "constructInfo": {
1032
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1033
- "version": "2.150.0"
1034
- }
1035
- },
1036
- "CPUUtilizationTooHighAlarm": {
1037
- "id": "CPUUtilizationTooHighAlarm",
1038
- "path": "lamopn-no-arguments/test-lambda-opensearch/CPUUtilizationTooHighAlarm",
1039
- "children": {
1040
- "Resource": {
1041
- "id": "Resource",
1042
- "path": "lamopn-no-arguments/test-lambda-opensearch/CPUUtilizationTooHighAlarm/Resource",
1043
- "attributes": {
1044
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1045
- "aws:cdk:cloudformation:props": {
1046
- "alarmDescription": "100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.",
1047
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1048
- "evaluationPeriods": 3,
1049
- "metricName": "CPUUtilization",
1050
- "namespace": "AWS/ES",
1051
- "period": 900,
1052
- "statistic": "Average",
1053
- "threshold": 80
1054
- }
1055
- },
1056
- "constructInfo": {
1057
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1058
- "version": "2.150.0"
1059
- }
1060
- }
1061
- },
1062
- "constructInfo": {
1063
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1064
- "version": "2.150.0"
1065
- }
1066
- },
1067
- "JVMMemoryPressureTooHighAlarm": {
1068
- "id": "JVMMemoryPressureTooHighAlarm",
1069
- "path": "lamopn-no-arguments/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm",
1070
- "children": {
1071
- "Resource": {
1072
- "id": "Resource",
1073
- "path": "lamopn-no-arguments/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm/Resource",
1074
- "attributes": {
1075
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1076
- "aws:cdk:cloudformation:props": {
1077
- "alarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
1078
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1079
- "evaluationPeriods": 1,
1080
- "metricName": "JVMMemoryPressure",
1081
- "namespace": "AWS/ES",
1082
- "period": 900,
1083
- "statistic": "Average",
1084
- "threshold": 80
1085
- }
1086
- },
1087
- "constructInfo": {
1088
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1089
- "version": "2.150.0"
1090
- }
1091
- }
1092
- },
1093
- "constructInfo": {
1094
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1095
- "version": "2.150.0"
1096
- }
1097
- },
1098
- "MasterCPUUtilizationTooHighAlarm": {
1099
- "id": "MasterCPUUtilizationTooHighAlarm",
1100
- "path": "lamopn-no-arguments/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm",
1101
- "children": {
1102
- "Resource": {
1103
- "id": "Resource",
1104
- "path": "lamopn-no-arguments/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm/Resource",
1105
- "attributes": {
1106
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1107
- "aws:cdk:cloudformation:props": {
1108
- "alarmDescription": "Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.",
1109
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1110
- "evaluationPeriods": 3,
1111
- "metricName": "MasterCPUUtilization",
1112
- "namespace": "AWS/ES",
1113
- "period": 900,
1114
- "statistic": "Average",
1115
- "threshold": 50
1116
- }
1117
- },
1118
- "constructInfo": {
1119
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1120
- "version": "2.150.0"
1121
- }
1122
- }
1123
- },
1124
- "constructInfo": {
1125
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1126
- "version": "2.150.0"
1127
- }
1128
- },
1129
- "MasterJVMMemoryPressureTooHighAlarm": {
1130
- "id": "MasterJVMMemoryPressureTooHighAlarm",
1131
- "path": "lamopn-no-arguments/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm",
1132
- "children": {
1133
- "Resource": {
1134
- "id": "Resource",
1135
- "path": "lamopn-no-arguments/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm/Resource",
1136
- "attributes": {
1137
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1138
- "aws:cdk:cloudformation:props": {
1139
- "alarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
1140
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1141
- "evaluationPeriods": 1,
1142
- "metricName": "MasterJVMMemoryPressure",
1143
- "namespace": "AWS/ES",
1144
- "period": 900,
1145
- "statistic": "Average",
1146
- "threshold": 50
1147
- }
1148
- },
1149
- "constructInfo": {
1150
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1151
- "version": "2.150.0"
1152
- }
1153
- }
1154
- },
1155
- "constructInfo": {
1156
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1157
- "version": "2.150.0"
1158
- }
1159
- }
1160
- },
1161
- "constructInfo": {
1162
- "fqn": "@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch",
1163
- "version": "2.63.0"
1164
- }
1165
- },
1166
- "Integ": {
1167
- "id": "Integ",
1168
- "path": "lamopn-no-arguments/Integ",
1169
- "children": {
1170
- "DefaultTest": {
1171
- "id": "DefaultTest",
1172
- "path": "lamopn-no-arguments/Integ/DefaultTest",
1173
- "children": {
1174
- "Default": {
1175
- "id": "Default",
1176
- "path": "lamopn-no-arguments/Integ/DefaultTest/Default",
1177
- "constructInfo": {
1178
- "fqn": "constructs.Construct",
1179
- "version": "10.3.0"
1180
- }
1181
- },
1182
- "DeployAssert": {
1183
- "id": "DeployAssert",
1184
- "path": "lamopn-no-arguments/Integ/DefaultTest/DeployAssert",
1185
- "children": {
1186
- "BootstrapVersion": {
1187
- "id": "BootstrapVersion",
1188
- "path": "lamopn-no-arguments/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1189
- "constructInfo": {
1190
- "fqn": "aws-cdk-lib.CfnParameter",
1191
- "version": "2.150.0"
1192
- }
1193
- },
1194
- "CheckBootstrapVersion": {
1195
- "id": "CheckBootstrapVersion",
1196
- "path": "lamopn-no-arguments/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1197
- "constructInfo": {
1198
- "fqn": "aws-cdk-lib.CfnRule",
1199
- "version": "2.150.0"
1200
- }
1201
- }
1202
- },
1203
- "constructInfo": {
1204
- "fqn": "aws-cdk-lib.Stack",
1205
- "version": "2.150.0"
1206
- }
1207
- }
1208
- },
1209
- "constructInfo": {
1210
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1211
- "version": "2.150.0-alpha.0"
1212
- }
1213
- }
1214
- },
1215
- "constructInfo": {
1216
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1217
- "version": "2.150.0-alpha.0"
1218
- }
1219
- },
1220
- "BootstrapVersion": {
1221
- "id": "BootstrapVersion",
1222
- "path": "lamopn-no-arguments/BootstrapVersion",
1223
- "constructInfo": {
1224
- "fqn": "aws-cdk-lib.CfnParameter",
1225
- "version": "2.150.0"
1226
- }
1227
- },
1228
- "CheckBootstrapVersion": {
1229
- "id": "CheckBootstrapVersion",
1230
- "path": "lamopn-no-arguments/CheckBootstrapVersion",
1231
- "constructInfo": {
1232
- "fqn": "aws-cdk-lib.CfnRule",
1233
- "version": "2.150.0"
1234
- }
1235
- }
1236
- },
1237
- "constructInfo": {
1238
- "fqn": "aws-cdk-lib.Stack",
1239
- "version": "2.150.0"
1240
- }
1241
- },
1242
- "Tree": {
1243
- "id": "Tree",
1244
- "path": "Tree",
1245
- "constructInfo": {
1246
- "fqn": "constructs.Construct",
1247
- "version": "10.3.0"
1248
- }
1249
- }
1250
- },
1251
- "constructInfo": {
1252
- "fqn": "aws-cdk-lib.App",
1253
- "version": "2.150.0"
1254
- }
1255
- }
1256
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamopn-no-arguments":{"id":"lamopn-no-arguments","path":"lamopn-no-arguments","children":{"test-lambda-opensearch":{"id":"test-lambda-opensearch","path":"lamopn-no-arguments/test-lambda-opensearch","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamopn-no-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/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":"lamopn-no-arguments/test-lambda-opensearch/LambdaFunction","children":{"Code":{"id":"Code","path":"lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamopn-no-arguments/test-lambda-opensearch/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":"lamopn-no-arguments/test-lambda-opensearch/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":"36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0.zip"},"environment":{"variables":{"AWS_NODEJS_CONNECTION_REUSE_ENABLED":"1","DOMAIN_ENDPOINT":{"Fn::GetAtt":["testlambdaopensearchOpenSearchDomainF9CCC3D3","DomainEndpoint"]}}},"handler":"index.handler","role":{"Fn::GetAtt":["testlambdaopensearchLambdaFunctionServiceRole4722AB8A","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":"lamopn-no-arguments/test-lambda-opensearch/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/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":"testlambdaopensearchLambdaFunctioninlinePolicyAddedToExecutionRole09B870594","roles":[{"Ref":"testlambdaopensearchLambdaFunctionServiceRole4722AB8A"}]}},"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}]},{"addEnvironment":["*","*"]}]}},"CognitoUserPool":{"id":"CognitoUserPool","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoUserPool","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoUserPool/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPool","aws:cdk:cloudformation:props":{"accountRecoverySetting":{"recoveryMechanisms":[{"name":"verified_phone_number","priority":1},{"name":"verified_email","priority":2}]},"adminCreateUserConfig":{"allowAdminCreateUserOnly":true},"emailVerificationMessage":"The verification code to your new account is {####}","emailVerificationSubject":"Verify your new account","smsVerificationMessage":"The verification code to your new account is {####}","userPoolAddOns":{"advancedSecurityMode":"ENFORCED"},"verificationMessageTemplate":{"defaultEmailOption":"CONFIRM_WITH_CODE","emailMessage":"The verification code to your new account is {####}","emailSubject":"Verify your new account","smsMessage":"The verification code to your new account is {####}"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPool","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPool","version":"2.186.0","metadata":["*"]}},"CognitoUserPoolClient":{"id":"CognitoUserPoolClient","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoUserPoolClient","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoUserPoolClient/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolClient","aws:cdk:cloudformation:props":{"allowedOAuthFlows":["implicit","code"],"allowedOAuthFlowsUserPoolClient":true,"allowedOAuthScopes":["profile","phone","email","openid","aws.cognito.signin.user.admin"],"callbackUrLs":["https://example.com"],"supportedIdentityProviders":["COGNITO"],"userPoolId":{"Ref":"testlambdaopensearchCognitoUserPoolA09096F9"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolClient","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPoolClient","version":"2.186.0","metadata":[{"userPool":"*"}]}},"CognitoIdentityPool":{"id":"CognitoIdentityPool","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoIdentityPool","attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPool","aws:cdk:cloudformation:props":{"allowUnauthenticatedIdentities":false,"cognitoIdentityProviders":[{"clientId":{"Ref":"testlambdaopensearchCognitoUserPoolClient39C21D94"},"providerName":{"Fn::GetAtt":["testlambdaopensearchCognitoUserPoolA09096F9","ProviderName"]},"serverSideTokenCheck":true}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPool","version":"2.186.0"}},"UserPoolDomain":{"id":"UserPoolDomain","path":"lamopn-no-arguments/test-lambda-opensearch/UserPoolDomain","attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolDomain","aws:cdk:cloudformation:props":{"domain":{"Fn::Join":["-",["dn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"userPoolId":{"Ref":"testlambdaopensearchCognitoUserPoolA09096F9"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolDomain","version":"2.186.0"}},"CognitoAuthorizedRole":{"id":"CognitoAuthorizedRole","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoAuthorizedRole","children":{"ImportCognitoAuthorizedRole":{"id":"ImportCognitoAuthorizedRole","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoAuthorizedRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRoleWithWebIdentity","Condition":{"StringEquals":{"cognito-identity.amazonaws.com:aud":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"}},"ForAnyValue:StringLike":{"cognito-identity.amazonaws.com:amr":"authenticated"}},"Effect":"Allow","Principal":{"Federated":"cognito-identity.amazonaws.com"}}],"Version":"2012-10-17"},"policies":[{"policyName":"CognitoAccessPolicy","policyDocument":{"Statement":[{"Action":"es:ESHttp*","Effect":"Allow","Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"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":"*"}]}},"IdentityPoolRoleMapping":{"id":"IdentityPoolRoleMapping","path":"lamopn-no-arguments/test-lambda-opensearch/IdentityPoolRoleMapping","attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPoolRoleAttachment","aws:cdk:cloudformation:props":{"identityPoolId":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"},"roles":{"authenticated":{"Fn::GetAtt":["testlambdaopensearchCognitoAuthorizedRole58A1ED44","Arn"]}}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment","version":"2.186.0"}},"CognitoDashboardConfigureRole":{"id":"CognitoDashboardConfigureRole","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole","children":{"ImportCognitoDashboardConfigureRole":{"id":"ImportCognitoDashboardConfigureRole","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"es.amazonaws.com"}}],"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":"*"}},{"attachInlinePolicy":["*"]}]}},"CognitoDashboardConfigureRolePolicy":{"id":"CognitoDashboardConfigureRolePolicy","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["cognito-identity:DescribeIdentityPool","cognito-identity:GetIdentityPoolRoles","cognito-identity:SetIdentityPoolRoles","cognito-identity:UpdateIdentityPool","cognito-idp:AdminInitiateAuth","cognito-idp:AdminUserGlobalSignOut","cognito-idp:CreateUserPoolClient","cognito-idp:DeleteUserPoolClient","cognito-idp:DescribeUserPool","cognito-idp:DescribeUserPoolClient","cognito-idp:ListUserPoolClients","es:UpdateDomainConfig"],"Effect":"Allow","Resource":[{"Fn::GetAtt":["testlambdaopensearchCognitoUserPoolA09096F9","Arn"]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":cognito-identity:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":identitypool/",{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"}]]},{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]}]]}]},{"Action":"iam:PassRole","Condition":{"StringLike":{"iam:PassedToService":"cognito-identity.amazonaws.com"}},"Effect":"Allow","Resource":{"Fn::GetAtt":["testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A","Arn"]}}],"Version":"2012-10-17"},"policyName":"testlambdaopensearchCognitoDashboardConfigureRolePolicyC9C6A6A2","roles":[{"Ref":"testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A"}]}},"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":[{}]},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]}},"OpenSearchDomain":{"id":"OpenSearchDomain","path":"lamopn-no-arguments/test-lambda-opensearch/OpenSearchDomain","attributes":{"aws:cdk:cloudformation:type":"AWS::OpenSearchService::Domain","aws:cdk:cloudformation:props":{"accessPolicies":{"Statement":[{"Action":"es:ESHttp*","Effect":"Allow","Principal":{"AWS":[{"Fn::GetAtt":["testlambdaopensearchCognitoAuthorizedRole58A1ED44","Arn"]},{"Fn::GetAtt":["testlambdaopensearchLambdaFunctionServiceRole4722AB8A","Arn"]}]},"Resource":{"Fn::Join":["",["arn:",{"Ref":"AWS::Partition"},":es:",{"Ref":"AWS::Region"},":",{"Ref":"AWS::AccountId"},":domain/",{"Fn::Join":["-",["dn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"Version":"2012-10-17"},"clusterConfig":{"dedicatedMasterEnabled":true,"dedicatedMasterCount":3,"zoneAwarenessEnabled":true,"zoneAwarenessConfig":{"availabilityZoneCount":2},"instanceCount":2},"cognitoOptions":{"enabled":true,"identityPoolId":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"},"userPoolId":{"Ref":"testlambdaopensearchCognitoUserPoolA09096F9"},"roleArn":{"Fn::GetAtt":["testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A","Arn"]}},"domainEndpointOptions":{"enforceHttps":true,"tlsSecurityPolicy":"Policy-Min-TLS-1-2-2019-07"},"domainName":{"Fn::Join":["-",["dn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"ebsOptions":{"ebsEnabled":true,"volumeSize":10},"encryptionAtRestOptions":{"enabled":true},"engineVersion":"OpenSearch_1.3","nodeToNodeEncryptionOptions":{"enabled":true},"snapshotOptions":{"automatedSnapshotStartHour":1}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_opensearchservice.CfnDomain","version":"2.186.0"}},"StatusRedAlarm":{"id":"StatusRedAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/StatusRedAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/StatusRedAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"At least one primary shard and its replicas are not allocated to a node. ","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterStatus.red","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"StatusYellowAlarm":{"id":"StatusYellowAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/StatusYellowAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/StatusYellowAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"At least one replica shard is not allocated to a node.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterStatus.yellow","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"FreeStorageSpaceTooLowAlarm":{"id":"FreeStorageSpaceTooLowAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"A node in your cluster is down to 20 GiB of free storage space.","comparisonOperator":"LessThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"FreeStorageSpace","namespace":"AWS/ES","period":60,"statistic":"Minimum","threshold":20000}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"IndexWritesBlockedTooHighAlarm":{"id":"IndexWritesBlockedTooHighAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Your cluster is blocking write requests.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"ClusterIndexWritesBlocked","namespace":"AWS/ES","period":300,"statistic":"Maximum","threshold":1}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"AutomatedSnapshotFailureTooHighAlarm":{"id":"AutomatedSnapshotFailureTooHighAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"An automated snapshot failed. This failure is often the result of a red cluster health status.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"AutomatedSnapshotFailure","namespace":"AWS/ES","period":60,"statistic":"Maximum","threshold":1}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"CPUUtilizationTooHighAlarm":{"id":"CPUUtilizationTooHighAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/CPUUtilizationTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/CPUUtilizationTooHighAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":3,"metricName":"CPUUtilization","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":80}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"JVMMemoryPressureTooHighAlarm":{"id":"JVMMemoryPressureTooHighAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"JVMMemoryPressure","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":80}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"MasterCPUUtilizationTooHighAlarm":{"id":"MasterCPUUtilizationTooHighAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":3,"metricName":"MasterCPUUtilization","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":50}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}},"MasterJVMMemoryPressureTooHighAlarm":{"id":"MasterJVMMemoryPressureTooHighAlarm","path":"lamopn-no-arguments/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-no-arguments/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::CloudWatch::Alarm","aws:cdk:cloudformation:props":{"alarmDescription":"Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.","comparisonOperator":"GreaterThanOrEqualToThreshold","evaluationPeriods":1,"metricName":"MasterJVMMemoryPressure","namespace":"AWS/ES","period":900,"statistic":"Average","threshold":50}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.186.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]}}},"constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch","version":"2.80.0"}},"Integ":{"id":"Integ","path":"lamopn-no-arguments/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamopn-no-arguments/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamopn-no-arguments/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamopn-no-arguments/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamopn-no-arguments/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-no-arguments/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":"lamopn-no-arguments/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-no-arguments/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"}}}