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

chore(release): 2.145.0 #30487

Merged
merged 27 commits into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
535698a
chore(merge-back): 2.144.0 (#30410)
mergify[bot] May 31, 2024
09098af
chore: update Contributors File (#30411)
aws-cdk-automation Jun 1, 2024
1b8d73c
fix(apigateway): allow overriding authorizer on methods (#30415)
moelasmar Jun 1, 2024
2a00ddd
chore(deps): bump tj-actions/changed-files from 44.5.1 to 44.5.2 (#30…
dependabot[bot] Jun 3, 2024
41a54b1
chore: fix typo in `queue.ts` comment (#30416)
rafrafek Jun 3, 2024
8ea68f1
chore: fix typo in application-listener-rule (#30427)
mazyu36 Jun 3, 2024
c5eca1a
chore(config): add new resource types since March 2023 (#30378)
mazyu36 Jun 3, 2024
0e95bf0
feat(logs): add distribution property to the Subscription class (#30423)
mazyu36 Jun 3, 2024
5b84ca6
feat(chatbot): configure `userRoleRequired` for the `SlackChannelConf…
badmintoncryer Jun 3, 2024
ddbbd00
feat(codepipeline): `GitPushFilter` with branches and file paths for …
go-to-k Jun 3, 2024
a3d9b10
fix: route53 CrossAccountZoneDelegationRecord fails at deployment tim…
samson-keung Jun 4, 2024
f937100
chore: update nodejs to 20 in devcontainer and gitpod (#30424)
JohannesKonings Jun 4, 2024
940e799
feat(codebuild): `Fleet` L2 (#29754)
nmussy Jun 4, 2024
a46bbc3
chore(dynamodb): remove single quotes from throw statement in the par…
mazyu36 Jun 4, 2024
0399ec3
chore(cdk): update the fact tables and tests for lambda layers v0.98.…
vasireddy99 Jun 5, 2024
3ee5ce0
feat: update L1 CloudFormation resource definitions (#30438)
aws-cdk-automation Jun 5, 2024
b04f739
chore(roadmap): update to readme to point to correct location of road…
adamjkeller Jun 5, 2024
a899ac6
fix(custom-resources): `logApiResponseData` is added to custom resour…
colifran Jun 6, 2024
0fa3b1e
revert: "feat(codepipeline): `GitPushFilter` with branches and file p…
gracelu0 Jun 6, 2024
d2ea280
feat(eks): support for Kubernetes version 1.30 (#30454)
pahud Jun 6, 2024
312235a
chore(apigatewayv2): add apigatewayv2 integrations and authorizers to…
GavinZZ Jun 6, 2024
a05591d
chore(events): rule cannot have more than 5 targets (#30470)
flexelem Jun 6, 2024
448b441
chore(lambda): match enum value to property (#30472)
scanlonp Jun 6, 2024
516ecef
feat(config): proactive evaluation mode (#30174)
badmintoncryer Jun 6, 2024
8f4d4d7
chore(stepfunction-tasks): eventbridge aws. event source prefix check…
pahud Jun 6, 2024
1764f09
chore(release): 2.145.0
Jun 7, 2024
a20766c
chore: update CHANGELOG.v2.md
gracelu0 Jun 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(apigateway): allow overriding authorizer on methods (#30415)
### Issue # (if applicable)

Closes #8827.

### Reason for this change

Customers could not override the authorizer defined in the default method configuration if they want to set the authorization type to None.

### Description of changes

If the customer set the authorization type to None while creating a new method, we will not use the authorizer value defined in the default configuration and instead we will set it to undefined.

### Description of how you validated changes

added unit, and integration test cases.

### Checklist
- [X] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
moelasmar committed Jun 1, 2024
commit 1b8d73cb33ca62dd035ca339d3f1b5acc251338c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
{
"Resources": {
"UserPool6BA7E5F2": {
"Type": "AWS::Cognito::UserPool",
"Properties": {
"AccountRecoverySetting": {
"RecoveryMechanisms": [
{
"Name": "verified_phone_number",
"Priority": 1
},
{
"Name": "verified_email",
"Priority": 2
}
]
},
"AdminCreateUserConfig": {
"AllowAdminCreateUserOnly": false
},
"AutoVerifiedAttributes": [
"email"
],
"EmailVerificationMessage": "The verification code to your new account is {####}",
"EmailVerificationSubject": "Verify your new account",
"SmsVerificationMessage": "The verification code to your new account is {####}",
"UsernameAttributes": [
"email"
],
"VerificationMessageTemplate": {
"DefaultEmailOption": "CONFIRM_WITH_CODE",
"EmailMessage": "The verification code to your new account is {####}",
"EmailSubject": "Verify your new account",
"SmsMessage": "The verification code to your new account is {####}"
}
},
"UpdateReplacePolicy": "Retain",
"DeletionPolicy": "Retain"
},
"AuthorizerBD825682": {
"Type": "AWS::ApiGateway::Authorizer",
"Properties": {
"IdentitySource": "method.request.header.Authorization",
"Name": "integtestrestapiwithoverridingdefaultauthorizerAuthorizerF0743170",
"ProviderARNs": [
{
"Fn::GetAtt": [
"UserPool6BA7E5F2",
"Arn"
]
}
],
"RestApiId": {
"Ref": "ActionsApiGatewayF80386B7"
},
"Type": "COGNITO_USER_POOLS"
}
},
"ActionsApiGatewayF80386B7": {
"Type": "AWS::ApiGateway::RestApi",
"Properties": {
"Name": "Actions-ApiGateway"
}
},
"ActionsApiGatewayDeployment50B6E6A66403e42852ae63ad13a2b7635300f8a9": {
"Type": "AWS::ApiGateway::Deployment",
"Properties": {
"Description": "Automatically created by the RestApi construct",
"RestApiId": {
"Ref": "ActionsApiGatewayF80386B7"
}
},
"DependsOn": [
"ActionsApiGatewayANY11FE5E47",
"ActionsApiGatewayGET12E87C75",
"ActionsApiGatewayOPTIONS8EA1F997",
"AuthorizerBD825682"
]
},
"ActionsApiGatewayDeploymentStageprod812022BF": {
"Type": "AWS::ApiGateway::Stage",
"Properties": {
"DeploymentId": {
"Ref": "ActionsApiGatewayDeployment50B6E6A66403e42852ae63ad13a2b7635300f8a9"
},
"RestApiId": {
"Ref": "ActionsApiGatewayF80386B7"
},
"StageName": "prod"
}
},
"ActionsApiGatewayOPTIONS8EA1F997": {
"Type": "AWS::ApiGateway::Method",
"Properties": {
"ApiKeyRequired": false,
"AuthorizationType": "NONE",
"HttpMethod": "OPTIONS",
"Integration": {
"IntegrationResponses": [
{
"ResponseParameters": {
"method.response.header.Access-Control-Allow-Headers": "'Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token,X-Amz-User-Agent'",
"method.response.header.Access-Control-Allow-Origin": "'*'",
"method.response.header.Access-Control-Allow-Methods": "'OPTIONS,GET,PUT,POST,DELETE,PATCH,HEAD'",
"method.response.header.Access-Control-Max-Age": "'864000'"
},
"StatusCode": "204"
}
],
"RequestTemplates": {
"application/json": "{ statusCode: 200 }"
},
"Type": "MOCK"
},
"MethodResponses": [
{
"ResponseParameters": {
"method.response.header.Access-Control-Allow-Headers": true,
"method.response.header.Access-Control-Allow-Origin": true,
"method.response.header.Access-Control-Allow-Methods": true,
"method.response.header.Access-Control-Max-Age": true
},
"StatusCode": "204"
}
],
"ResourceId": {
"Fn::GetAtt": [
"ActionsApiGatewayF80386B7",
"RootResourceId"
]
},
"RestApiId": {
"Ref": "ActionsApiGatewayF80386B7"
}
}
},
"ActionsApiGatewayANY11FE5E47": {
"Type": "AWS::ApiGateway::Method",
"Properties": {
"AuthorizationType": "NONE",
"HttpMethod": "ANY",
"Integration": {
"IntegrationResponses": [
{
"StatusCode": "200"
}
],
"PassthroughBehavior": "NEVER",
"RequestTemplates": {
"application/json": "{ \"statusCode\": 200 }"
},
"Type": "MOCK"
},
"MethodResponses": [
{
"StatusCode": "200"
}
],
"ResourceId": {
"Fn::GetAtt": [
"ActionsApiGatewayF80386B7",
"RootResourceId"
]
},
"RestApiId": {
"Ref": "ActionsApiGatewayF80386B7"
}
}
},
"ActionsApiGatewayGET12E87C75": {
"Type": "AWS::ApiGateway::Method",
"Properties": {
"AuthorizationScopes": [
"scope"
],
"AuthorizationType": "COGNITO_USER_POOLS",
"AuthorizerId": {
"Ref": "AuthorizerBD825682"
},
"HttpMethod": "GET",
"Integration": {
"IntegrationResponses": [
{
"StatusCode": "200"
}
],
"PassthroughBehavior": "NEVER",
"RequestTemplates": {
"application/json": "{ \"statusCode\": 200 }"
},
"Type": "MOCK"
},
"MethodResponses": [
{
"StatusCode": "200"
}
],
"ResourceId": {
"Fn::GetAtt": [
"ActionsApiGatewayF80386B7",
"RootResourceId"
]
},
"RestApiId": {
"Ref": "ActionsApiGatewayF80386B7"
}
}
}
},
"Outputs": {
"ActionsApiGatewayEndpoint261B645B": {
"Value": {
"Fn::Join": [
"",
[
"https://",
{
"Ref": "ActionsApiGatewayF80386B7"
},
".execute-api.",
{
"Ref": "AWS::Region"
},
".",
{
"Ref": "AWS::URLSuffix"
},
"/",
{
"Ref": "ActionsApiGatewayDeploymentStageprod812022BF"
},
"/"
]
]
}
}
},
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}
Loading
Loading