Skip to content

Commit

Permalink
fix: Switch to stable version of apigatewayv2 constructs
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenKirschbaum committed Mar 9, 2024
1 parent 867ce7f commit 486c99c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 33 deletions.
4 changes: 2 additions & 2 deletions lib/log-redirect-stack.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as cdk from 'aws-cdk-lib';
import {Duration, Fn} from 'aws-cdk-lib';
import {Construct} from 'constructs';
import {HttpApi} from "@aws-cdk/aws-apigatewayv2-alpha";
import {HttpLambdaIntegration} from "@aws-cdk/aws-apigatewayv2-integrations-alpha";
import {HttpApi} from "aws-cdk-lib/aws-apigatewayv2";
import {HttpLambdaIntegration} from "aws-cdk-lib/aws-apigatewayv2-integrations";
import {NodejsFunction} from "aws-cdk-lib/aws-lambda-nodejs";
import {HostedZone, RecordType} from "aws-cdk-lib/aws-route53";
import {Architecture, Runtime, Tracing} from "aws-cdk-lib/aws-lambda";
Expand Down
4 changes: 2 additions & 2 deletions lib/prime-scout-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {Construct} from "constructs";
import {DnsValidatedCertificate} from "@trautonen/cdk-dns-validated-certificate";
import {HostedZone, IHostedZone, RecordType} from "aws-cdk-lib/aws-route53";
import {Role} from "aws-cdk-lib/aws-iam";
import {CorsHttpMethod, HttpApi, HttpMethod} from "@aws-cdk/aws-apigatewayv2-alpha";
import {CorsHttpMethod, HttpApi, HttpMethod} from "aws-cdk-lib/aws-apigatewayv2";
import {
AllowedMethods, CacheHeaderBehavior,
CachePolicy,
Expand All @@ -21,7 +21,7 @@ import {BucketDeployment, CacheControl, Source} from "aws-cdk-lib/aws-s3-deploym
import {NodejsFunction} from "aws-cdk-lib/aws-lambda-nodejs";
import {Architecture, Runtime, Tracing} from "aws-cdk-lib/aws-lambda";
import {RetentionDays} from "aws-cdk-lib/aws-logs";
import {HttpLambdaIntegration} from "@aws-cdk/aws-apigatewayv2-integrations-alpha";
import {HttpLambdaIntegration} from "aws-cdk-lib/aws-apigatewayv2-integrations";

export interface PrimeScoutStackProps extends cdk.StackProps {
domainName: string,
Expand Down
27 changes: 0 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
"typescript": "~5.3.0"
},
"dependencies": {
"@aws-cdk/aws-apigatewayv2-alpha": "2.114.1-alpha.0",
"@aws-cdk/aws-apigatewayv2-integrations-alpha": "2.114.1-alpha.0",
"@fallobst22/cdk-cross-account-route53": "^0.0.2",
"@trautonen/cdk-dns-validated-certificate": "0.0.46",
"aws-cdk-lib": "2.131.0",
Expand Down

0 comments on commit 486c99c

Please sign in to comment.