Open source AI coding agent. Designed for large projects and real world tasks.
Go aiai-agentsai-developer-toolsai-toolsclicommand-linedeveloper-toolsgitgolanggpt-4llmopenaipolyglot-programmingterminalterminal-basedterminal-ui
markdown guide tweaks
Dane Schneiderd82ea417ae39
diff --git a/HOSTING.md b/HOSTING.mdindex 776cb238..656098cc 100644--- a/HOSTING.md+++ b/HOSTING.md@@ -11,33 +11,15 @@ export GOENV=productionThe server listens on port 8088 by default.-Authentication emails are sent through AWS SES, so you'll need an AWS account with SES enabled. You'll be able to sub in SMTP credentials in the future (PRs welcome).+The server also requires access to a persistent file system. It should be mounted to the container. In production, the `/plandex-server` directory is used by default as the base directory to read and write files. You can use the `PLANDEX_BASE_DIR` environment variable to change this.-## AWS+Authentication emails are sent through AWS SES in production, so you'll need an AWS account with SES enabled. You'll be able to sub in SMTP credentials in the future (PRs welcome).-Run `./infra/deploy.sh` to deploy a production-ready Cloudformation stack to AWS with built-in autoscaling, clustering, network security, secrets management, backups, and alerts. This is the same infrastructure Plandex Cloud runs on.+If you set `export GOENV=development` instead of `production`:-Fair warning: this will cost signficantly more than paying for Plandex Cloud (once billing is enabled) or self-hosting with a lighter setup.+- Authentication tokens will be copied to the clipboard instead of sent via email, and a system notification will pop up to let you know that the token is ready to paste.-It requires an AWS account in ~/.aws/credentials, and these environment variables:--```bash-export AWS_PROFILE=your-aws-profile-export AWS_REGION=your-aws-region-export NOTIFY_EMAIL=your-email # AWS cloudwatch alerts and notifications-export NOTIFY_SMS=country-code-plus-full-number # e.g. +14155552671 | for urgent AWS alerts-export CERTIFICATE_ARN=your-aws-cert-manager-arn # for HTTPS -- must be a valid certificate in AWS Certificate Manager in the same region--./infra/deploy.sh-```--To deploy a new build when only the app code has changed (not the infrastructure), run `./infra/deploy.sh --image-only`--If the infrastructure _has_ changed, run `./infra/deploy.sh` again.--## SES sandbox--Note that in order to send authentication emails with SES, you'll either need to make a request to AWS get out of the SES sandbox, verify an email domain, or verify email addresses individually. [Read more here.](https://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html)+- The default base directory will be `$HOME/plandex-server` instead of `/plandex-server`. It can still be overridden with `PLANDEX_BASE_DIR`.## Create a new accountdiff --git a/LICENSE.txt b/LICENSEsimilarity index 97%rename from LICENSE.txtrename to LICENSEindex 2d1f7df0..6d68a3f0 100644--- a/LICENSE.txt+++ b/LICENSE@@ -1,7 +1,9 @@+MIT License+Copyright (c) 2024 Dane SchneiderPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.-THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\ No newline at end of file+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.diff --git a/infra/.gitignore b/infra/.gitignoredeleted file mode 100644index d53dd0be..00000000--- a/infra/.gitignore+++ /dev/null@@ -1,2 +0,0 @@-cdk.out/-stack-tag.txt\ No newline at end of filediff --git a/infra/deploy.sh b/infra/deploy.shdeleted file mode 100755index afc57541..00000000--- a/infra/deploy.sh+++ /dev/null@@ -1,195 +0,0 @@-#!/bin/bash--# Enhanced error handling and logging-set -e-set -o pipefail--# Initialize flag variable-SKIP_DEPLOY=false--# Parse command-line arguments-while [[ "$#" -gt 0 ]]; do- case $1 in- --image-only) SKIP_DEPLOY=true ;;- *) echo "Unknown parameter passed: $1"; exit 1 ;;- esac- shift-done--log() {- echo "[$(date +%Y-%m-%dT%H:%M:%S%z)]: $*"-}--handle_error() {- local exit_code=$?- log "An error occurred. Exiting with status ${exit_code}"- exit $exit_code-}--trap 'handle_error' ERR--log() {- echo "[$(date +%Y-%m-%dT%H:%M:%S%z)]: $*"-}--handle_error() {- local exit_code=$?- log "An error occurred. Exiting with status ${exit_code}"- exit $exit_code-}--trap 'handle_error' ERR--if [ "$SKIP_DEPLOY" = true ]; then- log "Skipping infra deploy due to --image-only flag"-else- log "Deploying the infrastructure..."-fi--export AWS_PROFILE=plandex--# Generate a unique tag for the deployment-# Path to the file where the STACK_TAG is stored-STACK_TAG_FILE="stack-tag.txt"--# Function to generate a new STACK_TAG and save it to the file-generate_and_save_stack_tag() {- export STACK_TAG=$(uuidgen | cut -d '-' -f1)- echo $STACK_TAG > $STACK_TAG_FILE- log "Generated new STACK_TAG: $STACK_TAG"-}--# Function to load the existing STACK_TAG from the file-load_stack_tag() {- export STACK_TAG=$(cat $STACK_TAG_FILE)- log "Loaded existing STACK_TAG: $STACK_TAG"-}--# Check if the STACK_TAG file exists and load it, otherwise generate a new one-if [ -f "$STACK_TAG_FILE" ]; then- log "Loading existing STACK_TAG from file..."- load_stack_tag-else- log "Generating new STACK_TAG and saving to file..."- generate_and_save_stack_tag-fi--# Function to ensure the ECR repository exists-ensure_ecr_repository_exists() {- # Check if the ECR repository exists- log "Checking if the ECR repository 'plandex-ecr-repository' exists..."- if ! aws ecr describe-repositories --repository-names plandex-ecr-repository 2>/dev/null; then- log "ECR repository does not exist. Creating repository..."- aws ecr create-repository --repository-name plandex-ecr-repository- log "ECR repository 'plandex-ecr-repository' created."- else- log "ECR repository 'plandex-ecr-repository' already exists."- fi-}--log "Checking if the ECR repository exists..."--# Ensure the ECR repository exists before proceeding-ensure_ecr_repository_exists--# Set variables for the ECR repository and image tag-ECR_REPOSITORY=$(aws ecr describe-repositories --repository-names plandex-ecr-repository | jq -r '.repositories[0].repositoryUri')-export IMAGE_TAG=$(git rev-parse --short HEAD)--log "IMAGE_TAG: $IMAGE_TAG"--IS_NEW_STACK=false--# Function to deploy or update the CloudFormation stack using AWS CDK-deploy_or_update_stack() {- # Check if the stack exists- STACK_NAME=$(aws cloudformation list-stacks --stack-status-filter CREATE_COMPLETE UPDATE_COMPLETE | jq -r '.StackSummaries[] | select(.StackName | startswith("plandex-stack-")) | .StackName')-- if [ -z "$STACK_NAME" ]; then- # Deploy the stack if it does not exist- npx cdk deploy --require-approval never --app "npx ts-node src/main.ts" --context stackTag=$STACK_TAG "plandex-stack-$STACK_TAG"- IS_NEW_STACK=true- else- # Update the stack if it exists- npx cdk deploy "$STACK_NAME" --require-approval never --app "npx ts-node src/main.ts"- fi-}--# Function to build and push the Docker image to ECR-build_and_push_image() {- # Login to ECR- aws ecr get-login-password --region $(aws configure get region) | docker login --username AWS --password-stdin $ECR_REPOSITORY-- # Build the Docker image- cd ../app- docker build -t plandex-server:$IMAGE_TAG -f Dockerfile.server .- cd --- # Tag the image for the ECR repository- docker tag plandex-server:$IMAGE_TAG $ECR_REPOSITORY:$IMAGE_TAG-- # Push the image to ECR- docker push $ECR_REPOSITORY:$IMAGE_TAG-}--# Function to update the ECS service with the new Docker image-update_ecs_service() {- log "STACK_TAG: $STACK_TAG"-- # Use the extracted tag to find the ECS cluster and service names- CLUSTER_NAME=$(aws ecs list-clusters | jq -r --arg TAG "$STACK_TAG" '.clusterArns[] | select(contains("plandex-stack-" + $TAG)) | split("/") | .[-1]')- SERVICE_NAME=$(aws ecs list-services --cluster "$CLUSTER_NAME" | jq -r --arg TAG "$STACK_TAG" '.serviceArns[] | select(contains("plandex-stack-" + $TAG)) | split("/") | .[-1]')-- TASK_DEF_NAME=$(aws ecs list-task-definitions | jq -r --arg TAG "$STACK_TAG" '.taskDefinitionArns[] | select(contains("plandexstack" + $TAG))' | sort -V | tail -n 1 | awk -F'/' '{print $2}')-- log "CLUSTER_NAME: $CLUSTER_NAME"- log "SERVICE_NAME: $SERVICE_NAME"- log "TASK_DEF_NAME: $TASK_DEF_NAME"-- # Retrieve the current task definition for the ECS service- TASK_DEF=$(aws ecs describe-task-definition --task-definition "$TASK_DEF_NAME")- # Extract the current task definition JSON without the revision- TASK_DEF_JSON=$(echo $TASK_DEF | jq -c '.taskDefinition | del(.revision, .status, .taskDefinitionArn, .requiresAttributes, .compatibilities, .registeredAt, .registeredBy)')-- # Update the container image URI in the task definition JSON- UPDATED_TASK_DEF_JSON=$(echo $TASK_DEF_JSON | jq -c --arg IMAGE_URI "$ECR_REPOSITORY:$IMAGE_TAG" '.containerDefinitions[0].image = $IMAGE_URI')-- # log "UPDATED_TASK_DEF_JSON: $UPDATED_TASK_DEF_JSON"-- # Register the new task definition revision with the updated image- TMP_FILE=$(mktemp)- echo $UPDATED_TASK_DEF_JSON > $TMP_FILE-- REGISTERED_TASK_DEF=$(aws ecs register-task-definition --cli-input-json file://$TMP_FILE)- NEW_TASK_DEF_ARN=$(echo $REGISTERED_TASK_DEF | jq -r '.taskDefinition.taskDefinitionArn')-- log "New task definition registered"-- # Update the ECS service to use the new task definition revision- aws ecs update-service --cluster "$CLUSTER_NAME" --service "$SERVICE_NAME" --task-definition "$NEW_TASK_DEF_ARN" > /dev/null- log "ECS service updated successfully with new task definition"-- # Clean up the temporary file- rm $TMP_FILE-}--log "Building and pushing the Docker image to ECR..."-build_and_push_image--# Deploy or update the CloudFormation stack unless the --image-only flag is set-if [ "$SKIP_DEPLOY" = false ]; then- log "Deploying or updating the CloudFormation stack..."- deploy_or_update_stack-else- log "Skipping deploy_or_update_stack due to --image-only flag"-fi--# Update the ECS service with the new Docker image if it's not a new stack-if [ "$IS_NEW_STACK" = false ]; then- log "Updating the ECS service with the new Docker image..."- update_ecs_service-else- log "Skipping update_ecs_service for new stack"-fi--log "Infrastructure deployed successfully"\ No newline at end of filediff --git a/infra/package-lock.json b/infra/package-lock.jsondeleted file mode 100644index eea015f2..00000000--- a/infra/package-lock.json+++ /dev/null@@ -1,1554 +0,0 @@-{- "name": "aws-infra",- "version": "1.0.0",- "lockfileVersion": 3,- "requires": true,- "packages": {- "": {- "name": "aws-infra",- "version": "1.0.0",- "dependencies": {- "@aws-cdk/aws-certificatemanager": "^1.204.0",- "@aws-cdk/aws-cloudwatch-actions": "^1.204.0",- "@aws-cdk/aws-ec2": "^1.203.0",- "@aws-cdk/aws-ecr": "^1.203.0",- "@aws-cdk/aws-ecs": "^1.203.0",- "@aws-cdk/aws-efs": "^1.203.0",- "@aws-cdk/aws-rds": "^1.203.0",- "@aws-cdk/aws-secretsmanager": "^1.203.0",- "@aws-cdk/aws-ses": "^1.203.0",- "@aws-cdk/core": "^1.203.0",- "uuid": "^9.0.1"- },- "devDependencies": {- "@types/node": "^20.11.10",- "@types/uuid": "^9.0.7",- "aws-cdk": "^2.122.0",- "typescript": "^5.3.3"- }- },- "node_modules/@aws-cdk/assets": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/assets/-/assets-1.204.0.tgz",- "integrity": "sha512-rY9YHZ3gUWr+dLwTwSUWYbIfk/AXy4JZRkhLbunrtzjQhH+QMm/2IWIebfBGu+A5AlVRaFbRLonReuGP5WZoUQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-acmpca": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-acmpca/-/aws-acmpca-1.204.0.tgz",- "integrity": "sha512-2zyuQZwynwkz2qiuFDp088tglWXKX3q7saWRDqeuq2n2HE6PGuQRjd4zjl9nDGUVxQYtzzXyEuPyaEta8fg9lQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-apigateway": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-apigateway/-/aws-apigateway-1.204.0.tgz",- "integrity": "sha512-uVK309Ltdq/Q0w0tREtIIJYKAeevKwU/oqVMy+PKis1+bSEesN64hIPAd+qqBuChrzCdhEDtY9oiKGOTvM0Alg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-cognito": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-stepfunctions": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-cognito": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-stepfunctions": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-applicationautoscaling": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-applicationautoscaling/-/aws-applicationautoscaling-1.204.0.tgz",- "integrity": "sha512-sEe2NODKUowJx2guM2SPfs/20gGdBq1C09M32b8c1im7K+PqQkHkE156nyz5Ml0hpsNeCZlRS17oKZ042aZevQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-autoscaling-common": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-autoscaling-common": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-autoscaling": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-autoscaling/-/aws-autoscaling-1.204.0.tgz",- "integrity": "sha512-LVQK84GR6U0RXfPbxZauWDCfcgBgH4bofOHx1sfr6yz7FTSYYkYM2tMJl81SmVc6ueSJzfhFtIcWhSpMBH9yig==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-autoscaling-common": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancing": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-autoscaling-common": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancing": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-autoscaling-common": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-autoscaling-common/-/aws-autoscaling-common-1.204.0.tgz",- "integrity": "sha512-P+PwbTaj28Eg9+/U9ZTXTh1gA7L9Z45GL+9xcEZvEqAkJt9MNgzZICavVZu1sMD74foK1r1ZOBXTsqV6wEiltQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-autoscaling-hooktargets": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-autoscaling-hooktargets/-/aws-autoscaling-hooktargets-1.204.0.tgz",- "integrity": "sha512-FiS2SqrBtNg4Cpf1rmJcxQwKJE6pGgzyKLnMWzHITDpYur3D3rKNuWSq2PW/60mjIfkBudcMFE1GIdgBxZNeUQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-autoscaling": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sns-subscriptions": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-autoscaling": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sns-subscriptions": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-certificatemanager": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-certificatemanager/-/aws-certificatemanager-1.204.0.tgz",- "integrity": "sha512-ZLykfAOb5Zbg/MFtzA+eHhMAK1xL32+oHKSK6tAYrgvv2aS42wJE4zSBV6jGCjnCkhcliUd5pwnACEl3ib0KLw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-acmpca": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-acmpca": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-cloudformation": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-cloudformation/-/aws-cloudformation-1.204.0.tgz",- "integrity": "sha512-9PkZa9mKLneB0My8wJC7lLZmPJsnOxNYy57ZZlRCQhK0eO6Jc9eVqrI29537W+3ireaEjCLEitkb8NO1FN/kQA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-cloudfront": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-cloudfront/-/aws-cloudfront-1.204.0.tgz",- "integrity": "sha512-bgqGsImVjFQJihDvLg0hWRtmq2b+HVj94Fngz/zo4PsB5kTt1QZvHOk2HNBkozNhDK8LXysHtdKvmzpaK29TJQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-ssm": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-ssm": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-cloudwatch": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-cloudwatch/-/aws-cloudwatch-1.204.0.tgz",- "integrity": "sha512-ADT2D+4FtB9Zcy/TlF2tswQmjmrPVgORYTkznQQ2SniCODHWzz558+G1RV+IVvWRdH7nYQtV0UEuGZKpffWh2w==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-cloudwatch-actions": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-cloudwatch-actions/-/aws-cloudwatch-actions-1.204.0.tgz",- "integrity": "sha512-Hm8Ux44H1q2ENfhYXrDzZ3aYUY2w21hLDjpoGzyk0qPXAKnHSyDt6dqa4B7/iu5mvVzr7WQnc2bhYbz0hsSEdg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-applicationautoscaling": "1.204.0",- "@aws-cdk/aws-autoscaling": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-applicationautoscaling": "1.204.0",- "@aws-cdk/aws-autoscaling": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-codeguruprofiler": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-codeguruprofiler/-/aws-codeguruprofiler-1.204.0.tgz",- "integrity": "sha512-IrgY4SmVf9p5POfHm8BsPzaAO5lQTG7nhb5qN5AzS6zKCTuEjjTNHjx1TOfPV12mMIDAIVsK91mjDlAR88Mjbg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-codestarnotifications": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-codestarnotifications/-/aws-codestarnotifications-1.204.0.tgz",- "integrity": "sha512-t//hSpC5/uVW2321YlbGabNVzhWayvqz+xSnagADGcT9qiq3KQR/uUlrgpHv1/eHRMk7EMrY9prlXeZpfzZ+cw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-cognito": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-cognito/-/aws-cognito-1.204.0.tgz",- "integrity": "sha512-7QIbExW9dn1fktpDOh2nMHmor2S3uuHtIX5y33lc9OKg3xUuYw4AZ67MKapunN7QUBlffTlNzoUqlHoNSab+Zg==",- "bundleDependencies": [- "punycode"- ],- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/custom-resources": "1.204.0",- "constructs": "^3.3.69",- "punycode": "^2.3.0"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/custom-resources": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-cognito/node_modules/punycode": {- "version": "2.3.0",- "inBundle": true,- "license": "MIT",- "engines": {- "node": ">=6"- }- },- "node_modules/@aws-cdk/aws-ec2": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-ec2/-/aws-ec2-1.204.0.tgz",- "integrity": "sha512-SoqZEgzdfPW0aa+FQ0CjzbDG+X+sDu6/BnLL2O10lxpa+9Dc1iyArAqNKFJG5KXGJe9ibvQXyNQqEjeGRFc22Q==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-ssm": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-ssm": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-ecr": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-ecr/-/aws-ecr-1.204.0.tgz",- "integrity": "sha512-oCts9e+ackWoFHeyn/3oKm3X1lSizleWNNXHp5WGM38lpNVrtCLMKSShu5iXJBhqRH2Mz1AcA4fDMWhe8DvJFA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-ecr-assets": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-ecr-assets/-/aws-ecr-assets-1.204.0.tgz",- "integrity": "sha512-2GHD3pZdDoPxq3HhD4czANuI7TMoxpjszbzsQAc2wbdMX1j+K4vIL+PBpj3altfscPqcvy1v70lBjbG5rcBIkQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/assets": "1.204.0",- "@aws-cdk/aws-ecr": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/assets": "1.204.0",- "@aws-cdk/aws-ecr": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-ecs": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-ecs/-/aws-ecs-1.204.0.tgz",- "integrity": "sha512-YhGkLMyjK2e+czTLBlMU/B2kj2DXnIT3+uoLqJ5Go0XeRbeXO2d/D0WdYSBaXWr7oBGpg37oPjpPLbswId7ZTw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-applicationautoscaling": "1.204.0",- "@aws-cdk/aws-autoscaling": "1.204.0",- "@aws-cdk/aws-autoscaling-hooktargets": "1.204.0",- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-ecr": "1.204.0",- "@aws-cdk/aws-ecr-assets": "1.204.0",- "@aws-cdk/aws-elasticloadbalancing": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/aws-route53-targets": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-secretsmanager": "1.204.0",- "@aws-cdk/aws-servicediscovery": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/aws-ssm": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-applicationautoscaling": "1.204.0",- "@aws-cdk/aws-autoscaling": "1.204.0",- "@aws-cdk/aws-autoscaling-hooktargets": "1.204.0",- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-ecr": "1.204.0",- "@aws-cdk/aws-ecr-assets": "1.204.0",- "@aws-cdk/aws-elasticloadbalancing": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/aws-route53-targets": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-secretsmanager": "1.204.0",- "@aws-cdk/aws-servicediscovery": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/aws-ssm": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-efs": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-efs/-/aws-efs-1.204.0.tgz",- "integrity": "sha512-FB6nHgCuzYF5K9ywqYPEPjL2G1ATLIR9dJp1p4ydcEUuXDb4KSEVN4Bgx+q1e7EkWGIq+9glr+ckheEcTvETgw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-elasticloadbalancing": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-elasticloadbalancing/-/aws-elasticloadbalancing-1.204.0.tgz",- "integrity": "sha512-DhC6hrWqi6EaRLcDBAVrE+/iGa+WUUtLla4oqkLVj/C76VcM1CkCyH/9IX8O1CK0NswtC6AxOF3+z4uroTUWDg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-elasticloadbalancingv2": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-elasticloadbalancingv2/-/aws-elasticloadbalancingv2-1.204.0.tgz",- "integrity": "sha512-/43kzUTU3w9jimPuD5QZxoBN74+9QnOdhAcqIMVCFLPMkVLAxx3vg5g5MWWG+3j6rUoSecrtrP1AP7thZuo5wA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-certificatemanager": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-events": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-events/-/aws-events-1.204.0.tgz",- "integrity": "sha512-KnfUmtv+4RhydD9+5CHFxNJxtgn7+Xftwfwg1G7qV/tWYPFHcNIvhlSOgwDrQPa+pTo1MmkiUN0lAR0G8B/cbw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-globalaccelerator": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-globalaccelerator/-/aws-globalaccelerator-1.204.0.tgz",- "integrity": "sha512-B92vKAncsGV2wxcbHeg230EZibSuzianVu3z0CDVS2EQnQ1A68Ff75JWPFGGnfiJrSnKN/pvzrDKV5Z45bhm4Q==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/custom-resources": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/custom-resources": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-iam": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-iam/-/aws-iam-1.204.0.tgz",- "integrity": "sha512-Fh2egW3v/uDdw3m4jvcupS7COL/+sJl2NHjz9l298ddyMxqDwJD2NQwE8mvgPLK4rDtAtDnE0c8RS6d+NWiC+w==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/core": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-kms": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-kms/-/aws-kms-1.204.0.tgz",- "integrity": "sha512-iryZQ428L1VUVQ0zE96XTWWX7ANVtDrb6x+ZXXLTVUEPgjEd/W6zlcp++Qi0A3a9HLNd4PbEhK9rs0UKNTylzw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-lambda": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-lambda/-/aws-lambda-1.204.0.tgz",- "integrity": "sha512-r0XXovrLAx8Q8Fz915SwzyQM/KLhEB6YCp3CsWliFGSOHEjRP8yX8UZdEJqe5kYD7Th9JAhUVzKgyv20P7g5Tg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-applicationautoscaling": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-codeguruprofiler": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-ecr": "1.204.0",- "@aws-cdk/aws-ecr-assets": "1.204.0",- "@aws-cdk/aws-efs": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-signer": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-applicationautoscaling": "1.204.0",- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-codeguruprofiler": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-ecr": "1.204.0",- "@aws-cdk/aws-ecr-assets": "1.204.0",- "@aws-cdk/aws-efs": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/aws-signer": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-logs": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-logs/-/aws-logs-1.204.0.tgz",- "integrity": "sha512-PuHsDSkX6JFBgldxViGw91eFLageJ2cX89/RyLbWaJJUV4tlUKXSmmkVgOaBmvil0QKuGqbOzLXcXCoIK9Sg3A==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-s3-assets": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-rds": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-rds/-/aws-rds-1.204.0.tgz",- "integrity": "sha512-2zNnLS7DUAWKtwG5m09qTSbFO8Ylxd0dtat1xEDmqb+QnTLPnODTELp75JMjietb9Zye1LMjFxr6x07Ublq1cg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-secretsmanager": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/aws-secretsmanager": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-route53": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-route53/-/aws-route53-1.204.0.tgz",- "integrity": "sha512-wQpGUXqc2y7yJFTipfuVxWy/VGeshyGlfGl4evusQK9Md0DMpVmG8kRgazLk1myqUSNSfi643UwvDJqNbYmdnA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/custom-resources": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/custom-resources": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-route53-targets": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-route53-targets/-/aws-route53-targets-1.204.0.tgz",- "integrity": "sha512-JyILJz/HGRMilpFxrDk/VXv+TN24DoG5Gfdfh8SJoJpptokowN8blaQ2ibf6N0JnFqWSBrs7gMMWB2dR/sXoTQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-apigateway": "1.204.0",- "@aws-cdk/aws-cloudfront": "1.204.0",- "@aws-cdk/aws-cognito": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancing": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-globalaccelerator": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-apigateway": "1.204.0",- "@aws-cdk/aws-cloudfront": "1.204.0",- "@aws-cdk/aws-cognito": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancing": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-globalaccelerator": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-s3": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-s3/-/aws-s3-1.204.0.tgz",- "integrity": "sha512-jsQ4n1L4MdPYDirBoOYgg7yzSk1TaFYo4dnwDlKiLJ5LcHG3Nai1cHb9XQbCy/9KKqbWsbd3WlkH+vcWEl8EUA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-s3-assets": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-s3-assets/-/aws-s3-assets-1.204.0.tgz",- "integrity": "sha512-3MQbVZ95wW29Bl63tqu0Bz0td3osLyGg352l5G7Ztf3nK35FpuQlgxO4kcu74+s2sRwdd/R4KFV6eWhhPk+J7g==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/assets": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/assets": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-sam": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-sam/-/aws-sam-1.204.0.tgz",- "integrity": "sha512-8M3e1ZT6/nO6Yxtr7YtcrTF5YG6kjw8PcnOjda0SfUFo8Xya7oi1OZvDRIfAeOexsIgqjKSV8s7brDrWM5DIpg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-secretsmanager": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-secretsmanager/-/aws-secretsmanager-1.204.0.tgz",- "integrity": "sha512-ykpjYmP6qVOFbHtkaQBu3Xk7xp2UTR0ouzk7pb+zrEHKGmRvzGq+8J0IU+qXBJgQIVwFAPf2IgOSTzj6FJPdyA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-sam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-sam": "1.204.0",- "@aws-cdk/core": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-servicediscovery": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-servicediscovery/-/aws-servicediscovery-1.204.0.tgz",- "integrity": "sha512-K1ckza6oAj3DntEAYmolm2JafkxJ0ekWb+DCl9hkm9l+546j28Qpb4cm8VkgGteNBN4JYACxrIuIxVC2zBLsCg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-elasticloadbalancingv2": "1.204.0",- "@aws-cdk/aws-route53": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-ses": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-ses/-/aws-ses-1.204.0.tgz",- "integrity": "sha512-3v8s1FGpqAWevW3t92UaUmPHGBOo59cVCELPFwVPlADV0/peI2N+xcHTHTWCyYSqk8uA7lCWAw8wGpLT087EWA==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-signer": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-signer/-/aws-signer-1.204.0.tgz",- "integrity": "sha512-AI26FhWF3+f/vDh3mleQa2CXv2/CmSerXgyk4XHMVVTTCjnlYGGmHmGlzYhqOSw6ALpQNdOSw8GVxU/ySpQCaw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-sns": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-sns/-/aws-sns-1.204.0.tgz",- "integrity": "sha512-KoWxqKT/dTjt9Pk0a3kJLcd6xZHvrwbZDC0mrLtxdRNhQoHmnURAHW2UqX/lefrCU1GcUFf4L58N9ehBTunAFQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-codestarnotifications": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-codestarnotifications": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-sns-subscriptions": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-sns-subscriptions/-/aws-sns-subscriptions-1.204.0.tgz",- "integrity": "sha512-yi78Kp0fV2nL7LnxL9ot8wbhGVYsL/ZeIzi6m2+iRZCgW1V+nO/a/eXdk5mMpBGLCqOtWcG59sIpSjqHvgpdaQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/aws-sqs": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-sqs": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-sqs/-/aws-sqs-1.204.0.tgz",- "integrity": "sha512-dVzuGMh6d5/X9P9jel1w2Wgdy5MuSE35+eBSFxN+S7oJRoVSARpyKMNYAPMCW+2OJCDw7fIqO1rWbsZBT1Gq8g==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-ssm": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-ssm/-/aws-ssm-1.204.0.tgz",- "integrity": "sha512-yYx7HZ8cWNXDAmX/99WkB477QhLoV2rcB8orei8aj7nRkNq5TMjeox0IJaZVgU+edNEDOi1fVX3flh0SAMiUrg==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-kms": "1.204.0",- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/aws-stepfunctions": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/aws-stepfunctions/-/aws-stepfunctions-1.204.0.tgz",- "integrity": "sha512-S8yuB5GtUajOxUcoMw82HQ+ei1U9uofwENEnEtYTeyqgjpd0FG4XHYoHvBdmgVvEKwpH/XiOePfEHeB8nTXufw==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudwatch": "1.204.0",- "@aws-cdk/aws-events": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-s3": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/cloud-assembly-schema": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/cloud-assembly-schema/-/cloud-assembly-schema-1.204.0.tgz",- "integrity": "sha512-DMNSR4DNKMNNfhOq1UizwZvesOKdhk3R3gRigrvWBHIkHMQg+W6aZFl7WZLKSBkChAXhIsH///psjhDQ20gl1w==",- "bundleDependencies": [- "jsonschema",- "semver"- ],- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "jsonschema": "^1.4.1",- "semver": "^7.3.8"- },- "engines": {- "node": ">= 14.15.0"- }- },- "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/jsonschema": {- "version": "1.4.1",- "inBundle": true,- "license": "MIT",- "engines": {- "node": "*"- }- },- "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/lru-cache": {- "version": "6.0.0",- "inBundle": true,- "license": "ISC",- "dependencies": {- "yallist": "^4.0.0"- },- "engines": {- "node": ">=10"- }- },- "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver": {- "version": "7.3.8",- "inBundle": true,- "license": "ISC",- "dependencies": {- "lru-cache": "^6.0.0"- },- "bin": {- "semver": "bin/semver.js"- },- "engines": {- "node": ">=10"- }- },- "node_modules/@aws-cdk/cloud-assembly-schema/node_modules/yallist": {- "version": "4.0.0",- "inBundle": true,- "license": "ISC"- },- "node_modules/@aws-cdk/core": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/core/-/core-1.204.0.tgz",- "integrity": "sha512-yO/flJ9ihpzRhLTEqlbdbuPGtyyghHiiQPkUTLslwUM5vThVTbpgvW4UQHSGqytyst4MYXrN2jQn2RkwIRU57g==",- "bundleDependencies": [- "fs-extra",- "minimatch",- "@balena/dockerignore",- "ignore"- ],- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "@balena/dockerignore": "^1.0.2",- "constructs": "^3.3.69",- "fs-extra": "^9.1.0",- "ignore": "^5.2.4",- "minimatch": "^3.1.2"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "@aws-cdk/cx-api": "1.204.0",- "@aws-cdk/region-info": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/core/node_modules/@balena/dockerignore": {- "version": "1.0.2",- "inBundle": true,- "license": "Apache-2.0"- },- "node_modules/@aws-cdk/core/node_modules/at-least-node": {- "version": "1.0.0",- "inBundle": true,- "license": "ISC",- "engines": {- "node": ">= 4.0.0"- }- },- "node_modules/@aws-cdk/core/node_modules/balanced-match": {- "version": "1.0.2",- "inBundle": true,- "license": "MIT"- },- "node_modules/@aws-cdk/core/node_modules/brace-expansion": {- "version": "1.1.11",- "inBundle": true,- "license": "MIT",- "dependencies": {- "balanced-match": "^1.0.0",- "concat-map": "0.0.1"- }- },- "node_modules/@aws-cdk/core/node_modules/concat-map": {- "version": "0.0.1",- "inBundle": true,- "license": "MIT"- },- "node_modules/@aws-cdk/core/node_modules/fs-extra": {- "version": "9.1.0",- "inBundle": true,- "license": "MIT",- "dependencies": {- "at-least-node": "^1.0.0",- "graceful-fs": "^4.2.0",- "jsonfile": "^6.0.1",- "universalify": "^2.0.0"- },- "engines": {- "node": ">=10"- }- },- "node_modules/@aws-cdk/core/node_modules/graceful-fs": {- "version": "4.2.10",- "inBundle": true,- "license": "ISC"- },- "node_modules/@aws-cdk/core/node_modules/ignore": {- "version": "5.2.4",- "inBundle": true,- "license": "MIT",- "engines": {- "node": ">= 4"- }- },- "node_modules/@aws-cdk/core/node_modules/jsonfile": {- "version": "6.1.0",- "inBundle": true,- "license": "MIT",- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/@aws-cdk/core/node_modules/minimatch": {- "version": "3.1.2",- "inBundle": true,- "license": "ISC",- "dependencies": {- "brace-expansion": "^1.1.7"- },- "engines": {- "node": "*"- }- },- "node_modules/@aws-cdk/core/node_modules/universalify": {- "version": "2.0.0",- "inBundle": true,- "license": "MIT",- "engines": {- "node": ">= 10.0.0"- }- },- "node_modules/@aws-cdk/custom-resources": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/custom-resources/-/custom-resources-1.204.0.tgz",- "integrity": "sha512-0w3oi7LnAtMZpf7uUBDH6aT2Oo1EBQrqD+VTvPZDX8PJFAox8ol7buZ9sSTpIXgv9j/GK9yaPTIHt4m8ok9kVQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/aws-cloudformation": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/aws-cloudformation": "1.204.0",- "@aws-cdk/aws-ec2": "1.204.0",- "@aws-cdk/aws-iam": "1.204.0",- "@aws-cdk/aws-lambda": "1.204.0",- "@aws-cdk/aws-logs": "1.204.0",- "@aws-cdk/aws-sns": "1.204.0",- "@aws-cdk/core": "1.204.0",- "constructs": "^3.3.69"- }- },- "node_modules/@aws-cdk/cx-api": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/cx-api/-/cx-api-1.204.0.tgz",- "integrity": "sha512-Juh/jL1kFPD5JcI9Uu6X0mM2L6hBCN5grdjSS40F8dThbH25VPzFBejaKjiy5nP1UZB83X+HW3utYOEi97DqxA==",- "bundleDependencies": [- "semver"- ],- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "dependencies": {- "@aws-cdk/cloud-assembly-schema": "1.204.0",- "semver": "^7.3.8"- },- "engines": {- "node": ">= 14.15.0"- },- "peerDependencies": {- "@aws-cdk/cloud-assembly-schema": "1.204.0"- }- },- "node_modules/@aws-cdk/cx-api/node_modules/lru-cache": {- "version": "6.0.0",- "inBundle": true,- "license": "ISC",- "dependencies": {- "yallist": "^4.0.0"- },- "engines": {- "node": ">=10"- }- },- "node_modules/@aws-cdk/cx-api/node_modules/semver": {- "version": "7.3.8",- "inBundle": true,- "license": "ISC",- "dependencies": {- "lru-cache": "^6.0.0"- },- "bin": {- "semver": "bin/semver.js"- },- "engines": {- "node": ">=10"- }- },- "node_modules/@aws-cdk/cx-api/node_modules/yallist": {- "version": "4.0.0",- "inBundle": true,- "license": "ISC"- },- "node_modules/@aws-cdk/region-info": {- "version": "1.204.0",- "resolved": "https://registry.npmjs.org/@aws-cdk/region-info/-/region-info-1.204.0.tgz",- "integrity": "sha512-lPkYJNoN4Gjlf0Fdfgcd1RTm5RD9qtfaFMwVvTn2KGTr7ZqmFskGQ9FqIcd5vd6GmsbAL8OrFOToLr1AHDuOiQ==",- "deprecated": "AWS CDK v1 has reached End-of-Support on 2023-06-01.\nThis package is no longer being updated, and users should migrate to AWS CDK v2.\n\nFor more information on how to migrate, see https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html",- "engines": {- "node": ">= 14.15.0"- }- },- "node_modules/@types/node": {- "version": "20.11.10",- "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.10.tgz",- "integrity": "sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg==",- "dev": true,- "dependencies": {- "undici-types": "~5.26.4"- }- },- "node_modules/@types/uuid": {- "version": "9.0.7",- "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.7.tgz",- "integrity": "sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==",- "dev": true- },- "node_modules/aws-cdk": {- "version": "2.122.0",- "resolved": "https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.122.0.tgz",- "integrity": "sha512-WqiVTedcuW4LjH4WqtQncliUdeDa9j9xgu3II8Qd1HmCZotbzBorYIHDvOJ+m3ovIzd9DL+hNq9PPUqxtBe0VQ==",- "dev": true,- "bin": {- "cdk": "bin/cdk"- },- "engines": {- "node": ">= 14.15.0"- },- "optionalDependencies": {- "fsevents": "2.3.2"- }- },- "node_modules/constructs": {- "version": "3.4.344",- "resolved": "https://registry.npmjs.org/constructs/-/constructs-3.4.344.tgz",- "integrity": "sha512-Qq3upn44oGdvgasHUKWVFsrynyYrtVRd9fd8ko9cJOrFzx9eCm3iI4bhBryQqaISdausbTYUOXmoEe/YSJ16Nw==",- "engines": {- "node": ">= 16.14.0"- }- },- "node_modules/fsevents": {- "version": "2.3.2",- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",- "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",- "dev": true,- "hasInstallScript": true,- "optional": true,- "os": [- "darwin"- ],- "engines": {- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"- }- },- "node_modules/typescript": {- "version": "5.3.3",- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",- "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",- "dev": true,- "bin": {- "tsc": "bin/tsc",- "tsserver": "bin/tsserver"- },- "engines": {- "node": ">=14.17"- }- },- "node_modules/undici-types": {- "version": "5.26.5",- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz",- "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==",- "dev": true- },- "node_modules/uuid": {- "version": "9.0.1",- "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",- "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",- "funding": [- "https://github.com/sponsors/broofa",- "https://github.com/sponsors/ctavan"- ],- "bin": {- "uuid": "dist/bin/uuid"- }- }- }-}diff --git a/infra/package.json b/infra/package.jsondeleted file mode 100644index edfa7007..00000000--- a/infra/package.json+++ /dev/null@@ -1,29 +0,0 @@-{- "name": "aws-infra",- "version": "1.0.0",- "private": true,- "dependencies": {- "@aws-cdk/aws-certificatemanager": "^1.204.0",- "@aws-cdk/aws-cloudwatch-actions": "^1.204.0",- "@aws-cdk/aws-ec2": "^1.203.0",- "@aws-cdk/aws-ecr": "^1.203.0",- "@aws-cdk/aws-ecs": "^1.203.0",- "@aws-cdk/aws-efs": "^1.203.0",- "@aws-cdk/aws-rds": "^1.203.0",- "@aws-cdk/aws-secretsmanager": "^1.203.0",- "@aws-cdk/aws-ses": "^1.203.0",- "@aws-cdk/core": "^1.203.0",- "uuid": "^9.0.1"- },- "devDependencies": {- "@types/node": "^20.11.10",- "@types/uuid": "^9.0.7",- "aws-cdk": "^2.122.0",- "typescript": "^5.3.3"- },- "scripts": {- "build": "tsc",- "watch": "tsc -w",- "cdk": "cdk"- }-}diff --git a/infra/src/main.ts b/infra/src/main.tsdeleted file mode 100644index 525be575..00000000--- a/infra/src/main.ts+++ /dev/null@@ -1,461 +0,0 @@-import * as sns from "@aws-cdk/aws-sns";-import * as subscriptions from "@aws-cdk/aws-sns-subscriptions";-import * as cdk from "@aws-cdk/core";-import * as ec2 from "@aws-cdk/aws-ec2";-import * as rds from "@aws-cdk/aws-rds";-import * as secretsmanager from "@aws-cdk/aws-secretsmanager";-import * as ecs from "@aws-cdk/aws-ecs";-import * as ecr from "@aws-cdk/aws-ecr";-import * as efs from "@aws-cdk/aws-efs";-import * as elbv2 from "@aws-cdk/aws-elasticloadbalancingv2";-import * as iam from "@aws-cdk/aws-iam";-import * as acm from "@aws-cdk/aws-certificatemanager";-import * as cloudwatch from "@aws-cdk/aws-cloudwatch";-import * as cloudwatchActions from "@aws-cdk/aws-cloudwatch-actions";--const tag = process.env.STACK_TAG;-const notifyEmail = process.env.NOTIFY_EMAIL;-const notifySms = process.env.NOTIFY_SMS;-const certificateArn = process.env.CERTIFICATE_ARN;-const imageTag = process.env.IMAGE_TAG;--export class PlandexStack extends cdk.Stack {- constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {- if (!tag) {- throw new Error("STACK_TAG environment variable is not set");- }- if (!notifyEmail) {- throw new Error("NOTIFY_EMAIL environment variable is not set");- }- if (!notifySms) {- throw new Error("NOTIFY_SMS environment variable is not set");- }- if (!certificateArn) {- throw new Error("CERTIFICATE_ARN environment variable is not set");- }- if (!imageTag) {- throw new Error("IMAGE_TAG environment variable is not set");- }-- super(scope, id, props);-- // Create a VPC with one public and one private subnet- console.log("Creating VPC...");- const vpc = new ec2.Vpc(this, `plandex-vpc-${tag}`, {- maxAzs: 2,- subnetConfiguration: [- {- cidrMask: 24,- name: "PublicSubnet",- subnetType: ec2.SubnetType.PUBLIC,- },- {- cidrMask: 24,- name: "PrivateSubnet",- subnetType: ec2.SubnetType.PRIVATE_ISOLATED,- },- ],- });-- const rdsSecurityGroup = new ec2.SecurityGroup(this, "RdsSecurityGroup", {- vpc,- description: "Security group for RDS instance",- });-- const efsSecurityGroup = new ec2.SecurityGroup(- this,- `plandex-efs-sg-${tag}`,- {- vpc,- }- );-- const fargateServiceSecurityGroup = new ec2.SecurityGroup(- this,- `plandex-fargate-service-sg-${tag}`,- {- vpc,- allowAllOutbound: true, // Allows the containers to access the internet- }- );-- const albSecurityGroup = new ec2.SecurityGroup(this, "AlbSecurityGroup", {- vpc,- description: "Security group for the ALB",- });-- // RDS security group rules- fargateServiceSecurityGroup.addEgressRule(- rdsSecurityGroup,- ec2.Port.tcp(5432),- "Allow outbound traffic from Fargate service to RDS instance"- );-- rdsSecurityGroup.addIngressRule(- fargateServiceSecurityGroup,- ec2.Port.tcp(5432),- "Allow Fargate service to access RDS instance"- );-- // EFS security group rules- efsSecurityGroup.addIngressRule(- fargateServiceSecurityGroup,- ec2.Port.tcp(2049),- "Allow inbound NFS traffic to EFS from Fargate service"- );-- fargateServiceSecurityGroup.addEgressRule(- ec2.Peer.ipv4(vpc.vpcCidrBlock),- ec2.Port.tcp(2049),- "Allow outbound NFS traffic to EFS"- );-- // ALB security group rules- // Allow inbound HTTP and HTTPS traffic- albSecurityGroup.addIngressRule(- ec2.Peer.anyIpv4(),- ec2.Port.tcp(80),- "Allow inbound HTTP traffic"- );- albSecurityGroup.addIngressRule(- ec2.Peer.anyIpv4(),- ec2.Port.tcp(443),- "Allow inbound HTTPS traffic"- );- // Allow traffic from the alb to the fargate service- fargateServiceSecurityGroup.addIngressRule(- albSecurityGroup,- ec2.Port.tcp(8080),- "Allow inbound traffic from ALB"- );-- // Create a Secrets Manager secret to store the RDS database credentials- const dbCredentialsSecret = new secretsmanager.Secret(- this,- `plandex-db-credentials-secret-${tag}`,- {- generateSecretString: {- secretStringTemplate: JSON.stringify({ username: "dbadmin" }),- generateStringKey: "password",- excludeCharacters: '"@/\\',- },- }- );-- // Create an RDS Aurora PostgreSQL database- console.log("Creating RDS instance...");- const dbInstance = new rds.DatabaseInstance(- this,- `plandex-rds-instance-${tag}`,- {- engine: rds.DatabaseInstanceEngine.postgres({- version: rds.PostgresEngineVersion.VER_14,- }),- storageEncrypted: true,- instanceType: ec2.InstanceType.of(- ec2.InstanceClass.BURSTABLE4_GRAVITON,- ec2.InstanceSize.MICRO- ),- vpc,- vpcSubnets: {- subnetType: ec2.SubnetType.PRIVATE_ISOLATED,- },- securityGroups: [rdsSecurityGroup],- credentials: rds.Credentials.fromSecret(dbCredentialsSecret), // Use credentials from Secrets Manager- databaseName: "plandex",- }- );-- // Get the ECR repository- const ecrRepository = ecr.Repository.fromRepositoryName(- this,- "PlandexEcrRepository",- "plandex-ecr-repository"- );-- // Create an ECS cluster- console.log("Creating ECS cluster...");- const ecsCluster = new ecs.Cluster(this, `plandex-ecs-cluster-${tag}`, {- vpc,- });-- // Create an EFS file system- const fileSystem = new efs.FileSystem(- this,- `plandex-efs-file-system-${tag}`,- {- vpc,- securityGroup: efsSecurityGroup,- vpcSubnets: {- subnetType: ec2.SubnetType.PRIVATE_ISOLATED, // Deploy the file system in private subnets- },- encrypted: true,- enableAutomaticBackups: true,- }- );-- // Create an IAM role for the Fargate task to interact with SES- const taskRole = new iam.Role(this, `plandex-task-role-${tag}`, {- assumedBy: new iam.ServicePrincipal("ecs-tasks.amazonaws.com"),- managedPolicies: [- iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonSESFullAccess"), // Ensure this policy allows sending emails- ],- });-- const taskExecutionRole = new iam.Role(this, "TaskExecutionRole", {- assumedBy: new iam.ServicePrincipal("ecs-tasks.amazonaws.com"),- managedPolicies: [- iam.ManagedPolicy.fromAwsManagedPolicyName(- "service-role/AmazonECSTaskExecutionRolePolicy"- ),- iam.ManagedPolicy.fromAwsManagedPolicyName(- "AmazonElasticFileSystemClientReadWriteAccess"- ),- ],- });- dbCredentialsSecret.grantRead(taskExecutionRole);-- // Create a Fargate task definition with EFS volume- const taskDefinition = new ecs.FargateTaskDefinition(- this,- `plandex-task-definition-${tag}`,- {- memoryLimitMiB: 512,- cpu: 256,- taskRole,- executionRole: taskExecutionRole,- }- );-- // Add a container to the task definition- const container = taskDefinition.addContainer("plandex-server", {- healthCheck: {- command: [- "CMD-SHELL",- "curl -f http://localhost:8080/health || exit 1",- ],- interval: cdk.Duration.seconds(30),- timeout: cdk.Duration.seconds(5),- retries: 3,- startPeriod: cdk.Duration.seconds(60),- },- image: ecs.ContainerImage.fromEcrRepository(ecrRepository, imageTag),- logging: new ecs.AwsLogDriver({ streamPrefix: "plandex-server" }),- environment: {- // give time for streams to finish before container is stopped- ECS_CONTAINER_STOP_TIMEOUT: "60m",- DB_HOST: dbInstance.dbInstanceEndpointAddress,- DB_PORT: dbInstance.dbInstanceEndpointPort,- DB_NAME: "plandex",- DB_USER: "dbadmin",- GOENV: "production",- IS_CLOUD: "1",- },- secrets: {- DB_PASSWORD: ecs.Secret.fromSecretsManager(- dbCredentialsSecret,- "password"- ),- },- portMappings: [- {- containerPort: 8080,- hostPort: 8080,- protocol: ecs.Protocol.TCP,- },- ],- });-- // Mount the EFS file system to the container- const volumeName = "plandex-efs-volume";- taskDefinition.addVolume({- name: volumeName,- efsVolumeConfiguration: {- fileSystemId: fileSystem.fileSystemId,- },- });- container.addMountPoints({- sourceVolume: volumeName,- containerPath: "/plandex-server",- readOnly: false,- });-- const fargateService = new ecs.FargateService(- this,- `plandex-fargate-service-${tag}`,- {- cluster: ecsCluster,- taskDefinition,- desiredCount: 1,- securityGroups: [fargateServiceSecurityGroup],- vpcSubnets: {- subnetType: ec2.SubnetType.PUBLIC, // Deploy tasks in public subnets- },- assignPublicIp: true, // Assign public IP addresses to tasks for outbound internet access- }- );-- // Define the scaling target- const scaling = fargateService.autoScaleTaskCount({- minCapacity: 1,- maxCapacity: 10,- });-- // Define the CPU-based scaling policy- scaling.scaleOnCpuUtilization("CpuScaling", {- targetUtilizationPercent: 50,- scaleInCooldown: cdk.Duration.seconds(300),- scaleOutCooldown: cdk.Duration.seconds(300),- });-- // Define the memory-based scaling policy- scaling.scaleOnMemoryUtilization("MemoryScaling", {- targetUtilizationPercent: 50,- scaleInCooldown: cdk.Duration.seconds(300),- scaleOutCooldown: cdk.Duration.seconds(300),- });- this,- `plandex-fargate-service-${tag}`,- {- cluster: ecsCluster,- taskDefinition,- desiredCount: 1,- securityGroups: [fargateServiceSecurityGroup],- };-- // Create an Application Load Balancer in the VPC- const alb = new elbv2.ApplicationLoadBalancer(this, `plandex-alb-${tag}`, {- vpc,- internetFacing: true,- securityGroup: albSecurityGroup,- vpcSubnets: {- subnetType: ec2.SubnetType.PUBLIC,- },- });-- // Create an HTTP listener and add a redirect to HTTPS- const httpListener = alb.addListener("HttpListener", {- port: 80,- open: true,- });- httpListener.addRedirectResponse("HTTPtoHTTPSRedirect", {- statusCode: "HTTP_301",- protocol: "HTTPS",- port: "443",- host: "#{host}",- path: "/#{path}",- query: "#{query}",- });-- // Create an HTTPS listener- const httpsListener = alb.addListener("HttpsListener", {- port: 443,- certificates: [- acm.Certificate.fromCertificateArn(this, "Certificate", certificateArn),- ],- });-- // Add a target group for the ECS service to the HTTPS listener- const targetGroup = httpsListener.addTargets("plandexEcsTarget", {- healthCheck: {- path: "/health",- port: "8080",- protocol: elbv2.Protocol.HTTP,- healthyHttpCodes: "200",- interval: cdk.Duration.seconds(30),- timeout: cdk.Duration.seconds(5),- healthyThresholdCount: 2,- unhealthyThresholdCount: 3,- },- port: 8080,- targets: [fargateService],- });-- // Create CloudWatch alarms for high CPU and memory utilization- const alarmNotificationTopic = new sns.Topic(- this,- "AlarmNotificationTopic",- {- displayName: "Alarm Notifications",- }- );-- alarmNotificationTopic.addSubscription(- new subscriptions.EmailSubscription(notifyEmail)- );- alarmNotificationTopic.addSubscription(- new subscriptions.SmsSubscription(notifySms)- );-- const dbInstanceCpuUtilizationAlarm = new cloudwatch.Alarm(- this,- "HighDbCpuUtilizationAlarm",- {- metric: dbInstance.metricCPUUtilization(),- threshold: 80,- evaluationPeriods: 2,- alarmDescription: "Alarm when RDS CPU utilization exceeds 80%",- comparisonOperator:- cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,- treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,- }- );- dbInstanceCpuUtilizationAlarm.addAlarmAction(- new cloudwatchActions.SnsAction(alarmNotificationTopic)- );-- const dbInstanceFreeableMemoryAlarm = new cloudwatch.Alarm(- this,- "LowDbFreeableMemoryAlarm",- {- metric: dbInstance.metricFreeableMemory(),- threshold: 200 * 1024 * 1024, // Threshold in bytes (e.g., 200MB)- evaluationPeriods: 2,- alarmDescription: "Alarm when RDS freeable memory is too low",- comparisonOperator: cloudwatch.ComparisonOperator.LESS_THAN_THRESHOLD,- treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,- }- );- dbInstanceFreeableMemoryAlarm.addAlarmAction(- new cloudwatchActions.SnsAction(alarmNotificationTopic)- );-- const fargateServiceCpuUtilizationAlarm = new cloudwatch.Alarm(- this,- "HighFargateCpuUtilizationAlarm",- {- metric: fargateService.metricCpuUtilization(),- threshold: 80,- evaluationPeriods: 2,- alarmDescription: "Alarm when Fargate CPU utilization exceeds 80%",- comparisonOperator:- cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,- treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,- }- );- fargateServiceCpuUtilizationAlarm.addAlarmAction(- new cloudwatchActions.SnsAction(alarmNotificationTopic)- );-- const fargateServiceMemoryUtilizationAlarm = new cloudwatch.Alarm(- this,- "HighFargateMemoryUtilizationAlarm",- {- metric: fargateService.metricMemoryUtilization(),- threshold: 80,- evaluationPeriods: 2,- alarmDescription: "Alarm when Fargate memory utilization exceeds 80%",- comparisonOperator:- cloudwatch.ComparisonOperator.GREATER_THAN_THRESHOLD,- treatMissingData: cloudwatch.TreatMissingData.NOT_BREACHING,- }- );- fargateServiceMemoryUtilizationAlarm.addAlarmAction(- new cloudwatchActions.SnsAction(alarmNotificationTopic)- );- }-}--const app = new cdk.App();--new PlandexStack(app, "plandex-stack-" + tag);diff --git a/infra/tsconfig.json b/infra/tsconfig.jsondeleted file mode 100644index 67cd6683..00000000--- a/infra/tsconfig.json+++ /dev/null@@ -1,19 +0,0 @@-{- "compilerOptions": {- "target": "ES2018",- "module": "commonjs",- "moduleResolution": "node",- "strict": true,- "esModuleInterop": true,- "skipLibCheck": true,- "forceConsistentCasingInFileNames": true,- "resolveJsonModule": true,- "outDir": "lib",- "baseUrl": "./",- "paths": {- "@/*": ["src/*"]- }- },- "include": ["src/**/*"],- "exclude": ["node_modules", "cdk.out"]-}