File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import {
2222import { RestApiGateway } from "../constructs/RestApiGateway"
2323import { LambdaFunction } from "../constructs/LambdaFunction"
2424import { LambdaEndpoint } from "../constructs/RestApiGateway/LambdaEndpoint"
25+ import { HttpMethod } from "aws-cdk-lib/aws-lambda"
2526import { PolicyStatement } from "aws-cdk-lib/aws-iam"
2627import * as cdk from "aws-cdk-lib"
2728import * as iam from "aws-cdk-lib/aws-iam"
@@ -481,7 +482,7 @@ export class EpsAssistMeStack extends Stack {
481482 new LambdaEndpoint ( this , "SlackAskEpsEndpoint" , {
482483 parentResource : slackResource ,
483484 resourceName : "ask-eps" ,
484- method : " POST" ,
485+ method : HttpMethod . POST ,
485486 restApiGatewayRole : apiGateway . role ,
486487 lambdaFunction : slackBotLambda
487488 } )
You can’t perform that action at this time.
0 commit comments