@aws-solutions-constructs/aws-lambda-opensearch 2.93.0 → 2.95.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.jsii +57 -5
  2. package/lib/index.js +1 -1
  3. package/package.json +6 -6
  4. package/test/integ.lamopn-cluster-config.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0/index.js +73 -0
  5. package/test/integ.lamopn-cluster-config.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  6. package/test/integ.lamopn-cluster-config.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  7. package/test/integ.lamopn-cluster-config.js.snapshot/cdk.out +1 -1
  8. package/test/integ.lamopn-cluster-config.js.snapshot/integ.json +2 -2
  9. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.assets.json +4 -4
  10. package/test/integ.lamopn-cluster-config.js.snapshot/lamopn-cluster-config.template.json +0 -10
  11. package/test/integ.lamopn-cluster-config.js.snapshot/lamopnclusterconfigIntegDefaultTestDeployAssertD8012D1A.assets.json +1 -1
  12. package/test/integ.lamopn-cluster-config.js.snapshot/manifest.json +83 -66
  13. package/test/integ.lamopn-cluster-config.js.snapshot/tree.json +1 -1
  14. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0/index.js +73 -0
  15. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  16. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  17. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/cdk.out +1 -1
  18. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/integ.json +2 -2
  19. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.assets.json +4 -4
  20. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopn-disabled-zone-awareness.template.json +0 -10
  21. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/lamopndisabledzoneawarenessIntegDefaultTestDeployAssert7E083B68.assets.json +1 -1
  22. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/manifest.json +83 -66
  23. package/test/integ.lamopn-disabled-zone-awareness.js.snapshot/tree.json +1 -1
  24. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0/index.js +73 -0
  25. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  26. package/test/integ.lamopn-existing-vpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  27. package/test/integ.lamopn-existing-vpc.js.snapshot/cdk.out +1 -1
  28. package/test/integ.lamopn-existing-vpc.js.snapshot/integ.json +2 -2
  29. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.assets.json +4 -4
  30. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopn-existing-vpc.template.json +0 -10
  31. package/test/integ.lamopn-existing-vpc.js.snapshot/lamopnexistingvpcIntegDefaultTestDeployAssert4A7EE058.assets.json +1 -1
  32. package/test/integ.lamopn-existing-vpc.js.snapshot/manifest.json +83 -66
  33. package/test/integ.lamopn-existing-vpc.js.snapshot/tree.json +1 -1
  34. package/test/integ.lamopn-vpc-props.js.snapshot/asset.36fdcee3b182bca7e3283fbd947213d1e59968159f93aec9fd62d15935c721b0/index.js +73 -0
  35. package/test/integ.lamopn-vpc-props.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +1 -0
  36. package/test/integ.lamopn-vpc-props.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +1 -0
  37. package/test/integ.lamopn-vpc-props.js.snapshot/cdk.out +1 -1
  38. package/test/integ.lamopn-vpc-props.js.snapshot/integ.json +2 -2
  39. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.assets.json +4 -4
  40. package/test/integ.lamopn-vpc-props.js.snapshot/lamopn-vpc-props.template.json +0 -10
  41. package/test/integ.lamopn-vpc-props.js.snapshot/lamopnvpcpropsIntegDefaultTestDeployAssertC7FD49B0.assets.json +1 -1
  42. package/test/integ.lamopn-vpc-props.js.snapshot/manifest.json +83 -66
  43. package/test/integ.lamopn-vpc-props.js.snapshot/tree.json +1 -1
@@ -66,7 +66,7 @@
66
66
  "validateOnSynth": false,
67
67
  "assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-us-east-1",
68
68
  "cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-us-east-1",
69
- "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1/173c3e6d4047d803cc315eae5fab1c950d89b385d198f985e5a135169e7df129.json",
69
+ "stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1/6a3c58ed0fb8c5ded9c8b6a05d6462069d860d65ebed488c83e39c3b643a9475.json",
70
70
  "requiresBootstrapStackVersion": 6,
71
71
  "bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
72
72
  "additionalDependencies": [
@@ -442,7 +442,8 @@
442
442
  "type": "aws:cdk:analytics:construct",
443
443
  "data": {
444
444
  "metric": {
445
- "warnings": "*"
445
+ "warnings": "*",
446
+ "warningsV2": "*"
446
447
  },
447
448
  "threshold": "*",
448
449
  "evaluationPeriods": "*",
@@ -462,7 +463,8 @@
462
463
  "type": "aws:cdk:analytics:construct",
463
464
  "data": {
464
465
  "metric": {
465
- "warnings": "*"
466
+ "warnings": "*",
467
+ "warningsV2": "*"
466
468
  },
467
469
  "threshold": "*",
468
470
  "evaluationPeriods": "*",
@@ -482,7 +484,8 @@
482
484
  "type": "aws:cdk:analytics:construct",
483
485
  "data": {
484
486
  "metric": {
485
- "warnings": "*"
487
+ "warnings": "*",
488
+ "warningsV2": "*"
486
489
  },
487
490
  "threshold": "*",
488
491
  "evaluationPeriods": "*",
@@ -502,7 +505,8 @@
502
505
  "type": "aws:cdk:analytics:construct",
503
506
  "data": {
504
507
  "metric": {
505
- "warnings": "*"
508
+ "warnings": "*",
509
+ "warningsV2": "*"
506
510
  },
507
511
  "threshold": "*",
508
512
  "evaluationPeriods": "*",
@@ -522,7 +526,8 @@
522
526
  "type": "aws:cdk:analytics:construct",
523
527
  "data": {
524
528
  "metric": {
525
- "warnings": "*"
529
+ "warnings": "*",
530
+ "warningsV2": "*"
526
531
  },
527
532
  "threshold": "*",
528
533
  "evaluationPeriods": "*",
@@ -542,7 +547,8 @@
542
547
  "type": "aws:cdk:analytics:construct",
543
548
  "data": {
544
549
  "metric": {
545
- "warnings": "*"
550
+ "warnings": "*",
551
+ "warningsV2": "*"
546
552
  },
547
553
  "threshold": "*",
548
554
  "evaluationPeriods": "*",
@@ -562,7 +568,8 @@
562
568
  "type": "aws:cdk:analytics:construct",
563
569
  "data": {
564
570
  "metric": {
565
- "warnings": "*"
571
+ "warnings": "*",
572
+ "warningsV2": "*"
566
573
  },
567
574
  "threshold": "*",
568
575
  "evaluationPeriods": "*",
@@ -582,7 +589,8 @@
582
589
  "type": "aws:cdk:analytics:construct",
583
590
  "data": {
584
591
  "metric": {
585
- "warnings": "*"
592
+ "warnings": "*",
593
+ "warningsV2": "*"
586
594
  },
587
595
  "threshold": "*",
588
596
  "evaluationPeriods": "*",
@@ -602,7 +610,8 @@
602
610
  "type": "aws:cdk:analytics:construct",
603
611
  "data": {
604
612
  "metric": {
605
- "warnings": "*"
613
+ "warnings": "*",
614
+ "warningsV2": "*"
606
615
  },
607
616
  "threshold": "*",
608
617
  "evaluationPeriods": "*",
@@ -779,14 +788,6 @@
779
788
  "*"
780
789
  ]
781
790
  }
782
- },
783
- {
784
- "type": "aws:cdk:analytics:method",
785
- "data": {
786
- "addToPrincipalPolicy": [
787
- {}
788
- ]
789
- }
790
791
  }
791
792
  ],
792
793
  "/lamopn-vpc-props/Vpc/FlowLog/IAMRole/ImportIAMRole": [
@@ -822,14 +823,6 @@
822
823
  ]
823
824
  }
824
825
  },
825
- {
826
- "type": "aws:cdk:analytics:method",
827
- "data": {
828
- "addStatements": [
829
- {}
830
- ]
831
- }
832
- },
833
826
  {
834
827
  "type": "aws:cdk:analytics:method",
835
828
  "data": {
@@ -907,57 +900,48 @@
907
900
  "properties": {
908
901
  "module": "aws-cdk-lib",
909
902
  "flags": {
910
- "@aws-cdk/core:enableStackNameDuplicates": {
911
- "recommendedValue": true,
912
- "explanation": "Allow multiple stacks with the same name"
913
- },
914
- "aws-cdk:enableDiffNoFail": {
903
+ "@aws-cdk/aws-signer:signingProfileNamePassedToCfn": {
915
904
  "recommendedValue": true,
916
- "explanation": "Make `cdk diff` not fail when there are differences"
905
+ "explanation": "Pass signingProfileName to CfnSigningProfile"
917
906
  },
918
907
  "@aws-cdk/core:newStyleStackSynthesis": {
919
908
  "recommendedValue": true,
920
- "explanation": "Switch to new stack synthesis method which enables CI/CD"
909
+ "explanation": "Switch to new stack synthesis method which enables CI/CD",
910
+ "unconfiguredBehavesLike": {
911
+ "v2": true
912
+ }
921
913
  },
922
914
  "@aws-cdk/core:stackRelativeExports": {
923
915
  "recommendedValue": true,
924
- "explanation": "Name exports based on the construct paths relative to the stack, rather than the global construct path"
925
- },
926
- "@aws-cdk/aws-ecr-assets:dockerIgnoreSupport": {
927
- "recommendedValue": true,
928
- "explanation": "DockerImageAsset properly supports `.dockerignore` files by default"
929
- },
930
- "@aws-cdk/aws-secretsmanager:parseOwnedSecretName": {
931
- "recommendedValue": true,
932
- "explanation": "Fix the referencing of SecretsManager names from ARNs"
933
- },
934
- "@aws-cdk/aws-kms:defaultKeyPolicies": {
935
- "recommendedValue": true,
936
- "explanation": "Tighten default KMS key policies"
937
- },
938
- "@aws-cdk/aws-s3:grantWriteWithoutAcl": {
939
- "recommendedValue": true,
940
- "explanation": "Remove `PutObjectAcl` from Bucket.grantWrite"
916
+ "explanation": "Name exports based on the construct paths relative to the stack, rather than the global construct path",
917
+ "unconfiguredBehavesLike": {
918
+ "v2": true
919
+ }
941
920
  },
942
- "@aws-cdk/aws-ecs-patterns:removeDefaultDesiredCount": {
921
+ "@aws-cdk/aws-ecs-patterns:secGroupsDisablesImplicitOpenListener": {
943
922
  "recommendedValue": true,
944
- "explanation": "Do not specify a default DesiredCount for ECS services"
923
+ "explanation": "Disable implicit openListener when custom security groups are provided"
945
924
  },
946
925
  "@aws-cdk/aws-rds:lowercaseDbIdentifier": {
947
926
  "recommendedValue": true,
948
- "explanation": "Force lowercasing of RDS Cluster names in CDK"
927
+ "explanation": "Force lowercasing of RDS Cluster names in CDK",
928
+ "unconfiguredBehavesLike": {
929
+ "v2": true
930
+ }
949
931
  },
950
932
  "@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId": {
951
933
  "recommendedValue": true,
952
- "explanation": "Allow adding/removing multiple UsagePlanKeys independently"
953
- },
954
- "@aws-cdk/aws-efs:defaultEncryptionAtRest": {
955
- "recommendedValue": true,
956
- "explanation": "Enable this feature flag to have elastic file systems encrypted at rest by default."
934
+ "explanation": "Allow adding/removing multiple UsagePlanKeys independently",
935
+ "unconfiguredBehavesLike": {
936
+ "v2": true
937
+ }
957
938
  },
958
939
  "@aws-cdk/aws-lambda:recognizeVersionProps": {
959
940
  "recommendedValue": true,
960
- "explanation": "Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the `fn.currentVersion`."
941
+ "explanation": "Enable this feature flag to opt in to the updated logical id calculation for Lambda Version created using the `fn.currentVersion`.",
942
+ "unconfiguredBehavesLike": {
943
+ "v2": true
944
+ }
961
945
  },
962
946
  "@aws-cdk/aws-lambda:recognizeLayerVersion": {
963
947
  "userValue": true,
@@ -966,7 +950,10 @@
966
950
  },
967
951
  "@aws-cdk/aws-cloudfront:defaultSecurityPolicyTLSv1.2_2021": {
968
952
  "recommendedValue": true,
969
- "explanation": "Enable this feature flag to have cloudfront distributions use the security policy TLSv1.2_2021 by default."
953
+ "explanation": "Enable this feature flag to have cloudfront distributions use the security policy TLSv1.2_2021 by default.",
954
+ "unconfiguredBehavesLike": {
955
+ "v2": true
956
+ }
970
957
  },
971
958
  "@aws-cdk/core:checkSecretUsage": {
972
959
  "userValue": true,
@@ -1043,7 +1030,7 @@
1043
1030
  "@aws-cdk/aws-iam:importedRoleStackSafeDefaultPolicyName": {
1044
1031
  "userValue": true,
1045
1032
  "recommendedValue": true,
1046
- "explanation": "Enable this feature to by default create default policy names for imported roles that depend on the stack the role is in."
1033
+ "explanation": "Enable this feature to create default policy names for imported roles that depend on the stack the role is in."
1047
1034
  },
1048
1035
  "@aws-cdk/aws-s3:serverAccessLogsUseBucketPolicy": {
1049
1036
  "userValue": true,
@@ -1187,7 +1174,10 @@
1187
1174
  },
1188
1175
  "@aws-cdk/pipelines:reduceAssetRoleTrustScope": {
1189
1176
  "recommendedValue": true,
1190
- "explanation": "Remove the root account principal from PipelineAssetsFileRole trust policy"
1177
+ "explanation": "Remove the root account principal from PipelineAssetsFileRole trust policy",
1178
+ "unconfiguredBehavesLike": {
1179
+ "v2": true
1180
+ }
1191
1181
  },
1192
1182
  "@aws-cdk/aws-eks:nodegroupNameAttribute": {
1193
1183
  "userValue": true,
@@ -1216,7 +1206,10 @@
1216
1206
  },
1217
1207
  "@aws-cdk/aws-stepfunctions-tasks:useNewS3UriParametersForBedrockInvokeModelTask": {
1218
1208
  "recommendedValue": true,
1219
- "explanation": "When enabled, use new props for S3 URI field in task definition of state machine for bedrock invoke model."
1209
+ "explanation": "When enabled, use new props for S3 URI field in task definition of state machine for bedrock invoke model.",
1210
+ "unconfiguredBehavesLike": {
1211
+ "v2": true
1212
+ }
1220
1213
  },
1221
1214
  "@aws-cdk/core:explicitStackTags": {
1222
1215
  "userValue": true,
@@ -1280,7 +1273,10 @@
1280
1273
  },
1281
1274
  "@aws-cdk/core:aspectStabilization": {
1282
1275
  "recommendedValue": true,
1283
- "explanation": "When enabled, a stabilization loop will be run when invoking Aspects during synthesis."
1276
+ "explanation": "When enabled, a stabilization loop will be run when invoking Aspects during synthesis.",
1277
+ "unconfiguredBehavesLike": {
1278
+ "v2": true
1279
+ }
1284
1280
  },
1285
1281
  "@aws-cdk/aws-route53-targets:userPoolDomainNameMethodWithoutCustomResource": {
1286
1282
  "userValue": true,
@@ -1314,7 +1310,10 @@
1314
1310
  },
1315
1311
  "@aws-cdk/pipelines:reduceStageRoleTrustScope": {
1316
1312
  "recommendedValue": true,
1317
- "explanation": "Remove the root account principal from Stage addActions trust policy"
1313
+ "explanation": "Remove the root account principal from Stage addActions trust policy",
1314
+ "unconfiguredBehavesLike": {
1315
+ "v2": true
1316
+ }
1318
1317
  },
1319
1318
  "@aws-cdk/aws-events:requireEventBusPolicySid": {
1320
1319
  "userValue": true,
@@ -1337,7 +1336,10 @@
1337
1336
  },
1338
1337
  "@aws-cdk/pipelines:reduceCrossAccountActionRoleTrustScope": {
1339
1338
  "recommendedValue": true,
1340
- "explanation": "When enabled, scopes down the trust policy for the cross-account action role"
1339
+ "explanation": "When enabled, scopes down the trust policy for the cross-account action role",
1340
+ "unconfiguredBehavesLike": {
1341
+ "v2": true
1342
+ }
1341
1343
  },
1342
1344
  "@aws-cdk/aws-stepfunctions:useDistributedMapResultWriterV2": {
1343
1345
  "userValue": true,
@@ -1367,6 +1369,21 @@
1367
1369
  "userValue": true,
1368
1370
  "recommendedValue": true,
1369
1371
  "explanation": "When enabled, CDK creates and manages loggroup for the lambda function"
1372
+ },
1373
+ "@aws-cdk/aws-elasticloadbalancingv2:networkLoadBalancerWithSecurityGroupByDefault": {
1374
+ "recommendedValue": true,
1375
+ "explanation": "When enabled, Network Load Balancer will be created with a security group by default."
1376
+ },
1377
+ "@aws-cdk/aws-stepfunctions-tasks:httpInvokeDynamicJsonPathEndpoint": {
1378
+ "recommendedValue": true,
1379
+ "explanation": "When enabled, allows using a dynamic apiEndpoint with JSONPath format in HttpInvoke tasks.",
1380
+ "unconfiguredBehavesLike": {
1381
+ "v2": true
1382
+ }
1383
+ },
1384
+ "@aws-cdk/aws-ecs-patterns:uniqueTargetGroupId": {
1385
+ "recommendedValue": true,
1386
+ "explanation": "When enabled, ECS patterns will generate unique target group IDs to prevent conflicts during load balancer replacement"
1370
1387
  }
1371
1388
  }
1372
1389
  }
@@ -1 +1 @@
1
- {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.206.0"},"children":{"lamopn-vpc-props":{"id":"lamopn-vpc-props","path":"lamopn-vpc-props","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"test-lambda-opensearch":{"id":"test-lambda-opensearch","path":"lamopn-vpc-props/test-lambda-opensearch","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch","version":"2.86.0"},"children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"addToPolicy":[{}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"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"}}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"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"}]}}}}}}},"ReplaceDefaultSecurityGroup-security-group":{"id":"ReplaceDefaultSecurityGroup-security-group","path":"lamopn-vpc-props/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.206.0","metadata":[{"vpc":"*","allowAllOutbound":true}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamopn-vpc-props/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"}}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.206.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*","securityGroups":["*"],"vpc":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]},"children":{"Code":{"id":"Code","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.206.0"},"children":{"Stage":{"id":"Stage","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.206.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.206.0","metadata":[]}}}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1"},"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"]}]}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"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"}]}}}}}}},"CognitoUserPool":{"id":"CognitoUserPool","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPool","version":"2.206.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPool/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPool","version":"2.206.0"},"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 {####}"}}}}}},"CognitoUserPoolClient":{"id":"CognitoUserPoolClient","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPoolClient","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPoolClient","version":"2.206.0","metadata":[{"userPool":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPoolClient/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolClient","version":"2.206.0"},"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"}}}}}},"CognitoIdentityPool":{"id":"CognitoIdentityPool","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoIdentityPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPool","version":"2.206.0"},"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}]}}},"UserPoolDomain":{"id":"UserPoolDomain","path":"lamopn-vpc-props/test-lambda-opensearch/UserPoolDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolDomain","version":"2.206.0"},"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"}}}},"CognitoAuthorizedRole":{"id":"CognitoAuthorizedRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]},"children":{"ImportCognitoAuthorizedRole":{"id":"ImportCognitoAuthorizedRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoAuthorizedRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"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"}}]}}}}},"IdentityPoolRoleMapping":{"id":"IdentityPoolRoleMapping","path":"lamopn-vpc-props/test-lambda-opensearch/IdentityPoolRoleMapping","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPoolRoleAttachment","aws:cdk:cloudformation:props":{"identityPoolId":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"},"roles":{"authenticated":{"Fn::GetAtt":["testlambdaopensearchCognitoAuthorizedRole58A1ED44","Arn"]}}}}},"CognitoDashboardConfigureRole":{"id":"CognitoDashboardConfigureRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"attachInlinePolicy":["*"]}]},"children":{"ImportCognitoDashboardConfigureRole":{"id":"ImportCognitoDashboardConfigureRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"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"}}}}}},"CognitoDashboardConfigureRolePolicy":{"id":"CognitoDashboardConfigureRolePolicy","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"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"}]}}}}},"OpenSearchDomain":{"id":"OpenSearchDomain","path":"lamopn-vpc-props/test-lambda-opensearch/OpenSearchDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_opensearchservice.CfnDomain","version":"2.206.0"},"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,"zoneAwarenessEnabled":true,"zoneAwarenessConfig":{"availabilityZoneCount":2},"instanceCount":2},"cognitoOptions":{"enabled":true,"identityPoolId":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"},"userPoolId":{"Ref":"testlambdaopensearchCognitoUserPoolA09096F9"},"roleArn":{"Fn::GetAtt":["testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A","Arn"]}},"domainEndpointOptions":{"enforceHttps":true,"tlsSecurityPolicy":"Policy-Min-TLS-1-2-2019-07"},"domainName":{"Fn::Join":["-",["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"]}]}}}},"StatusRedAlarm":{"id":"StatusRedAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/StatusRedAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/StatusRedAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"StatusYellowAlarm":{"id":"StatusYellowAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/StatusYellowAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/StatusYellowAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"FreeStorageSpaceTooLowAlarm":{"id":"FreeStorageSpaceTooLowAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"IndexWritesBlockedTooHighAlarm":{"id":"IndexWritesBlockedTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"AutomatedSnapshotFailureTooHighAlarm":{"id":"AutomatedSnapshotFailureTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"CPUUtilizationTooHighAlarm":{"id":"CPUUtilizationTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/CPUUtilizationTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CPUUtilizationTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"JVMMemoryPressureTooHighAlarm":{"id":"JVMMemoryPressureTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"MasterCPUUtilizationTooHighAlarm":{"id":"MasterCPUUtilizationTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}},"MasterJVMMemoryPressureTooHighAlarm":{"id":"MasterJVMMemoryPressureTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.206.0","metadata":[{"metric":{"warnings":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.206.0"},"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}}}}}}},"Vpc":{"id":"Vpc","path":"lamopn-vpc-props/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.206.0","metadata":[{"natGateways":"*","subnetConfiguration":[{"cidrMask":"*","name":"*","subnetType":"Isolated"}],"ipAddresses":"*","enableDnsHostnames":true,"enableDnsSupport":true}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"172.168.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc"}]}}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lamopn-vpc-props/Vpc/isolatedSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.206.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]},"children":{"Subnet":{"id":"Subnet","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}}}}},"isolatedSubnet2":{"id":"isolatedSubnet2","path":"lamopn-vpc-props/Vpc/isolatedSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.206.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]},"children":{"Subnet":{"id":"Subnet","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.64.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet2RouteTable334F9764"},"subnetId":{"Ref":"VpcisolatedSubnet2Subnet39217055"}}}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamopn-vpc-props/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.206.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"lamopn-vpc-props/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}},"FlowLog":{"id":"FlowLog","path":"lamopn-vpc-props/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.206.0","metadata":[{"resourceType":"*"}]},"children":{"IAMRole":{"id":"IAMRole","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.206.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"addToPrincipalPolicy":[{}]}]},"children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.206.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.206.0"},"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-vpc-props/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.206.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.206.0"},"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"}]}}}}}}},"LogGroup":{"id":"LogGroup","path":"lamopn-vpc-props/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.206.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.206.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"lamopn-vpc-props/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.206.0"},"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-vpc-props/Vpc/FlowLog"}],"trafficType":"ALL"}}}}}}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.206.0"},"children":{"Staging":{"id":"Staging","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.206.0"}},"Role":{"id":"Role","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}},"Handler":{"id":"Handler","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.206.0"}}}},"Integ":{"id":"Integ","path":"lamopn-vpc-props/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.206.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lamopn-vpc-props/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.206.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lamopn-vpc-props/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamopn-vpc-props/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.206.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamopn-vpc-props/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-vpc-props/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamopn-vpc-props/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.206.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-vpc-props/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.206.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}
1
+ {"version":"tree-0.1","tree":{"id":"App","path":"","constructInfo":{"fqn":"aws-cdk-lib.App","version":"2.223.0"},"children":{"lamopn-vpc-props":{"id":"lamopn-vpc-props","path":"lamopn-vpc-props","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"test-lambda-opensearch":{"id":"test-lambda-opensearch","path":"lamopn-vpc-props/test-lambda-opensearch","constructInfo":{"fqn":"@aws-solutions-constructs/aws-lambda-opensearch.LambdaToOpenSearch","version":"2.94.0"},"children":{"LambdaFunctionServiceRole":{"id":"LambdaFunctionServiceRole","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"},{"addToPolicy":[{}]},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportLambdaFunctionServiceRole":{"id":"ImportLambdaFunctionServiceRole","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/ImportLambdaFunctionServiceRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"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"}}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunctionServiceRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"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"}]}}}}}}},"ReplaceDefaultSecurityGroup-security-group":{"id":"ReplaceDefaultSecurityGroup-security-group","path":"lamopn-vpc-props/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.SecurityGroup","version":"2.223.0","metadata":[{"vpc":"*","allowAllOutbound":true}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/ReplaceDefaultSecurityGroup-security-group/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSecurityGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SecurityGroup","aws:cdk:cloudformation:props":{"groupDescription":"lamopn-vpc-props/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"}}}}}},"LambdaFunction":{"id":"LambdaFunction","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.Function","version":"2.223.0","metadata":[{"role":"*","tracing":"Active","code":"*","runtime":"*","handler":"*","securityGroups":["*"],"vpc":"*"},{"addEnvironment":["*","*",{"removeInEdge":true}]},{"addEnvironment":["*","*"]}]},"children":{"Code":{"id":"Code","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Code","constructInfo":{"fqn":"aws-cdk-lib.aws_s3_assets.Asset","version":"2.223.0"},"children":{"Stage":{"id":"Stage","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Code/Stage","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.223.0"}},"AssetBucket":{"id":"AssetBucket","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Code/AssetBucket","constructInfo":{"fqn":"aws-cdk-lib.aws_s3.BucketBase","version":"2.223.0","metadata":[]}}}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_lambda.CfnFunction","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Lambda::Function","aws:cdk:cloudformation:props":{"code":{"s3Bucket":{"Fn::Sub":"cdk-hnb659fds-assets-${AWS::AccountId}-us-east-1"},"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"]}]}}}},"inlinePolicyAddedToExecutionRole-0":{"id":"inlinePolicyAddedToExecutionRole-0","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/inlinePolicyAddedToExecutionRole-0","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/LambdaFunction/inlinePolicyAddedToExecutionRole-0/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"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"}]}}}}}}},"CognitoUserPool":{"id":"CognitoUserPool","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPool","version":"2.223.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPool/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPool","version":"2.223.0"},"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 {####}"}}}}}},"CognitoUserPoolClient":{"id":"CognitoUserPoolClient","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPoolClient","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.UserPoolClient","version":"2.223.0","metadata":[{"userPool":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoUserPoolClient/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolClient","version":"2.223.0"},"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"}}}}}},"CognitoIdentityPool":{"id":"CognitoIdentityPool","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoIdentityPool","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPool","version":"2.223.0"},"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}]}}},"UserPoolDomain":{"id":"UserPoolDomain","path":"lamopn-vpc-props/test-lambda-opensearch/UserPoolDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnUserPoolDomain","version":"2.223.0"},"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"}}}},"CognitoAuthorizedRole":{"id":"CognitoAuthorizedRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"},"inlinePolicies":"*"}]},"children":{"ImportCognitoAuthorizedRole":{"id":"ImportCognitoAuthorizedRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoAuthorizedRole/ImportCognitoAuthorizedRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoAuthorizedRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"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"}}]}}}}},"IdentityPoolRoleMapping":{"id":"IdentityPoolRoleMapping","path":"lamopn-vpc-props/test-lambda-opensearch/IdentityPoolRoleMapping","constructInfo":{"fqn":"aws-cdk-lib.aws_cognito.CfnIdentityPoolRoleAttachment","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Cognito::IdentityPoolRoleAttachment","aws:cdk:cloudformation:props":{"identityPoolId":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"},"roles":{"authenticated":{"Fn::GetAtt":["testlambdaopensearchCognitoAuthorizedRole58A1ED44","Arn"]}}}}},"CognitoDashboardConfigureRole":{"id":"CognitoDashboardConfigureRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"attachInlinePolicy":["*"]}]},"children":{"ImportCognitoDashboardConfigureRole":{"id":"ImportCognitoDashboardConfigureRole","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRole/ImportCognitoDashboardConfigureRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"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"}}}}}},"CognitoDashboardConfigureRolePolicy":{"id":"CognitoDashboardConfigureRolePolicy","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":[{"statements":"*"},{"addStatements":[{}]},{"addStatements":[{}]},{"attachToRole":["*"]},{"attachToRole":["*"]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CognitoDashboardConfigureRolePolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"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"}]}}}}},"OpenSearchDomain":{"id":"OpenSearchDomain","path":"lamopn-vpc-props/test-lambda-opensearch/OpenSearchDomain","constructInfo":{"fqn":"aws-cdk-lib.aws_opensearchservice.CfnDomain","version":"2.223.0"},"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,"zoneAwarenessEnabled":true,"zoneAwarenessConfig":{"availabilityZoneCount":2},"instanceCount":2},"cognitoOptions":{"enabled":true,"identityPoolId":{"Ref":"testlambdaopensearchCognitoIdentityPool0B1FB311"},"userPoolId":{"Ref":"testlambdaopensearchCognitoUserPoolA09096F9"},"roleArn":{"Fn::GetAtt":["testlambdaopensearchCognitoDashboardConfigureRole1F2B7B7A","Arn"]}},"domainEndpointOptions":{"enforceHttps":true,"tlsSecurityPolicy":"Policy-Min-TLS-1-2-2019-07"},"domainName":{"Fn::Join":["-",["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"]}]}}}},"StatusRedAlarm":{"id":"StatusRedAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/StatusRedAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/StatusRedAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"StatusYellowAlarm":{"id":"StatusYellowAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/StatusYellowAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/StatusYellowAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"FreeStorageSpaceTooLowAlarm":{"id":"FreeStorageSpaceTooLowAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/FreeStorageSpaceTooLowAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"IndexWritesBlockedTooHighAlarm":{"id":"IndexWritesBlockedTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/IndexWritesBlockedTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"AutomatedSnapshotFailureTooHighAlarm":{"id":"AutomatedSnapshotFailureTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/AutomatedSnapshotFailureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"CPUUtilizationTooHighAlarm":{"id":"CPUUtilizationTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/CPUUtilizationTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/CPUUtilizationTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"JVMMemoryPressureTooHighAlarm":{"id":"JVMMemoryPressureTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/JVMMemoryPressureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"MasterCPUUtilizationTooHighAlarm":{"id":"MasterCPUUtilizationTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/MasterCPUUtilizationTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}},"MasterJVMMemoryPressureTooHighAlarm":{"id":"MasterJVMMemoryPressureTooHighAlarm","path":"lamopn-vpc-props/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.Alarm","version":"2.223.0","metadata":[{"metric":{"warnings":"*","warningsV2":"*"},"threshold":"*","evaluationPeriods":"*","comparisonOperator":"*","alarmDescription":"*"}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/test-lambda-opensearch/MasterJVMMemoryPressureTooHighAlarm/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_cloudwatch.CfnAlarm","version":"2.223.0"},"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}}}}}}},"Vpc":{"id":"Vpc","path":"lamopn-vpc-props/Vpc","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.Vpc","version":"2.223.0","metadata":[{"natGateways":"*","subnetConfiguration":[{"cidrMask":"*","name":"*","subnetType":"Isolated"}],"ipAddresses":"*","enableDnsHostnames":true,"enableDnsSupport":true}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnVPC","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::VPC","aws:cdk:cloudformation:props":{"cidrBlock":"172.168.0.0/16","enableDnsHostnames":true,"enableDnsSupport":true,"instanceTenancy":"default","tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc"}]}}},"isolatedSubnet1":{"id":"isolatedSubnet1","path":"lamopn-vpc-props/Vpc/isolatedSubnet1","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.223.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]},"children":{"Subnet":{"id":"Subnet","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[0,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.0.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet1"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamopn-vpc-props/Vpc/isolatedSubnet1/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet1RouteTableE442650B"},"subnetId":{"Ref":"VpcisolatedSubnet1SubnetE62B1B9B"}}}}}},"isolatedSubnet2":{"id":"isolatedSubnet2","path":"lamopn-vpc-props/Vpc/isolatedSubnet2","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.PrivateSubnet","version":"2.223.0","metadata":[{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"},{"availabilityZone":"*","vpcId":"*","cidrBlock":"*","mapPublicIpOnLaunch":false,"ipv6CidrBlock":"*","assignIpv6AddressOnCreation":"*"}]},"children":{"Subnet":{"id":"Subnet","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/Subnet","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnet","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::Subnet","aws:cdk:cloudformation:props":{"availabilityZone":{"Fn::Select":[1,{"Fn::GetAZs":""}]},"cidrBlock":"172.168.64.0/18","mapPublicIpOnLaunch":false,"tags":[{"key":"aws-cdk:subnet-name","value":"isolated"},{"key":"aws-cdk:subnet-type","value":"Isolated"},{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"Acl":{"id":"Acl","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/Acl","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":[]}},"RouteTable":{"id":"RouteTable","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/RouteTable","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnRouteTable","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::RouteTable","aws:cdk:cloudformation:props":{"tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc/isolatedSubnet2"}],"vpcId":{"Ref":"Vpc8378EB38"}}}},"RouteTableAssociation":{"id":"RouteTableAssociation","path":"lamopn-vpc-props/Vpc/isolatedSubnet2/RouteTableAssociation","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnSubnetRouteTableAssociation","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::EC2::SubnetRouteTableAssociation","aws:cdk:cloudformation:props":{"routeTableId":{"Ref":"VpcisolatedSubnet2RouteTable334F9764"},"subnetId":{"Ref":"VpcisolatedSubnet2Subnet39217055"}}}}}},"RestrictDefaultSecurityGroupCustomResource":{"id":"RestrictDefaultSecurityGroupCustomResource","path":"lamopn-vpc-props/Vpc/RestrictDefaultSecurityGroupCustomResource","constructInfo":{"fqn":"aws-cdk-lib.CustomResource","version":"2.223.0","metadata":["*"]},"children":{"Default":{"id":"Default","path":"lamopn-vpc-props/Vpc/RestrictDefaultSecurityGroupCustomResource/Default","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}}}},"FlowLog":{"id":"FlowLog","path":"lamopn-vpc-props/Vpc/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.FlowLog","version":"2.223.0","metadata":[{"resourceType":"*"}]},"children":{"IAMRole":{"id":"IAMRole","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Role","version":"2.223.0","metadata":[{"roleName":"*","assumedBy":{"principalAccount":"*","assumeRoleAction":"*"}},{"addToPrincipalPolicy":[{}]},{"attachInlinePolicy":["*"]},{"attachInlinePolicy":["*"]}]},"children":{"ImportIAMRole":{"id":"ImportIAMRole","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/ImportIAMRole","constructInfo":{"fqn":"aws-cdk-lib.Resource","version":"2.223.0","metadata":["*"]}},"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnRole","version":"2.223.0"},"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-vpc-props/Vpc/FlowLog"}]}}},"DefaultPolicy":{"id":"DefaultPolicy","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/DefaultPolicy","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.Policy","version":"2.223.0","metadata":["*",{"attachToRole":["*"]},{"attachToRole":["*"]},{"addStatements":[{}]}]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/FlowLog/IAMRole/DefaultPolicy/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_iam.CfnPolicy","version":"2.223.0"},"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"]}}],"Version":"2012-10-17"},"policyName":"VpcFlowLogIAMRoleDefaultPolicy406FB995","roles":[{"Ref":"VpcFlowLogIAMRole6A475D41"}]}}}}}}},"LogGroup":{"id":"LogGroup","path":"lamopn-vpc-props/Vpc/FlowLog/LogGroup","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.LogGroup","version":"2.223.0","metadata":["*"]},"children":{"Resource":{"id":"Resource","path":"lamopn-vpc-props/Vpc/FlowLog/LogGroup/Resource","constructInfo":{"fqn":"aws-cdk-lib.aws_logs.CfnLogGroup","version":"2.223.0"},"attributes":{"aws:cdk:cloudformation:type":"AWS::Logs::LogGroup","aws:cdk:cloudformation:props":{"retentionInDays":731,"tags":[{"key":"Name","value":"lamopn-vpc-props/Vpc/FlowLog"}]}}}}},"FlowLog":{"id":"FlowLog","path":"lamopn-vpc-props/Vpc/FlowLog/FlowLog","constructInfo":{"fqn":"aws-cdk-lib.aws_ec2.CfnFlowLog","version":"2.223.0"},"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-vpc-props/Vpc/FlowLog"}],"trafficType":"ALL"}}}}}}},"Custom::VpcRestrictDefaultSGCustomResourceProvider":{"id":"Custom::VpcRestrictDefaultSGCustomResourceProvider","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider","constructInfo":{"fqn":"aws-cdk-lib.CustomResourceProviderBase","version":"2.223.0"},"children":{"Staging":{"id":"Staging","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider/Staging","constructInfo":{"fqn":"aws-cdk-lib.AssetStaging","version":"2.223.0"}},"Role":{"id":"Role","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider/Role","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}},"Handler":{"id":"Handler","path":"lamopn-vpc-props/Custom::VpcRestrictDefaultSGCustomResourceProvider/Handler","constructInfo":{"fqn":"aws-cdk-lib.CfnResource","version":"2.223.0"}}}},"Integ":{"id":"Integ","path":"lamopn-vpc-props/Integ","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTest","version":"2.223.0-alpha.0"},"children":{"DefaultTest":{"id":"DefaultTest","path":"lamopn-vpc-props/Integ/DefaultTest","constructInfo":{"fqn":"@aws-cdk/integ-tests-alpha.IntegTestCase","version":"2.223.0-alpha.0"},"children":{"Default":{"id":"Default","path":"lamopn-vpc-props/Integ/DefaultTest/Default","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}},"DeployAssert":{"id":"DeployAssert","path":"lamopn-vpc-props/Integ/DefaultTest/DeployAssert","constructInfo":{"fqn":"aws-cdk-lib.Stack","version":"2.223.0"},"children":{"BootstrapVersion":{"id":"BootstrapVersion","path":"lamopn-vpc-props/Integ/DefaultTest/DeployAssert/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-vpc-props/Integ/DefaultTest/DeployAssert/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}}}}}},"BootstrapVersion":{"id":"BootstrapVersion","path":"lamopn-vpc-props/BootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnParameter","version":"2.223.0"}},"CheckBootstrapVersion":{"id":"CheckBootstrapVersion","path":"lamopn-vpc-props/CheckBootstrapVersion","constructInfo":{"fqn":"aws-cdk-lib.CfnRule","version":"2.223.0"}}}},"Tree":{"id":"Tree","path":"Tree","constructInfo":{"fqn":"constructs.Construct","version":"10.4.2"}}}}}