Skip to content

Commit

Permalink
chore: notice for aws/aws-cdk#30444
Browse files Browse the repository at this point in the history
  • Loading branch information
moelasmar committed Jul 10, 2024
1 parent 182992b commit 4f84242
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data/notices.json
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,18 @@
}
],
"schemaVersion": "1"
},
{
"title": "(apigateway): breaking change in RestApi construct causing Authorization scopes to be null for CognitoUserPoolsAuthorizer",
"issueNumber": 30444,
"overview": "A change was added to the ApiGateway Method construct to only allow authorization scopes for cognito authorization type, this change broke the way to set the authorization scopes to the default scopes if the customer does not provide one. This issue introduced in CDK version `2.142.0`. The workaround is to either pin the `aws-cdk-lib` to version `2.141.0` or, to update the `RestApi` construct initialization to explicitly set the authorizationType in `defaultMethodOptions` property to COGNITO.",
"components": [
{
"name": "aws-cdk-lib.aws-apigateway",
"version": ">=2.141.0 <= 2.148.1"
}
],
"schemaVersion": "1"
}
]
}

0 comments on commit 4f84242

Please sign in to comment.