@aws-solutions-constructs/aws-lambda-opensearch 2.79.1 → 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 (65) hide show
  1. package/.jsii +43 -43
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamopn-cluster-config.js.snapshot/{asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  5. package/test/integ.lamopn-cluster-config.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  6. package/test/integ.lamopn-cluster-config.js.snapshot/cdk.out +1 -1
  7. package/test/integ.lamopn-cluster-config.js.snapshot/integ.json +1 -1
  8. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.assets.json +9 -9
  9. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.template.json +35 -9
  10. package/test/integ.lamopn-cluster-config.js.snapshot/lamopnclusterconfigIntegDefaultTestDeployAssertD8012D1A.assets.json +1 -1
  11. package/test/integ.lamopn-cluster-config.js.snapshot/manifest.json +587 -3
  12. package/test/integ.lamopn-cluster-config.js.snapshot/tree.json +1 -1803
  13. package/test/{integ.lamopn-domain-arguments.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → integ.lamopn-disabled-zone-awareness.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  14. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  15. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/cdk.out +1 -1
  16. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/integ.json +1 -1
  17. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.assets.json +9 -9
  18. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.template.json +34 -9
  19. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopndisabledzoneawarenessIntegDefaultTestDeployAssert7E083B68.assets.json +1 -1
  20. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/manifest.json +563 -3
  21. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/tree.json +1 -1695
  22. package/test/{integ.lamopn-existing-vpc.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → integ.lamopn-domain-arguments.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  23. package/test/integ.lamopn-domain-arguments.js.snapshot/cdk.out +1 -1
  24. package/test/integ.lamopn-domain-arguments.js.snapshot/integ.json +1 -1
  25. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopn-domain-arguments.assets.json +6 -6
  26. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopn-domain-arguments.template.json +25 -36
  27. package/test/integ.lamopn-domain-arguments.js.snapshot/lamopndomainargumentsIntegDefaultTestDeployAssert47534E1E.assets.json +1 -1
  28. package/test/integ.lamopn-domain-arguments.js.snapshot/manifest.json +338 -6
  29. package/test/integ.lamopn-domain-arguments.js.snapshot/tree.json +1 -1256
  30. package/test/{integ.lamopn-disabled-zone-awareness.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290 → integ.lamopn-existing-vpc.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0}/index.js +13 -0
  31. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  32. package/test/integ.lamopn-existing-vpc.js.snapshot/cdk.out +1 -1
  33. package/test/integ.lamopn-existing-vpc.js.snapshot/integ.json +1 -1
  34. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.assets.json +9 -9
  35. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.template.json +33 -5
  36. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopnexistingvpcIntegDefaultTestDeployAssert4A7EE058.assets.json +1 -1
  37. package/test/integ.lamopn-existing-vpc.js.snapshot/manifest.json +659 -3
  38. package/test/integ.lamopn-existing-vpc.js.snapshot/tree.json +1 -2207
  39. package/test/integ.lamopn-no-arguments.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0/index.js +73 -0
  40. package/test/integ.lamopn-no-arguments.js.snapshot/cdk.out +1 -1
  41. package/test/integ.lamopn-no-arguments.js.snapshot/integ.json +1 -1
  42. package/test/integ.lamopn-no-arguments.js.snapshot/lamopn-no-arguments.assets.json +6 -6
  43. package/test/integ.lamopn-no-arguments.js.snapshot/lamopn-no-arguments.template.json +25 -36
  44. package/test/integ.lamopn-no-arguments.js.snapshot/lamopnnoargumentsIntegDefaultTestDeployAssert4290A592.assets.json +1 -1
  45. package/test/integ.lamopn-no-arguments.js.snapshot/manifest.json +338 -6
  46. package/test/integ.lamopn-no-arguments.js.snapshot/tree.json +1 -1256
  47. package/test/integ.lamopn-vpc-props.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0/index.js +73 -0
  48. package/test/integ.lamopn-vpc-props.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  49. package/test/integ.lamopn-vpc-props.js.snapshot/cdk.out +1 -1
  50. package/test/integ.lamopn-vpc-props.js.snapshot/integ.json +1 -1
  51. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.assets.json +9 -9
  52. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.template.json +31 -5
  53. package/test/integ.lamopn-vpc-props.js.snapshot/lamopnvpcpropsIntegDefaultTestDeployAssertC7FD49B0.assets.json +1 -1
  54. package/test/integ.lamopn-vpc-props.js.snapshot/manifest.json +587 -3
  55. package/test/integ.lamopn-vpc-props.js.snapshot/tree.json +1 -1795
  56. package/test/integ.lamopn-cluster-config.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  57. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  58. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  59. package/test/integ.lamopn-no-arguments.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +0 -60
  60. package/test/integ.lamopn-vpc-props.js.snapshot/asset.abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290/index.js +0 -60
  61. package/test/integ.lamopn-vpc-props.js.snapshot/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js +0 -1
  62. /package/test/integ.lamopn-cluster-config.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  63. /package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  64. /package/test/integ.lamopn-existing-vpc.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
  65. /package/test/integ.lamopn-vpc-props.js.snapshot/{asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a → asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200}/index.js +0 -0
@@ -1,1695 +1 @@
1
- {
2
- "version": "tree-0.1",
3
- "tree": {
4
- "id": "App",
5
- "path": "",
6
- "children": {
7
- "lamopn-disabled-zone-awareness": {
8
- "id": "lamopn-disabled-zone-awareness",
9
- "path": "lamopn-disabled-zone-awareness",
10
- "children": {
11
- "test-lambda-opensearch": {
12
- "id": "test-lambda-opensearch",
13
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch",
14
- "children": {
15
- "LambdaFunctionServiceRole": {
16
- "id": "LambdaFunctionServiceRole",
17
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunctionServiceRole",
18
- "children": {
19
- "ImportLambdaFunctionServiceRole": {
20
- "id": "ImportLambdaFunctionServiceRole",
21
- "path": "lamopn-disabled-zone-awareness/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-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy",
93
- "children": {
94
- "Resource": {
95
- "id": "Resource",
96
- "path": "lamopn-disabled-zone-awareness/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
- "ec2:AssignPrivateIpAddresses",
105
- "ec2:CreateNetworkInterface",
106
- "ec2:DeleteNetworkInterface",
107
- "ec2:DescribeNetworkInterfaces",
108
- "ec2:UnassignPrivateIpAddresses",
109
- "xray:PutTelemetryRecords",
110
- "xray:PutTraceSegments"
111
- ],
112
- "Effect": "Allow",
113
- "Resource": "*"
114
- }
115
- ],
116
- "Version": "2012-10-17"
117
- },
118
- "policyName": "testlambdaopensearchLambdaFunctionServiceRoleDefaultPolicy78C56359",
119
- "roles": [
120
- {
121
- "Ref": "testlambdaopensearchLambdaFunctionServiceRole4722AB8A"
122
- }
123
- ]
124
- }
125
- },
126
- "constructInfo": {
127
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
128
- "version": "2.150.0"
129
- }
130
- }
131
- },
132
- "constructInfo": {
133
- "fqn": "aws-cdk-lib.aws_iam.Policy",
134
- "version": "2.150.0"
135
- }
136
- }
137
- },
138
- "constructInfo": {
139
- "fqn": "aws-cdk-lib.aws_iam.Role",
140
- "version": "2.150.0"
141
- }
142
- },
143
- "ReplaceDefaultSecurityGroup-security-group": {
144
- "id": "ReplaceDefaultSecurityGroup-security-group",
145
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group",
146
- "children": {
147
- "Resource": {
148
- "id": "Resource",
149
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group/Resource",
150
- "attributes": {
151
- "aws:cdk:cloudformation:type": "AWS::EC2::SecurityGroup",
152
- "aws:cdk:cloudformation:props": {
153
- "groupDescription": "lamopn-disabled-zone-awareness/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group",
154
- "securityGroupEgress": [
155
- {
156
- "cidrIp": "0.0.0.0/0",
157
- "description": "Allow all outbound traffic by default",
158
- "ipProtocol": "-1"
159
- }
160
- ],
161
- "vpcId": {
162
- "Ref": "Vpc8378EB38"
163
- }
164
- }
165
- },
166
- "constructInfo": {
167
- "fqn": "aws-cdk-lib.aws_ec2.CfnSecurityGroup",
168
- "version": "2.150.0"
169
- }
170
- }
171
- },
172
- "constructInfo": {
173
- "fqn": "aws-cdk-lib.aws_ec2.SecurityGroup",
174
- "version": "2.150.0"
175
- }
176
- },
177
- "LambdaFunction": {
178
- "id": "LambdaFunction",
179
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction",
180
- "children": {
181
- "Code": {
182
- "id": "Code",
183
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/Code",
184
- "children": {
185
- "Stage": {
186
- "id": "Stage",
187
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/Code/Stage",
188
- "constructInfo": {
189
- "fqn": "aws-cdk-lib.AssetStaging",
190
- "version": "2.150.0"
191
- }
192
- },
193
- "AssetBucket": {
194
- "id": "AssetBucket",
195
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/Code/AssetBucket",
196
- "constructInfo": {
197
- "fqn": "aws-cdk-lib.aws_s3.BucketBase",
198
- "version": "2.150.0"
199
- }
200
- }
201
- },
202
- "constructInfo": {
203
- "fqn": "aws-cdk-lib.aws_s3_assets.Asset",
204
- "version": "2.150.0"
205
- }
206
- },
207
- "Resource": {
208
- "id": "Resource",
209
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/Resource",
210
- "attributes": {
211
- "aws:cdk:cloudformation:type": "AWS::Lambda::Function",
212
- "aws:cdk:cloudformation:props": {
213
- "code": {
214
- "s3Bucket": {
215
- "Fn::Sub": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}"
216
- },
217
- "s3Key": "abbc4eca9e7ddabc31da3ce83159e6eee8e72e2c358ab8af0711044514c41290.zip"
218
- },
219
- "environment": {
220
- "variables": {
221
- "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1",
222
- "DOMAIN_ENDPOINT": {
223
- "Fn::GetAtt": [
224
- "testlambdaopensearchOpenSearchDomainF9CCC3D3",
225
- "DomainEndpoint"
226
- ]
227
- }
228
- }
229
- },
230
- "handler": "index.handler",
231
- "role": {
232
- "Fn::GetAtt": [
233
- "testlambdaopensearchLambdaFunctionServiceRole4722AB8A",
234
- "Arn"
235
- ]
236
- },
237
- "runtime": "nodejs20.x",
238
- "tracingConfig": {
239
- "mode": "Active"
240
- },
241
- "vpcConfig": {
242
- "subnetIds": [
243
- {
244
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
245
- }
246
- ],
247
- "securityGroupIds": [
248
- {
249
- "Fn::GetAtt": [
250
- "testlambdaopensearchReplaceDefaultSecurityGroupsecuritygroupB44718EC",
251
- "GroupId"
252
- ]
253
- }
254
- ]
255
- }
256
- }
257
- },
258
- "constructInfo": {
259
- "fqn": "aws-cdk-lib.aws_lambda.CfnFunction",
260
- "version": "2.150.0"
261
- }
262
- }
263
- },
264
- "constructInfo": {
265
- "fqn": "aws-cdk-lib.aws_lambda.Function",
266
- "version": "2.150.0"
267
- }
268
- },
269
- "CognitoUserPool": {
270
- "id": "CognitoUserPool",
271
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoUserPool",
272
- "children": {
273
- "Resource": {
274
- "id": "Resource",
275
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoUserPool/Resource",
276
- "attributes": {
277
- "aws:cdk:cloudformation:type": "AWS::Cognito::UserPool",
278
- "aws:cdk:cloudformation:props": {
279
- "accountRecoverySetting": {
280
- "recoveryMechanisms": [
281
- {
282
- "name": "verified_phone_number",
283
- "priority": 1
284
- },
285
- {
286
- "name": "verified_email",
287
- "priority": 2
288
- }
289
- ]
290
- },
291
- "adminCreateUserConfig": {
292
- "allowAdminCreateUserOnly": true
293
- },
294
- "emailVerificationMessage": "The verification code to your new account is {####}",
295
- "emailVerificationSubject": "Verify your new account",
296
- "smsVerificationMessage": "The verification code to your new account is {####}",
297
- "userPoolAddOns": {
298
- "advancedSecurityMode": "ENFORCED"
299
- },
300
- "verificationMessageTemplate": {
301
- "defaultEmailOption": "CONFIRM_WITH_CODE",
302
- "emailMessage": "The verification code to your new account is {####}",
303
- "emailSubject": "Verify your new account",
304
- "smsMessage": "The verification code to your new account is {####}"
305
- }
306
- }
307
- },
308
- "constructInfo": {
309
- "fqn": "aws-cdk-lib.aws_cognito.CfnUserPool",
310
- "version": "2.150.0"
311
- }
312
- }
313
- },
314
- "constructInfo": {
315
- "fqn": "aws-cdk-lib.aws_cognito.UserPool",
316
- "version": "2.150.0"
317
- }
318
- },
319
- "CognitoUserPoolClient": {
320
- "id": "CognitoUserPoolClient",
321
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoUserPoolClient",
322
- "children": {
323
- "Resource": {
324
- "id": "Resource",
325
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoUserPoolClient/Resource",
326
- "attributes": {
327
- "aws:cdk:cloudformation:type": "AWS::Cognito::UserPoolClient",
328
- "aws:cdk:cloudformation:props": {
329
- "allowedOAuthFlows": [
330
- "implicit",
331
- "code"
332
- ],
333
- "allowedOAuthFlowsUserPoolClient": true,
334
- "allowedOAuthScopes": [
335
- "profile",
336
- "phone",
337
- "email",
338
- "openid",
339
- "aws.cognito.signin.user.admin"
340
- ],
341
- "callbackUrLs": [
342
- "https://example.com"
343
- ],
344
- "supportedIdentityProviders": [
345
- "COGNITO"
346
- ],
347
- "userPoolId": {
348
- "Ref": "testlambdaopensearchCognitoUserPoolA09096F9"
349
- }
350
- }
351
- },
352
- "constructInfo": {
353
- "fqn": "aws-cdk-lib.aws_cognito.CfnUserPoolClient",
354
- "version": "2.150.0"
355
- }
356
- }
357
- },
358
- "constructInfo": {
359
- "fqn": "aws-cdk-lib.aws_cognito.UserPoolClient",
360
- "version": "2.150.0"
361
- }
362
- },
363
- "CognitoIdentityPool": {
364
- "id": "CognitoIdentityPool",
365
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoIdentityPool",
366
- "attributes": {
367
- "aws:cdk:cloudformation:type": "AWS::Cognito::IdentityPool",
368
- "aws:cdk:cloudformation:props": {
369
- "allowUnauthenticatedIdentities": false,
370
- "cognitoIdentityProviders": [
371
- {
372
- "clientId": {
373
- "Ref": "testlambdaopensearchCognitoUserPoolClient39C21D94"
374
- },
375
- "providerName": {
376
- "Fn::GetAtt": [
377
- "testlambdaopensearchCognitoUserPoolA09096F9",
378
- "ProviderName"
379
- ]
380
- },
381
- "serverSideTokenCheck": true
382
- }
383
- ]
384
- }
385
- },
386
- "constructInfo": {
387
- "fqn": "aws-cdk-lib.aws_cognito.CfnIdentityPool",
388
- "version": "2.150.0"
389
- }
390
- },
391
- "UserPoolDomain": {
392
- "id": "UserPoolDomain",
393
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/UserPoolDomain",
394
- "attributes": {
395
- "aws:cdk:cloudformation:type": "AWS::Cognito::UserPoolDomain",
396
- "aws:cdk:cloudformation:props": {
397
- "domain": {
398
- "Fn::Join": [
399
- "-",
400
- [
401
- "dmn",
402
- {
403
- "Fn::Select": [
404
- 4,
405
- {
406
- "Fn::Split": [
407
- "-",
408
- {
409
- "Fn::Select": [
410
- 2,
411
- {
412
- "Fn::Split": [
413
- "/",
414
- {
415
- "Ref": "AWS::StackId"
416
- }
417
- ]
418
- }
419
- ]
420
- }
421
- ]
422
- }
423
- ]
424
- }
425
- ]
426
- ]
427
- },
428
- "userPoolId": {
429
- "Ref": "testlambdaopensearchCognitoUserPoolA09096F9"
430
- }
431
- }
432
- },
433
- "constructInfo": {
434
- "fqn": "aws-cdk-lib.aws_cognito.CfnUserPoolDomain",
435
- "version": "2.150.0"
436
- }
437
- },
438
- "CognitoAuthorizedRole": {
439
- "id": "CognitoAuthorizedRole",
440
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoAuthorizedRole",
441
- "children": {
442
- "ImportCognitoAuthorizedRole": {
443
- "id": "ImportCognitoAuthorizedRole",
444
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole",
445
- "constructInfo": {
446
- "fqn": "aws-cdk-lib.Resource",
447
- "version": "2.150.0"
448
- }
449
- },
450
- "Resource": {
451
- "id": "Resource",
452
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoAuthorizedRole/Resource",
453
- "attributes": {
454
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
455
- "aws:cdk:cloudformation:props": {
456
- "assumeRolePolicyDocument": {
457
- "Statement": [
458
- {
459
- "Action": "sts:AssumeRoleWithWebIdentity",
460
- "Condition": {
461
- "StringEquals": {
462
- "cognito-identity.amazonaws.com:aud": {
463
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
464
- }
465
- },
466
- "ForAnyValue:StringLike": {
467
- "cognito-identity.amazonaws.com:amr": "authenticated"
468
- }
469
- },
470
- "Effect": "Allow",
471
- "Principal": {
472
- "Federated": "cognito-identity.amazonaws.com"
473
- }
474
- }
475
- ],
476
- "Version": "2012-10-17"
477
- },
478
- "policies": [
479
- {
480
- "policyName": "CognitoAccessPolicy",
481
- "policyDocument": {
482
- "Statement": [
483
- {
484
- "Action": "es:ESHttp*",
485
- "Effect": "Allow",
486
- "Resource": {
487
- "Fn::Join": [
488
- "",
489
- [
490
- "arn:",
491
- {
492
- "Ref": "AWS::Partition"
493
- },
494
- ":es:",
495
- {
496
- "Ref": "AWS::Region"
497
- },
498
- ":",
499
- {
500
- "Ref": "AWS::AccountId"
501
- },
502
- ":domain/",
503
- {
504
- "Fn::Join": [
505
- "-",
506
- [
507
- "dmn",
508
- {
509
- "Fn::Select": [
510
- 4,
511
- {
512
- "Fn::Split": [
513
- "-",
514
- {
515
- "Fn::Select": [
516
- 2,
517
- {
518
- "Fn::Split": [
519
- "/",
520
- {
521
- "Ref": "AWS::StackId"
522
- }
523
- ]
524
- }
525
- ]
526
- }
527
- ]
528
- }
529
- ]
530
- }
531
- ]
532
- ]
533
- },
534
- "/*"
535
- ]
536
- ]
537
- }
538
- }
539
- ],
540
- "Version": "2012-10-17"
541
- }
542
- }
543
- ]
544
- }
545
- },
546
- "constructInfo": {
547
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
548
- "version": "2.150.0"
549
- }
550
- }
551
- },
552
- "constructInfo": {
553
- "fqn": "aws-cdk-lib.aws_iam.Role",
554
- "version": "2.150.0"
555
- }
556
- },
557
- "IdentityPoolRoleMapping": {
558
- "id": "IdentityPoolRoleMapping",
559
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/IdentityPoolRoleMapping",
560
- "attributes": {
561
- "aws:cdk:cloudformation:type": "AWS::Cognito::IdentityPoolRoleAttachment",
562
- "aws:cdk:cloudformation:props": {
563
- "identityPoolId": {
564
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
565
- },
566
- "roles": {
567
- "authenticated": {
568
- "Fn::GetAtt": [
569
- "testlambdaopensearchCognitoAuthorizedRole58A1ED44",
570
- "Arn"
571
- ]
572
- }
573
- }
574
- }
575
- },
576
- "constructInfo": {
577
- "fqn": "aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment",
578
- "version": "2.150.0"
579
- }
580
- },
581
- "CognitoDashboardConfigureRole": {
582
- "id": "CognitoDashboardConfigureRole",
583
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRole",
584
- "children": {
585
- "ImportCognitoDashboardConfigureRole": {
586
- "id": "ImportCognitoDashboardConfigureRole",
587
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole",
588
- "constructInfo": {
589
- "fqn": "aws-cdk-lib.Resource",
590
- "version": "2.150.0"
591
- }
592
- },
593
- "Resource": {
594
- "id": "Resource",
595
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRole/Resource",
596
- "attributes": {
597
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
598
- "aws:cdk:cloudformation:props": {
599
- "assumeRolePolicyDocument": {
600
- "Statement": [
601
- {
602
- "Action": "sts:AssumeRole",
603
- "Effect": "Allow",
604
- "Principal": {
605
- "Service": "es.amazonaws.com"
606
- }
607
- }
608
- ],
609
- "Version": "2012-10-17"
610
- }
611
- }
612
- },
613
- "constructInfo": {
614
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
615
- "version": "2.150.0"
616
- }
617
- }
618
- },
619
- "constructInfo": {
620
- "fqn": "aws-cdk-lib.aws_iam.Role",
621
- "version": "2.150.0"
622
- }
623
- },
624
- "CognitoDashboardConfigureRolePolicy": {
625
- "id": "CognitoDashboardConfigureRolePolicy",
626
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy",
627
- "children": {
628
- "Resource": {
629
- "id": "Resource",
630
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy/Resource",
631
- "attributes": {
632
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
633
- "aws:cdk:cloudformation:props": {
634
- "policyDocument": {
635
- "Statement": [
636
- {
637
- "Action": [
638
- "cognito-identity:DescribeIdentityPool",
639
- "cognito-identity:GetIdentityPoolRoles",
640
- "cognito-identity:SetIdentityPoolRoles",
641
- "cognito-identity:UpdateIdentityPool",
642
- "cognito-idp:AdminInitiateAuth",
643
- "cognito-idp:AdminUserGlobalSignOut",
644
- "cognito-idp:CreateUserPoolClient",
645
- "cognito-idp:DeleteUserPoolClient",
646
- "cognito-idp:DescribeUserPool",
647
- "cognito-idp:DescribeUserPoolClient",
648
- "cognito-idp:ListUserPoolClients",
649
- "es:UpdateDomainConfig"
650
- ],
651
- "Effect": "Allow",
652
- "Resource": [
653
- {
654
- "Fn::GetAtt": [
655
- "testlambdaopensearchCognitoUserPoolA09096F9",
656
- "Arn"
657
- ]
658
- },
659
- {
660
- "Fn::Join": [
661
- "",
662
- [
663
- "arn:",
664
- {
665
- "Ref": "AWS::Partition"
666
- },
667
- ":cognito-identity:",
668
- {
669
- "Ref": "AWS::Region"
670
- },
671
- ":",
672
- {
673
- "Ref": "AWS::AccountId"
674
- },
675
- ":identitypool/",
676
- {
677
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
678
- }
679
- ]
680
- ]
681
- },
682
- {
683
- "Fn::Join": [
684
- "",
685
- [
686
- "arn:",
687
- {
688
- "Ref": "AWS::Partition"
689
- },
690
- ":es:",
691
- {
692
- "Ref": "AWS::Region"
693
- },
694
- ":",
695
- {
696
- "Ref": "AWS::AccountId"
697
- },
698
- ":domain/",
699
- {
700
- "Fn::Join": [
701
- "-",
702
- [
703
- "dmn",
704
- {
705
- "Fn::Select": [
706
- 4,
707
- {
708
- "Fn::Split": [
709
- "-",
710
- {
711
- "Fn::Select": [
712
- 2,
713
- {
714
- "Fn::Split": [
715
- "/",
716
- {
717
- "Ref": "AWS::StackId"
718
- }
719
- ]
720
- }
721
- ]
722
- }
723
- ]
724
- }
725
- ]
726
- }
727
- ]
728
- ]
729
- }
730
- ]
731
- ]
732
- }
733
- ]
734
- },
735
- {
736
- "Action": "iam:PassRole",
737
- "Condition": {
738
- "StringLike": {
739
- "iam:PassedToService": "cognito-identity.amazonaws.com"
740
- }
741
- },
742
- "Effect": "Allow",
743
- "Resource": {
744
- "Fn::GetAtt": [
745
- "testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A",
746
- "Arn"
747
- ]
748
- }
749
- }
750
- ],
751
- "Version": "2012-10-17"
752
- },
753
- "policyName": "testlambdaopensearchCognitoDashboardConfigureRolePolicyC9C6A6A2",
754
- "roles": [
755
- {
756
- "Ref": "testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A"
757
- }
758
- ]
759
- }
760
- },
761
- "constructInfo": {
762
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
763
- "version": "2.150.0"
764
- }
765
- }
766
- },
767
- "constructInfo": {
768
- "fqn": "aws-cdk-lib.aws_iam.Policy",
769
- "version": "2.150.0"
770
- }
771
- },
772
- "OpenSearchDomain": {
773
- "id": "OpenSearchDomain",
774
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/OpenSearchDomain",
775
- "attributes": {
776
- "aws:cdk:cloudformation:type": "AWS::OpenSearchService::Domain",
777
- "aws:cdk:cloudformation:props": {
778
- "accessPolicies": {
779
- "Statement": [
780
- {
781
- "Action": "es:ESHttp*",
782
- "Effect": "Allow",
783
- "Principal": {
784
- "AWS": [
785
- {
786
- "Fn::GetAtt": [
787
- "testlambdaopensearchCognitoAuthorizedRole58A1ED44",
788
- "Arn"
789
- ]
790
- },
791
- {
792
- "Fn::GetAtt": [
793
- "testlambdaopensearchLambdaFunctionServiceRole4722AB8A",
794
- "Arn"
795
- ]
796
- }
797
- ]
798
- },
799
- "Resource": {
800
- "Fn::Join": [
801
- "",
802
- [
803
- "arn:",
804
- {
805
- "Ref": "AWS::Partition"
806
- },
807
- ":es:",
808
- {
809
- "Ref": "AWS::Region"
810
- },
811
- ":",
812
- {
813
- "Ref": "AWS::AccountId"
814
- },
815
- ":domain/",
816
- {
817
- "Fn::Join": [
818
- "-",
819
- [
820
- "dmn",
821
- {
822
- "Fn::Select": [
823
- 4,
824
- {
825
- "Fn::Split": [
826
- "-",
827
- {
828
- "Fn::Select": [
829
- 2,
830
- {
831
- "Fn::Split": [
832
- "/",
833
- {
834
- "Ref": "AWS::StackId"
835
- }
836
- ]
837
- }
838
- ]
839
- }
840
- ]
841
- }
842
- ]
843
- }
844
- ]
845
- ]
846
- },
847
- "/*"
848
- ]
849
- ]
850
- }
851
- }
852
- ],
853
- "Version": "2012-10-17"
854
- },
855
- "clusterConfig": {
856
- "dedicatedMasterCount": 3,
857
- "dedicatedMasterEnabled": true,
858
- "instanceCount": 3,
859
- "zoneAwarenessEnabled": false
860
- },
861
- "cognitoOptions": {
862
- "enabled": true,
863
- "identityPoolId": {
864
- "Ref": "testlambdaopensearchCognitoIdentityPool0B1FB311"
865
- },
866
- "userPoolId": {
867
- "Ref": "testlambdaopensearchCognitoUserPoolA09096F9"
868
- },
869
- "roleArn": {
870
- "Fn::GetAtt": [
871
- "testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A",
872
- "Arn"
873
- ]
874
- }
875
- },
876
- "domainEndpointOptions": {
877
- "enforceHttps": true,
878
- "tlsSecurityPolicy": "Policy-Min-TLS-1-2-2019-07"
879
- },
880
- "domainName": {
881
- "Fn::Join": [
882
- "-",
883
- [
884
- "dmn",
885
- {
886
- "Fn::Select": [
887
- 4,
888
- {
889
- "Fn::Split": [
890
- "-",
891
- {
892
- "Fn::Select": [
893
- 2,
894
- {
895
- "Fn::Split": [
896
- "/",
897
- {
898
- "Ref": "AWS::StackId"
899
- }
900
- ]
901
- }
902
- ]
903
- }
904
- ]
905
- }
906
- ]
907
- }
908
- ]
909
- ]
910
- },
911
- "ebsOptions": {
912
- "ebsEnabled": true,
913
- "volumeSize": 10
914
- },
915
- "encryptionAtRestOptions": {
916
- "enabled": true
917
- },
918
- "engineVersion": "OpenSearch_1.3",
919
- "nodeToNodeEncryptionOptions": {
920
- "enabled": true
921
- },
922
- "snapshotOptions": {
923
- "automatedSnapshotStartHour": 1
924
- },
925
- "vpcOptions": {
926
- "subnetIds": [
927
- {
928
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
929
- }
930
- ],
931
- "securityGroupIds": [
932
- {
933
- "Fn::GetAtt": [
934
- "testlambdaopensearchReplaceDefaultSecurityGroupsecuritygroupB44718EC",
935
- "GroupId"
936
- ]
937
- }
938
- ]
939
- }
940
- }
941
- },
942
- "constructInfo": {
943
- "fqn": "aws-cdk-lib.aws_opensearchservice.CfnDomain",
944
- "version": "2.150.0"
945
- }
946
- },
947
- "StatusRedAlarm": {
948
- "id": "StatusRedAlarm",
949
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/StatusRedAlarm",
950
- "children": {
951
- "Resource": {
952
- "id": "Resource",
953
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/StatusRedAlarm/Resource",
954
- "attributes": {
955
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
956
- "aws:cdk:cloudformation:props": {
957
- "alarmDescription": "At least one primary shard and its replicas are not allocated to a node. ",
958
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
959
- "evaluationPeriods": 1,
960
- "metricName": "ClusterStatus.red",
961
- "namespace": "AWS/ES",
962
- "period": 60,
963
- "statistic": "Maximum",
964
- "threshold": 1
965
- }
966
- },
967
- "constructInfo": {
968
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
969
- "version": "2.150.0"
970
- }
971
- }
972
- },
973
- "constructInfo": {
974
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
975
- "version": "2.150.0"
976
- }
977
- },
978
- "StatusYellowAlarm": {
979
- "id": "StatusYellowAlarm",
980
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/StatusYellowAlarm",
981
- "children": {
982
- "Resource": {
983
- "id": "Resource",
984
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/StatusYellowAlarm/Resource",
985
- "attributes": {
986
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
987
- "aws:cdk:cloudformation:props": {
988
- "alarmDescription": "At least one replica shard is not allocated to a node.",
989
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
990
- "evaluationPeriods": 1,
991
- "metricName": "ClusterStatus.yellow",
992
- "namespace": "AWS/ES",
993
- "period": 60,
994
- "statistic": "Maximum",
995
- "threshold": 1
996
- }
997
- },
998
- "constructInfo": {
999
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1000
- "version": "2.150.0"
1001
- }
1002
- }
1003
- },
1004
- "constructInfo": {
1005
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1006
- "version": "2.150.0"
1007
- }
1008
- },
1009
- "FreeStorageSpaceTooLowAlarm": {
1010
- "id": "FreeStorageSpaceTooLowAlarm",
1011
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm",
1012
- "children": {
1013
- "Resource": {
1014
- "id": "Resource",
1015
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm/Resource",
1016
- "attributes": {
1017
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1018
- "aws:cdk:cloudformation:props": {
1019
- "alarmDescription": "A node in your cluster is down to 20 GiB of free storage space.",
1020
- "comparisonOperator": "LessThanOrEqualToThreshold",
1021
- "evaluationPeriods": 1,
1022
- "metricName": "FreeStorageSpace",
1023
- "namespace": "AWS/ES",
1024
- "period": 60,
1025
- "statistic": "Minimum",
1026
- "threshold": 20000
1027
- }
1028
- },
1029
- "constructInfo": {
1030
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1031
- "version": "2.150.0"
1032
- }
1033
- }
1034
- },
1035
- "constructInfo": {
1036
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1037
- "version": "2.150.0"
1038
- }
1039
- },
1040
- "IndexWritesBlockedTooHighAlarm": {
1041
- "id": "IndexWritesBlockedTooHighAlarm",
1042
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm",
1043
- "children": {
1044
- "Resource": {
1045
- "id": "Resource",
1046
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm/Resource",
1047
- "attributes": {
1048
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1049
- "aws:cdk:cloudformation:props": {
1050
- "alarmDescription": "Your cluster is blocking write requests.",
1051
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1052
- "evaluationPeriods": 1,
1053
- "metricName": "ClusterIndexWritesBlocked",
1054
- "namespace": "AWS/ES",
1055
- "period": 300,
1056
- "statistic": "Maximum",
1057
- "threshold": 1
1058
- }
1059
- },
1060
- "constructInfo": {
1061
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1062
- "version": "2.150.0"
1063
- }
1064
- }
1065
- },
1066
- "constructInfo": {
1067
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1068
- "version": "2.150.0"
1069
- }
1070
- },
1071
- "AutomatedSnapshotFailureTooHighAlarm": {
1072
- "id": "AutomatedSnapshotFailureTooHighAlarm",
1073
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm",
1074
- "children": {
1075
- "Resource": {
1076
- "id": "Resource",
1077
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm/Resource",
1078
- "attributes": {
1079
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1080
- "aws:cdk:cloudformation:props": {
1081
- "alarmDescription": "An automated snapshot failed. This failure is often the result of a red cluster health status.",
1082
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1083
- "evaluationPeriods": 1,
1084
- "metricName": "AutomatedSnapshotFailure",
1085
- "namespace": "AWS/ES",
1086
- "period": 60,
1087
- "statistic": "Maximum",
1088
- "threshold": 1
1089
- }
1090
- },
1091
- "constructInfo": {
1092
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1093
- "version": "2.150.0"
1094
- }
1095
- }
1096
- },
1097
- "constructInfo": {
1098
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1099
- "version": "2.150.0"
1100
- }
1101
- },
1102
- "CPUUtilizationTooHighAlarm": {
1103
- "id": "CPUUtilizationTooHighAlarm",
1104
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CPUUtilizationTooHighAlarm",
1105
- "children": {
1106
- "Resource": {
1107
- "id": "Resource",
1108
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/CPUUtilizationTooHighAlarm/Resource",
1109
- "attributes": {
1110
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1111
- "aws:cdk:cloudformation:props": {
1112
- "alarmDescription": "100% CPU utilization is not uncommon, but sustained high usage is problematic. Consider using larger instance types or adding instances.",
1113
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1114
- "evaluationPeriods": 3,
1115
- "metricName": "CPUUtilization",
1116
- "namespace": "AWS/ES",
1117
- "period": 900,
1118
- "statistic": "Average",
1119
- "threshold": 80
1120
- }
1121
- },
1122
- "constructInfo": {
1123
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1124
- "version": "2.150.0"
1125
- }
1126
- }
1127
- },
1128
- "constructInfo": {
1129
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1130
- "version": "2.150.0"
1131
- }
1132
- },
1133
- "JVMMemoryPressureTooHighAlarm": {
1134
- "id": "JVMMemoryPressureTooHighAlarm",
1135
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm",
1136
- "children": {
1137
- "Resource": {
1138
- "id": "Resource",
1139
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm/Resource",
1140
- "attributes": {
1141
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1142
- "aws:cdk:cloudformation:props": {
1143
- "alarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
1144
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1145
- "evaluationPeriods": 1,
1146
- "metricName": "JVMMemoryPressure",
1147
- "namespace": "AWS/ES",
1148
- "period": 900,
1149
- "statistic": "Average",
1150
- "threshold": 80
1151
- }
1152
- },
1153
- "constructInfo": {
1154
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1155
- "version": "2.150.0"
1156
- }
1157
- }
1158
- },
1159
- "constructInfo": {
1160
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1161
- "version": "2.150.0"
1162
- }
1163
- },
1164
- "MasterCPUUtilizationTooHighAlarm": {
1165
- "id": "MasterCPUUtilizationTooHighAlarm",
1166
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm",
1167
- "children": {
1168
- "Resource": {
1169
- "id": "Resource",
1170
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm/Resource",
1171
- "attributes": {
1172
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1173
- "aws:cdk:cloudformation:props": {
1174
- "alarmDescription": "Average CPU utilization over last 45 minutes too high. Consider using larger instance types for your dedicated master nodes.",
1175
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1176
- "evaluationPeriods": 3,
1177
- "metricName": "MasterCPUUtilization",
1178
- "namespace": "AWS/ES",
1179
- "period": 900,
1180
- "statistic": "Average",
1181
- "threshold": 50
1182
- }
1183
- },
1184
- "constructInfo": {
1185
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1186
- "version": "2.150.0"
1187
- }
1188
- }
1189
- },
1190
- "constructInfo": {
1191
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1192
- "version": "2.150.0"
1193
- }
1194
- },
1195
- "MasterJVMMemoryPressureTooHighAlarm": {
1196
- "id": "MasterJVMMemoryPressureTooHighAlarm",
1197
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm",
1198
- "children": {
1199
- "Resource": {
1200
- "id": "Resource",
1201
- "path": "lamopn-disabled-zone-awareness/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm/Resource",
1202
- "attributes": {
1203
- "aws:cdk:cloudformation:type": "AWS::CloudWatch::Alarm",
1204
- "aws:cdk:cloudformation:props": {
1205
- "alarmDescription": "Average JVM memory pressure over last 15 minutes too high. Consider scaling vertically.",
1206
- "comparisonOperator": "GreaterThanOrEqualToThreshold",
1207
- "evaluationPeriods": 1,
1208
- "metricName": "MasterJVMMemoryPressure",
1209
- "namespace": "AWS/ES",
1210
- "period": 900,
1211
- "statistic": "Average",
1212
- "threshold": 50
1213
- }
1214
- },
1215
- "constructInfo": {
1216
- "fqn": "aws-cdk-lib.aws_cloudwatch.CfnAlarm",
1217
- "version": "2.150.0"
1218
- }
1219
- }
1220
- },
1221
- "constructInfo": {
1222
- "fqn": "aws-cdk-lib.aws_cloudwatch.Alarm",
1223
- "version": "2.150.0"
1224
- }
1225
- }
1226
- },
1227
- "constructInfo": {
1228
- "fqn": "@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch",
1229
- "version": "2.63.0"
1230
- }
1231
- },
1232
- "Vpc": {
1233
- "id": "Vpc",
1234
- "path": "lamopn-disabled-zone-awareness/Vpc",
1235
- "children": {
1236
- "Resource": {
1237
- "id": "Resource",
1238
- "path": "lamopn-disabled-zone-awareness/Vpc/Resource",
1239
- "attributes": {
1240
- "aws:cdk:cloudformation:type": "AWS::EC2::VPC",
1241
- "aws:cdk:cloudformation:props": {
1242
- "cidrBlock": "10.0.0.0/16",
1243
- "enableDnsHostnames": true,
1244
- "enableDnsSupport": true,
1245
- "instanceTenancy": "default",
1246
- "tags": [
1247
- {
1248
- "key": "Name",
1249
- "value": "lamopn-disabled-zone-awareness/Vpc"
1250
- }
1251
- ]
1252
- }
1253
- },
1254
- "constructInfo": {
1255
- "fqn": "aws-cdk-lib.aws_ec2.CfnVPC",
1256
- "version": "2.150.0"
1257
- }
1258
- },
1259
- "isolatedSubnet1": {
1260
- "id": "isolatedSubnet1",
1261
- "path": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1",
1262
- "children": {
1263
- "Subnet": {
1264
- "id": "Subnet",
1265
- "path": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/Subnet",
1266
- "attributes": {
1267
- "aws:cdk:cloudformation:type": "AWS::EC2::Subnet",
1268
- "aws:cdk:cloudformation:props": {
1269
- "availabilityZone": {
1270
- "Fn::Select": [
1271
- 0,
1272
- {
1273
- "Fn::GetAZs": ""
1274
- }
1275
- ]
1276
- },
1277
- "cidrBlock": "10.0.0.0/18",
1278
- "mapPublicIpOnLaunch": false,
1279
- "tags": [
1280
- {
1281
- "key": "aws-cdk:subnet-name",
1282
- "value": "isolated"
1283
- },
1284
- {
1285
- "key": "aws-cdk:subnet-type",
1286
- "value": "Isolated"
1287
- },
1288
- {
1289
- "key": "Name",
1290
- "value": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1"
1291
- }
1292
- ],
1293
- "vpcId": {
1294
- "Ref": "Vpc8378EB38"
1295
- }
1296
- }
1297
- },
1298
- "constructInfo": {
1299
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnet",
1300
- "version": "2.150.0"
1301
- }
1302
- },
1303
- "Acl": {
1304
- "id": "Acl",
1305
- "path": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/Acl",
1306
- "constructInfo": {
1307
- "fqn": "aws-cdk-lib.Resource",
1308
- "version": "2.150.0"
1309
- }
1310
- },
1311
- "RouteTable": {
1312
- "id": "RouteTable",
1313
- "path": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/RouteTable",
1314
- "attributes": {
1315
- "aws:cdk:cloudformation:type": "AWS::EC2::RouteTable",
1316
- "aws:cdk:cloudformation:props": {
1317
- "tags": [
1318
- {
1319
- "key": "Name",
1320
- "value": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1"
1321
- }
1322
- ],
1323
- "vpcId": {
1324
- "Ref": "Vpc8378EB38"
1325
- }
1326
- }
1327
- },
1328
- "constructInfo": {
1329
- "fqn": "aws-cdk-lib.aws_ec2.CfnRouteTable",
1330
- "version": "2.150.0"
1331
- }
1332
- },
1333
- "RouteTableAssociation": {
1334
- "id": "RouteTableAssociation",
1335
- "path": "lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/RouteTableAssociation",
1336
- "attributes": {
1337
- "aws:cdk:cloudformation:type": "AWS::EC2::SubnetRouteTableAssociation",
1338
- "aws:cdk:cloudformation:props": {
1339
- "routeTableId": {
1340
- "Ref": "VpcisolatedSubnet1RouteTableE442650B"
1341
- },
1342
- "subnetId": {
1343
- "Ref": "VpcisolatedSubnet1SubnetE62B1B9B"
1344
- }
1345
- }
1346
- },
1347
- "constructInfo": {
1348
- "fqn": "aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation",
1349
- "version": "2.150.0"
1350
- }
1351
- }
1352
- },
1353
- "constructInfo": {
1354
- "fqn": "aws-cdk-lib.aws_ec2.PrivateSubnet",
1355
- "version": "2.150.0"
1356
- }
1357
- },
1358
- "RestrictDefaultSecurityGroupCustomResource": {
1359
- "id": "RestrictDefaultSecurityGroupCustomResource",
1360
- "path": "lamopn-disabled-zone-awareness/Vpc/RestrictDefaultSecurityGroupCustomResource",
1361
- "children": {
1362
- "Default": {
1363
- "id": "Default",
1364
- "path": "lamopn-disabled-zone-awareness/Vpc/RestrictDefaultSecurityGroupCustomResource/Default",
1365
- "constructInfo": {
1366
- "fqn": "aws-cdk-lib.CfnResource",
1367
- "version": "2.150.0"
1368
- }
1369
- }
1370
- },
1371
- "constructInfo": {
1372
- "fqn": "aws-cdk-lib.CustomResource",
1373
- "version": "2.150.0"
1374
- }
1375
- },
1376
- "FlowLog": {
1377
- "id": "FlowLog",
1378
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog",
1379
- "children": {
1380
- "IAMRole": {
1381
- "id": "IAMRole",
1382
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole",
1383
- "children": {
1384
- "ImportIAMRole": {
1385
- "id": "ImportIAMRole",
1386
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/ImportIAMRole",
1387
- "constructInfo": {
1388
- "fqn": "aws-cdk-lib.Resource",
1389
- "version": "2.150.0"
1390
- }
1391
- },
1392
- "Resource": {
1393
- "id": "Resource",
1394
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/Resource",
1395
- "attributes": {
1396
- "aws:cdk:cloudformation:type": "AWS::IAM::Role",
1397
- "aws:cdk:cloudformation:props": {
1398
- "assumeRolePolicyDocument": {
1399
- "Statement": [
1400
- {
1401
- "Action": "sts:AssumeRole",
1402
- "Effect": "Allow",
1403
- "Principal": {
1404
- "Service": "vpc-flow-logs.amazonaws.com"
1405
- }
1406
- }
1407
- ],
1408
- "Version": "2012-10-17"
1409
- },
1410
- "tags": [
1411
- {
1412
- "key": "Name",
1413
- "value": "lamopn-disabled-zone-awareness/Vpc/FlowLog"
1414
- }
1415
- ]
1416
- }
1417
- },
1418
- "constructInfo": {
1419
- "fqn": "aws-cdk-lib.aws_iam.CfnRole",
1420
- "version": "2.150.0"
1421
- }
1422
- },
1423
- "DefaultPolicy": {
1424
- "id": "DefaultPolicy",
1425
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/DefaultPolicy",
1426
- "children": {
1427
- "Resource": {
1428
- "id": "Resource",
1429
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource",
1430
- "attributes": {
1431
- "aws:cdk:cloudformation:type": "AWS::IAM::Policy",
1432
- "aws:cdk:cloudformation:props": {
1433
- "policyDocument": {
1434
- "Statement": [
1435
- {
1436
- "Action": [
1437
- "logs:CreateLogStream",
1438
- "logs:DescribeLogStreams",
1439
- "logs:PutLogEvents"
1440
- ],
1441
- "Effect": "Allow",
1442
- "Resource": {
1443
- "Fn::GetAtt": [
1444
- "VpcFlowLogLogGroup7B5C56B9",
1445
- "Arn"
1446
- ]
1447
- }
1448
- },
1449
- {
1450
- "Action": "iam:PassRole",
1451
- "Effect": "Allow",
1452
- "Resource": {
1453
- "Fn::GetAtt": [
1454
- "VpcFlowLogIAMRole6A475D41",
1455
- "Arn"
1456
- ]
1457
- }
1458
- }
1459
- ],
1460
- "Version": "2012-10-17"
1461
- },
1462
- "policyName": "VpcFlowLogIAMRoleDefaultPolicy406FB995",
1463
- "roles": [
1464
- {
1465
- "Ref": "VpcFlowLogIAMRole6A475D41"
1466
- }
1467
- ]
1468
- }
1469
- },
1470
- "constructInfo": {
1471
- "fqn": "aws-cdk-lib.aws_iam.CfnPolicy",
1472
- "version": "2.150.0"
1473
- }
1474
- }
1475
- },
1476
- "constructInfo": {
1477
- "fqn": "aws-cdk-lib.aws_iam.Policy",
1478
- "version": "2.150.0"
1479
- }
1480
- }
1481
- },
1482
- "constructInfo": {
1483
- "fqn": "aws-cdk-lib.aws_iam.Role",
1484
- "version": "2.150.0"
1485
- }
1486
- },
1487
- "LogGroup": {
1488
- "id": "LogGroup",
1489
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/LogGroup",
1490
- "children": {
1491
- "Resource": {
1492
- "id": "Resource",
1493
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/LogGroup/Resource",
1494
- "attributes": {
1495
- "aws:cdk:cloudformation:type": "AWS::Logs::LogGroup",
1496
- "aws:cdk:cloudformation:props": {
1497
- "retentionInDays": 731,
1498
- "tags": [
1499
- {
1500
- "key": "Name",
1501
- "value": "lamopn-disabled-zone-awareness/Vpc/FlowLog"
1502
- }
1503
- ]
1504
- }
1505
- },
1506
- "constructInfo": {
1507
- "fqn": "aws-cdk-lib.aws_logs.CfnLogGroup",
1508
- "version": "2.150.0"
1509
- }
1510
- }
1511
- },
1512
- "constructInfo": {
1513
- "fqn": "aws-cdk-lib.aws_logs.LogGroup",
1514
- "version": "2.150.0"
1515
- }
1516
- },
1517
- "FlowLog": {
1518
- "id": "FlowLog",
1519
- "path": "lamopn-disabled-zone-awareness/Vpc/FlowLog/FlowLog",
1520
- "attributes": {
1521
- "aws:cdk:cloudformation:type": "AWS::EC2::FlowLog",
1522
- "aws:cdk:cloudformation:props": {
1523
- "deliverLogsPermissionArn": {
1524
- "Fn::GetAtt": [
1525
- "VpcFlowLogIAMRole6A475D41",
1526
- "Arn"
1527
- ]
1528
- },
1529
- "logDestinationType": "cloud-watch-logs",
1530
- "logGroupName": {
1531
- "Ref": "VpcFlowLogLogGroup7B5C56B9"
1532
- },
1533
- "resourceId": {
1534
- "Ref": "Vpc8378EB38"
1535
- },
1536
- "resourceType": "VPC",
1537
- "tags": [
1538
- {
1539
- "key": "Name",
1540
- "value": "lamopn-disabled-zone-awareness/Vpc/FlowLog"
1541
- }
1542
- ],
1543
- "trafficType": "ALL"
1544
- }
1545
- },
1546
- "constructInfo": {
1547
- "fqn": "aws-cdk-lib.aws_ec2.CfnFlowLog",
1548
- "version": "2.150.0"
1549
- }
1550
- }
1551
- },
1552
- "constructInfo": {
1553
- "fqn": "aws-cdk-lib.aws_ec2.FlowLog",
1554
- "version": "2.150.0"
1555
- }
1556
- }
1557
- },
1558
- "constructInfo": {
1559
- "fqn": "aws-cdk-lib.aws_ec2.Vpc",
1560
- "version": "2.150.0"
1561
- }
1562
- },
1563
- "LatestNodeRuntimeMap": {
1564
- "id": "LatestNodeRuntimeMap",
1565
- "path": "lamopn-disabled-zone-awareness/LatestNodeRuntimeMap",
1566
- "constructInfo": {
1567
- "fqn": "aws-cdk-lib.CfnMapping",
1568
- "version": "2.150.0"
1569
- }
1570
- },
1571
- "Custom::VpcRestrictDefaultSGCustomResourceProvider": {
1572
- "id": "Custom::VpcRestrictDefaultSGCustomResourceProvider",
1573
- "path": "lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider",
1574
- "children": {
1575
- "Staging": {
1576
- "id": "Staging",
1577
- "path": "lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging",
1578
- "constructInfo": {
1579
- "fqn": "aws-cdk-lib.AssetStaging",
1580
- "version": "2.150.0"
1581
- }
1582
- },
1583
- "Role": {
1584
- "id": "Role",
1585
- "path": "lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role",
1586
- "constructInfo": {
1587
- "fqn": "aws-cdk-lib.CfnResource",
1588
- "version": "2.150.0"
1589
- }
1590
- },
1591
- "Handler": {
1592
- "id": "Handler",
1593
- "path": "lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler",
1594
- "constructInfo": {
1595
- "fqn": "aws-cdk-lib.CfnResource",
1596
- "version": "2.150.0"
1597
- }
1598
- }
1599
- },
1600
- "constructInfo": {
1601
- "fqn": "aws-cdk-lib.CustomResourceProviderBase",
1602
- "version": "2.150.0"
1603
- }
1604
- },
1605
- "Integ": {
1606
- "id": "Integ",
1607
- "path": "lamopn-disabled-zone-awareness/Integ",
1608
- "children": {
1609
- "DefaultTest": {
1610
- "id": "DefaultTest",
1611
- "path": "lamopn-disabled-zone-awareness/Integ/DefaultTest",
1612
- "children": {
1613
- "Default": {
1614
- "id": "Default",
1615
- "path": "lamopn-disabled-zone-awareness/Integ/DefaultTest/Default",
1616
- "constructInfo": {
1617
- "fqn": "constructs.Construct",
1618
- "version": "10.3.0"
1619
- }
1620
- },
1621
- "DeployAssert": {
1622
- "id": "DeployAssert",
1623
- "path": "lamopn-disabled-zone-awareness/Integ/DefaultTest/DeployAssert",
1624
- "children": {
1625
- "BootstrapVersion": {
1626
- "id": "BootstrapVersion",
1627
- "path": "lamopn-disabled-zone-awareness/Integ/DefaultTest/DeployAssert/BootstrapVersion",
1628
- "constructInfo": {
1629
- "fqn": "aws-cdk-lib.CfnParameter",
1630
- "version": "2.150.0"
1631
- }
1632
- },
1633
- "CheckBootstrapVersion": {
1634
- "id": "CheckBootstrapVersion",
1635
- "path": "lamopn-disabled-zone-awareness/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion",
1636
- "constructInfo": {
1637
- "fqn": "aws-cdk-lib.CfnRule",
1638
- "version": "2.150.0"
1639
- }
1640
- }
1641
- },
1642
- "constructInfo": {
1643
- "fqn": "aws-cdk-lib.Stack",
1644
- "version": "2.150.0"
1645
- }
1646
- }
1647
- },
1648
- "constructInfo": {
1649
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTestCase",
1650
- "version": "2.150.0-alpha.0"
1651
- }
1652
- }
1653
- },
1654
- "constructInfo": {
1655
- "fqn": "@aws-cdk/integ-tests-alpha.IntegTest",
1656
- "version": "2.150.0-alpha.0"
1657
- }
1658
- },
1659
- "BootstrapVersion": {
1660
- "id": "BootstrapVersion",
1661
- "path": "lamopn-disabled-zone-awareness/BootstrapVersion",
1662
- "constructInfo": {
1663
- "fqn": "aws-cdk-lib.CfnParameter",
1664
- "version": "2.150.0"
1665
- }
1666
- },
1667
- "CheckBootstrapVersion": {
1668
- "id": "CheckBootstrapVersion",
1669
- "path": "lamopn-disabled-zone-awareness/CheckBootstrapVersion",
1670
- "constructInfo": {
1671
- "fqn": "aws-cdk-lib.CfnRule",
1672
- "version": "2.150.0"
1673
- }
1674
- }
1675
- },
1676
- "constructInfo": {
1677
- "fqn": "aws-cdk-lib.Stack",
1678
- "version": "2.150.0"
1679
- }
1680
- },
1681
- "Tree": {
1682
- "id": "Tree",
1683
- "path": "Tree",
1684
- "constructInfo": {
1685
- "fqn": "constructs.Construct",
1686
- "version": "10.3.0"
1687
- }
1688
- }
1689
- },
1690
- "constructInfo": {
1691
- "fqn": "aws-cdk-lib.App",
1692
- "version": "2.150.0"
1693
- }
1694
- }
1695
- }
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","children":{"lamopn-disabled-zone-awareness":{"id":"lamopn-disabled-zone-awareness","path":"lamopn-disabled-zone-awareness","children":{"test-lambda-opensearch":{"id":"test-lambda-opensearch","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch","children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunctionServiceRole","children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["ec2:AssignPrivateIpAddresses","ec2:CreateNetworkInterface","ec2:DeleteNetworkInterface","ec2:DescribeNetworkInterfaces","ec2:UnassignPrivateIpAddresses"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"},"policyName":"testlambdaopensearchLambdaFunctionServiceRoleDefaultPolicy78C56359","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":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"addToPolicy":[{}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]}},"ReplaceDefaultSecurityGroup-security-group":{"id":"ReplaceDefaultSecurityGroup-security-group","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamopn-disabled-zone-awareness/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group","securityGroupEgress":[{"cidrIp":"0.0.0.0/0","description":"Allow all outbound traffic by default","ipProtocol":"-1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.186.0","metadata":[{"vpc":"*","allowAllOutbound":true}]}},"LambdaFunction":{"id":"LambdaFunction","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction","children":{"Code":{"id":"Code","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/Code","children":{"Stage":{"id":"Stage","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/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"},"vpcConfig":{"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}],"securityGroupIds":[{"Fn::GetAtt":["testlambdaopensearchReplaceDefaultSecurityGroupsecuritygroupB44718EC","GroupId"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.186.0"}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/LambdaFunction/inlinePolicyAddedToExecutionRole-0","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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":"*","securityGroups":["*"],"vpc":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]}},"CognitoUserPool":{"id":"CognitoUserPool","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoUserPool","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/CognitoUserPoolClient","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/UserPoolDomain","attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::UserPoolDomain","aws:cdk:cloudformation:props":{"domain":{"Fn::Join":["-",["dmn",{"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-disabled-zone-awareness/test-lambda-opensearch/CognitoAuthorizedRole","children":{"ImportCognitoAuthorizedRole":{"id":"ImportCognitoAuthorizedRole","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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":["-",["dmn",{"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-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRole","children":{"ImportCognitoDashboardConfigureRole":{"id":"ImportCognitoDashboardConfigureRole","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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":["-",["dmn",{"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-disabled-zone-awareness/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":["-",["dmn",{"Fn::Select":[4,{"Fn::Split":["-",{"Fn::Select":[2,{"Fn::Split":["/",{"Ref":"AWS::StackId"}]}]}]}]}]]},"/*"]]}}],"Version":"2012-10-17"},"clusterConfig":{"dedicatedMasterCount":3,"dedicatedMasterEnabled":true,"instanceCount":3,"zoneAwarenessEnabled":false},"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":["-",["dmn",{"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},"vpcOptions":{"subnetIds":[{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}],"securityGroupIds":[{"Fn::GetAtt":["testlambdaopensearchReplaceDefaultSecurityGroupsecuritygroupB44718EC","GroupId"]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_opensearchservice.CfnDomain","version":"2.186.0"}},"StatusRedAlarm":{"id":"StatusRedAlarm","path":"lamopn-disabled-zone-awareness/test-lambda-opensearch/StatusRedAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/StatusYellowAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/CPUUtilizationTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/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"}},"Vpc":{"id":"Vpc","path":"lamopn-disabled-zone-awareness/Vpc","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/Vpc/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"10.0.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lamopn-disabled-zone-awareness/Vpc"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.186.0"}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1","children":{"Subnet":{"id":"Subnet","path":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/Subnet","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"10.0.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.186.0"}},"Acl":{"id":"Acl","path":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/RouteTable","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.186.0"}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamopn-disabled-zone-awareness/Vpc/isolatedSubnet1/RouteTableAssociation","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.186.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamopn-disabled-zone-awareness/Vpc/RestrictDefaultSecurityGroupCustomResource","children":{"Default":{"id":"Default","path":"lamopn-disabled-zone-awareness/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog","children":{"IAMRole":{"id":"IAMRole","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole","children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.186.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Role","aws:cdk:cloudformation:props":{"assumeRolePolicyDocument":{"Statement":[{"Action":"sts:AssumeRole","Effect":"Allow","Principal":{"Service":"vpc-flow-logs.amazonaws.com"}}],"Version":"2012-10-17"},"tags":[{"key":"Name","value":"lamopn-disabled-zone-awareness/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.186.0"}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/DefaultPolicy","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::IAM::Policy","aws:cdk:cloudformation:props":{"policyDocument":{"Statement":[{"Action":["logs:CreateLogStream","logs:DescribeLogStreams","logs:PutLogEvents"],"Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogLogGroup7B5C56B9","Arn"]}},{"Action":"iam:PassRole","Effect":"Allow","Resource":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}},"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":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.186.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]}},"LogGroup":{"id":"LogGroup","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/LogGroup","children":{"Resource":{"id":"Resource","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/LogGroup/Resource","attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamopn-disabled-zone-awareness/Vpc/FlowLog"}]}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.186.0","metadata":["*"]}},"FlowLog":{"id":"FlowLog","path":"lamopn-disabled-zone-awareness/Vpc/FlowLog/FlowLog","attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::FlowLog","aws:cdk:cloudformation:props":{"deliverLogsPermissionArn":{"Fn::GetAtt":["VpcFlowLogIAMRole6A475D41","Arn"]},"logDestinationType":"cloud-watch-logs","logGroupName":{"Ref":"VpcFlowLogLogGroup7B5C56B9"},"resourceId":{"Ref":"Vpc8378EB38"},"resourceType":"VPC","tags":[{"key":"Name","value":"lamopn-disabled-zone-awareness/Vpc/FlowLog"}],"trafficType":"ALL"}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.186.0","metadata":[{"resourceType":"*"}]}}},"constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.186.0","metadata":[{"natGateways":"*","subnetConfiguration":[{"cidrMask":"*","name":"*","subnetType":"Isolated"}],"maxAzs":"*","enableDnsHostnames":true,"enableDnsSupport":true}]}},"LatestNodeRuntimeMap":{"id":"LatestNodeRuntimeMap","path":"lamopn-disabled-zone-awareness/LatestNodeRuntimeMap","constructInfo":{"fqn":"aws-cdk-lib.CfnMapping","version":"2.186.0"}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider","children":{"Staging":{"id":"Staging","path":"lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.186.0"}},"Role":{"id":"Role","path":"lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}},"Handler":{"id":"Handler","path":"lamopn-disabled-zone-awareness/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.186.0"}}},"constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.186.0"}},"Integ":{"id":"Integ","path":"lamopn-disabled-zone-awareness/Integ","children":{"DefaultTest":{"id":"DefaultTest","path":"lamopn-disabled-zone-awareness/Integ/DefaultTest","children":{"Default":{"id":"Default","path":"lamopn-disabled-zone-awareness/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamopn-disabled-zone-awareness/Integ/DefaultTest/DeployAssert","children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamopn-disabled-zone-awareness/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-disabled-zone-awareness/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-disabled-zone-awareness/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.186.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-disabled-zone-awareness/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"}}}