Skip to content

Commit

Permalink
chore: notice for aws/aws-cdk#30444 (#559)
Browse files Browse the repository at this point in the history
Update notice for aws/aws-cdk#30444
  • Loading branch information
moelasmar authored Jul 10, 2024
1 parent 182992b commit f73acae
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 instances with 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, and it will be empty if the customer does not explicitly set the `authorizationType` property while defining the API default method options, or while adding a new method. 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.142.0 <= 2.148.1"
}
],
"schemaVersion": "1"
}
]
}

0 comments on commit f73acae

Please sign in to comment.