Skip to content
New issue

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

feat(apigatewayv2-authorizers): add payloadFormatVersion field to HttpLambdaAuthorizer #30843

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix(apigatewayv2-authorizers): clean up docstring for HttpLambdaAutho…
…rizer
yasamoka committed Jul 13, 2024

Verified

This commit was signed with the committer’s verified signature.
ioquatix Samuel Williams
commit a47e6a3a7d287d63ecff857e53b69f9117b78a93
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ export interface HttpLambdaAuthorizerProps {
* Note: if `responseType` is set to simple, then
* setting this property to version 1.0 is not allowed.
*
* @default - If `responseType` is not set or is set to IAM,
* @default - if `responseType` is not set or is set to IAM,
* then payload format version is set to 1.0. If `responseType`
* is set to simple, then payload format version is set to 2.0.
*/
@@ -70,8 +70,8 @@ export interface HttpLambdaAuthorizerProps {
* Note: if `payloadFormatVersion` is set to version 1.0, then
* setting this property to simple is not allowed.
*
* @default - if `payloadFormatVersion` is not set or is set
* to 1.0, then response type is set to IAM. If `payloadFormatVersion`
* @default - if `payloadFormatVersion` is not set or is set to 1.0,
* then response type is set to IAM. If `payloadFormatVersion`
* is set to 2.0, then response type is set to simple.
*/
readonly responseType?: HttpLambdaResponseType;