aws-cdk
aws-cdk copied to clipboard
api gateway lambda integration incorrectly handles allowTestInvoke
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-apigateway/lib/integrations/lambda.ts#L52
this.enableTest = options.allowTestInvoke === undefined ? true : false;
Incorrectly evaluates to false if options.allowTestInvoke is true
Reproduction Steps
new LambdaIntegration(fn, { allowTestInvoke: true})
Other
https://github.com/aws/aws-cdk/pull/7604
This is :bug: Bug Report
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.