We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was using aws-cloudfront-apigateway-lambda pattern, and I found the default authorization type for API Gateway is IAM. I needed to change that one to NONE, but I saw that the pattern is using deprecated CDK property options. https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.LambdaRestApi.html
options
options property is still available, but since it's deprecated property, it would be better to replace options to other live properties.
Since every options properties are available in LambdaRestApiProps, it would be easy to use LambdaRestApiProps itself instead of options. https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.LambdaRestApiProps.html
LambdaRestApiProps
These are source code where options are used.
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/apigateway-defaults.ts
Lines 50 to 56 in ccf819c
Lines 64 to 70 in ccf819c
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered:
This has been addressed in the latest release v1.54.0
Sorry, something went wrong.
No branches or pull requests
I was using aws-cloudfront-apigateway-lambda pattern, and I found the default authorization type for API Gateway is IAM. I needed to change that one to NONE, but I saw that the pattern is using deprecated CDK property
options
.https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.LambdaRestApi.html
Use Case
options
property is still available, but since it's deprecated property, it would be better to replaceoptions
to other live properties.Proposed Solution
Since every
options
properties are available inLambdaRestApiProps
, it would be easy to useLambdaRestApiProps
itself instead ofoptions
.https://docs.aws.amazon.com/cdk/api/latest/docs/@aws-cdk_aws-apigateway.LambdaRestApiProps.html
Other
These are source code where
options
are used.aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/apigateway-defaults.ts
Lines 50 to 56 in ccf819c
aws-solutions-constructs/source/patterns/@aws-solutions-constructs/core/lib/apigateway-defaults.ts
Lines 64 to 70 in ccf819c
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: