@aws-solutions-constructs/aws-lambda-opensearch 2.51.0 → 2.52.1

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,1256 @@
1
+ {
2
+ "version": "tree-0.1",
3
+ "tree": {
4
+ "id": "App",
5
+ "path": "",
6
+ "children": {
7
+ "lamopn-domain-arguments": {
8
+ "id": "lamopn-domain-arguments",
9
+ "path": "lamopn-domain-arguments",
10
+ "children": {
11
+ "test-lambda-opensearch": {
12
+ "id": "test-lambda-opensearch",
13
+ "path": "lamopn-domain-arguments/test-lambda-opensearch",
14
+ "children": {
15
+ "LambdaFunctionServiceRole": {
16
+ "id": "LambdaFunctionServiceRole",
17
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunctionServiceRole",
18
+ "children": {
19
+ "ImportLambdaFunctionServiceRole": {
20
+ "id": "ImportLambdaFunctionServiceRole",
21
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole",
22
+ "constructInfo": {
23
+ "fqn": "aws-cdk-lib.Resource",
24
+ "version": "2.118.0"
25
+ }
26
+ },
27
+ "Resource": {
28
+ "id": "Resource",
29
+ "path": "lamopn-domain-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.118.0"
88
+ }
89
+ },
90
+ "DefaultPolicy": {
91
+ "id": "DefaultPolicy",
92
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy",
93
+ "children": {
94
+ "Resource": {
95
+ "id": "Resource",
96
+ "path": "lamopn-domain-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.118.0"
124
+ }
125
+ }
126
+ },
127
+ "constructInfo": {
128
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
129
+ "version": "2.118.0"
130
+ }
131
+ }
132
+ },
133
+ "constructInfo": {
134
+ "fqn": "aws-cdk-lib.aws_iam.Role",
135
+ "version": "2.118.0"
136
+ }
137
+ },
138
+ "LambdaFunction": {
139
+ "id": "LambdaFunction",
140
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunction",
141
+ "children": {
142
+ "Code": {
143
+ "id": "Code",
144
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunction/Code",
145
+ "children": {
146
+ "Stage": {
147
+ "id": "Stage",
148
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunction/Code/Stage",
149
+ "constructInfo": {
150
+ "fqn": "aws-cdk-lib.AssetStaging",
151
+ "version": "2.118.0"
152
+ }
153
+ },
154
+ "AssetBucket": {
155
+ "id": "AssetBucket",
156
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/LambdaFunction/Code/AssetBucket",
157
+ "constructInfo": {
158
+ "fqn": "aws-cdk-lib.aws_s3.BucketBase",
159
+ "version": "2.118.0"
160
+ }
161
+ }
162
+ },
163
+ "constructInfo": {
164
+ "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
165
+ "version": "2.118.0"
166
+ }
167
+ },
168
+ "Resource": {
169
+ "id": "Resource",
170
+ "path": "lamopn-domain-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": "nodejs16.x",
199
+ "tracingConfig": {
200
+ "mode": "Active"
201
+ }
202
+ }
203
+ },
204
+ "constructInfo": {
205
+ "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
206
+ "version": "2.118.0"
207
+ }
208
+ }
209
+ },
210
+ "constructInfo": {
211
+ "fqn": "aws-cdk-lib.aws_lambda.Function",
212
+ "version": "2.118.0"
213
+ }
214
+ },
215
+ "CognitoUserPool": {
216
+ "id": "CognitoUserPool",
217
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoUserPool",
218
+ "children": {
219
+ "Resource": {
220
+ "id": "Resource",
221
+ "path": "lamopn-domain-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.118.0"
257
+ }
258
+ }
259
+ },
260
+ "constructInfo": {
261
+ "fqn": "aws-cdk-lib.aws_cognito.UserPool",
262
+ "version": "2.118.0"
263
+ }
264
+ },
265
+ "CognitoUserPoolClient": {
266
+ "id": "CognitoUserPoolClient",
267
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoUserPoolClient",
268
+ "children": {
269
+ "Resource": {
270
+ "id": "Resource",
271
+ "path": "lamopn-domain-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.118.0"
301
+ }
302
+ }
303
+ },
304
+ "constructInfo": {
305
+ "fqn": "aws-cdk-lib.aws_cognito.UserPoolClient",
306
+ "version": "2.118.0"
307
+ }
308
+ },
309
+ "CognitoIdentityPool": {
310
+ "id": "CognitoIdentityPool",
311
+ "path": "lamopn-domain-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.118.0"
335
+ }
336
+ },
337
+ "UserPoolDomain": {
338
+ "id": "UserPoolDomain",
339
+ "path": "lamopn-domain-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
+ "dmn",
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.118.0"
382
+ }
383
+ },
384
+ "CognitoAuthorizedRole": {
385
+ "id": "CognitoAuthorizedRole",
386
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoAuthorizedRole",
387
+ "children": {
388
+ "ImportCognitoAuthorizedRole": {
389
+ "id": "ImportCognitoAuthorizedRole",
390
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole",
391
+ "constructInfo": {
392
+ "fqn": "aws-cdk-lib.Resource",
393
+ "version": "2.118.0"
394
+ }
395
+ },
396
+ "Resource": {
397
+ "id": "Resource",
398
+ "path": "lamopn-domain-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
+ "dmn",
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.118.0"
495
+ }
496
+ }
497
+ },
498
+ "constructInfo": {
499
+ "fqn": "aws-cdk-lib.aws_iam.Role",
500
+ "version": "2.118.0"
501
+ }
502
+ },
503
+ "IdentityPoolRoleMapping": {
504
+ "id": "IdentityPoolRoleMapping",
505
+ "path": "lamopn-domain-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.118.0"
525
+ }
526
+ },
527
+ "CognitoDashboardConfigureRole": {
528
+ "id": "CognitoDashboardConfigureRole",
529
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole",
530
+ "children": {
531
+ "ImportCognitoDashboardConfigureRole": {
532
+ "id": "ImportCognitoDashboardConfigureRole",
533
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole",
534
+ "constructInfo": {
535
+ "fqn": "aws-cdk-lib.Resource",
536
+ "version": "2.118.0"
537
+ }
538
+ },
539
+ "Resource": {
540
+ "id": "Resource",
541
+ "path": "lamopn-domain-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.118.0"
562
+ }
563
+ }
564
+ },
565
+ "constructInfo": {
566
+ "fqn": "aws-cdk-lib.aws_iam.Role",
567
+ "version": "2.118.0"
568
+ }
569
+ },
570
+ "CognitoDashboardConfigureRolePolicy": {
571
+ "id": "CognitoDashboardConfigureRolePolicy",
572
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy",
573
+ "children": {
574
+ "Resource": {
575
+ "id": "Resource",
576
+ "path": "lamopn-domain-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
+ "dmn",
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.118.0"
710
+ }
711
+ }
712
+ },
713
+ "constructInfo": {
714
+ "fqn": "aws-cdk-lib.aws_iam.Policy",
715
+ "version": "2.118.0"
716
+ }
717
+ },
718
+ "OpenSearchDomain": {
719
+ "id": "OpenSearchDomain",
720
+ "path": "lamopn-domain-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
+ "dmn",
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
+ "dmn",
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.118.0"
879
+ }
880
+ },
881
+ "StatusRedAlarm": {
882
+ "id": "StatusRedAlarm",
883
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/StatusRedAlarm",
884
+ "children": {
885
+ "Resource": {
886
+ "id": "Resource",
887
+ "path": "lamopn-domain-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.118.0"
904
+ }
905
+ }
906
+ },
907
+ "constructInfo": {
908
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
909
+ "version": "2.118.0"
910
+ }
911
+ },
912
+ "StatusYellowAlarm": {
913
+ "id": "StatusYellowAlarm",
914
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/StatusYellowAlarm",
915
+ "children": {
916
+ "Resource": {
917
+ "id": "Resource",
918
+ "path": "lamopn-domain-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.118.0"
935
+ }
936
+ }
937
+ },
938
+ "constructInfo": {
939
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
940
+ "version": "2.118.0"
941
+ }
942
+ },
943
+ "FreeStorageSpaceTooLowAlarm": {
944
+ "id": "FreeStorageSpaceTooLowAlarm",
945
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm",
946
+ "children": {
947
+ "Resource": {
948
+ "id": "Resource",
949
+ "path": "lamopn-domain-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.118.0"
966
+ }
967
+ }
968
+ },
969
+ "constructInfo": {
970
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
971
+ "version": "2.118.0"
972
+ }
973
+ },
974
+ "IndexWritesBlockedTooHighAlarm": {
975
+ "id": "IndexWritesBlockedTooHighAlarm",
976
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm",
977
+ "children": {
978
+ "Resource": {
979
+ "id": "Resource",
980
+ "path": "lamopn-domain-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.118.0"
997
+ }
998
+ }
999
+ },
1000
+ "constructInfo": {
1001
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1002
+ "version": "2.118.0"
1003
+ }
1004
+ },
1005
+ "AutomatedSnapshotFailureTooHighAlarm": {
1006
+ "id": "AutomatedSnapshotFailureTooHighAlarm",
1007
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm",
1008
+ "children": {
1009
+ "Resource": {
1010
+ "id": "Resource",
1011
+ "path": "lamopn-domain-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.118.0"
1028
+ }
1029
+ }
1030
+ },
1031
+ "constructInfo": {
1032
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1033
+ "version": "2.118.0"
1034
+ }
1035
+ },
1036
+ "CPUUtilizationTooHighAlarm": {
1037
+ "id": "CPUUtilizationTooHighAlarm",
1038
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/CPUUtilizationTooHighAlarm",
1039
+ "children": {
1040
+ "Resource": {
1041
+ "id": "Resource",
1042
+ "path": "lamopn-domain-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.118.0"
1059
+ }
1060
+ }
1061
+ },
1062
+ "constructInfo": {
1063
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1064
+ "version": "2.118.0"
1065
+ }
1066
+ },
1067
+ "JVMMemoryPressureTooHighAlarm": {
1068
+ "id": "JVMMemoryPressureTooHighAlarm",
1069
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm",
1070
+ "children": {
1071
+ "Resource": {
1072
+ "id": "Resource",
1073
+ "path": "lamopn-domain-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.118.0"
1090
+ }
1091
+ }
1092
+ },
1093
+ "constructInfo": {
1094
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1095
+ "version": "2.118.0"
1096
+ }
1097
+ },
1098
+ "MasterCPUUtilizationTooHighAlarm": {
1099
+ "id": "MasterCPUUtilizationTooHighAlarm",
1100
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm",
1101
+ "children": {
1102
+ "Resource": {
1103
+ "id": "Resource",
1104
+ "path": "lamopn-domain-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.118.0"
1121
+ }
1122
+ }
1123
+ },
1124
+ "constructInfo": {
1125
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1126
+ "version": "2.118.0"
1127
+ }
1128
+ },
1129
+ "MasterJVMMemoryPressureTooHighAlarm": {
1130
+ "id": "MasterJVMMemoryPressureTooHighAlarm",
1131
+ "path": "lamopn-domain-arguments/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm",
1132
+ "children": {
1133
+ "Resource": {
1134
+ "id": "Resource",
1135
+ "path": "lamopn-domain-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.118.0"
1152
+ }
1153
+ }
1154
+ },
1155
+ "constructInfo": {
1156
+ "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1157
+ "version": "2.118.0"
1158
+ }
1159
+ }
1160
+ },
1161
+ "constructInfo": {
1162
+ "fqn": "@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch",
1163
+ "version": "2.50.0"
1164
+ }
1165
+ },
1166
+ "Integ": {
1167
+ "id": "Integ",
1168
+ "path": "lamopn-domain-arguments/Integ",
1169
+ "children": {
1170
+ "DefaultTest": {
1171
+ "id": "DefaultTest",
1172
+ "path": "lamopn-domain-arguments/Integ/DefaultTest",
1173
+ "children": {
1174
+ "Default": {
1175
+ "id": "Default",
1176
+ "path": "lamopn-domain-arguments/Integ/DefaultTest/Default",
1177
+ "constructInfo": {
1178
+ "fqn": "constructs.Construct",
1179
+ "version": "10.0.0"
1180
+ }
1181
+ },
1182
+ "DeployAssert": {
1183
+ "id": "DeployAssert",
1184
+ "path": "lamopn-domain-arguments/Integ/DefaultTest/DeployAssert",
1185
+ "children": {
1186
+ "BootstrapVersion": {
1187
+ "id": "BootstrapVersion",
1188
+ "path": "lamopn-domain-arguments/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1189
+ "constructInfo": {
1190
+ "fqn": "aws-cdk-lib.CfnParameter",
1191
+ "version": "2.118.0"
1192
+ }
1193
+ },
1194
+ "CheckBootstrapVersion": {
1195
+ "id": "CheckBootstrapVersion",
1196
+ "path": "lamopn-domain-arguments/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1197
+ "constructInfo": {
1198
+ "fqn": "aws-cdk-lib.CfnRule",
1199
+ "version": "2.118.0"
1200
+ }
1201
+ }
1202
+ },
1203
+ "constructInfo": {
1204
+ "fqn": "aws-cdk-lib.Stack",
1205
+ "version": "2.118.0"
1206
+ }
1207
+ }
1208
+ },
1209
+ "constructInfo": {
1210
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1211
+ "version": "2.118.0-alpha.0"
1212
+ }
1213
+ }
1214
+ },
1215
+ "constructInfo": {
1216
+ "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1217
+ "version": "2.118.0-alpha.0"
1218
+ }
1219
+ },
1220
+ "BootstrapVersion": {
1221
+ "id": "BootstrapVersion",
1222
+ "path": "lamopn-domain-arguments/BootstrapVersion",
1223
+ "constructInfo": {
1224
+ "fqn": "aws-cdk-lib.CfnParameter",
1225
+ "version": "2.118.0"
1226
+ }
1227
+ },
1228
+ "CheckBootstrapVersion": {
1229
+ "id": "CheckBootstrapVersion",
1230
+ "path": "lamopn-domain-arguments/CheckBootstrapVersion",
1231
+ "constructInfo": {
1232
+ "fqn": "aws-cdk-lib.CfnRule",
1233
+ "version": "2.118.0"
1234
+ }
1235
+ }
1236
+ },
1237
+ "constructInfo": {
1238
+ "fqn": "aws-cdk-lib.Stack",
1239
+ "version": "2.118.0"
1240
+ }
1241
+ },
1242
+ "Tree": {
1243
+ "id": "Tree",
1244
+ "path": "Tree",
1245
+ "constructInfo": {
1246
+ "fqn": "constructs.Construct",
1247
+ "version": "10.0.0"
1248
+ }
1249
+ }
1250
+ },
1251
+ "constructInfo": {
1252
+ "fqn": "aws-cdk-lib.App",
1253
+ "version": "2.118.0"
1254
+ }
1255
+ }
1256
+ }