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