diff --git a/data/notices.json b/data/notices.json index 5d81cac..02a41cf 100644 --- a/data/notices.json +++ b/data/notices.json @@ -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" } ] }