Skip to content

Commit c15a536

Browse files
authored
Merge branch 'main' into ec2-prefixlist-ipeer
2 parents 68cf5e3 + b1ad64c commit c15a536

File tree

737 files changed

+169708
-96482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

737 files changed

+169708
-96482
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ Closes #<issue number here>.
1010

1111
<!--
1212
What code changes did you make?
13-
Have you made any important design decisions?
14-
What AWS use cases does this change enable? To enable the use cases, which AWS service features are utilized?
13+
Why do these changes address the issue?
14+
What alternatives did you consider and reject?
15+
What design decisions have you made?
1516
-->
1617

1718
### Describe any new or updated permissions being added
1819

19-
<!-- What new or updated IAM permissions are needed to support the changes being introduced ? -->
20+
<!-- What new or updated IAM permissions are needed to support the changes being introduced? -->
2021

2122

2223
### Description of how you validated changes
2324

24-
<!--Have you added any unit tests and/or integration tests?-->
25+
<!-- Have you added any unit tests and/or integration tests? Did you test by hand? -->
2526

2627
### Checklist
2728
- [ ] 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)

CHANGELOG.v2.alpha.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.199.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.198.0-alpha.0...v2.199.0-alpha.0) (2025-05-27)
6+
7+
8+
## [2.198.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.197.0-alpha.0...v2.198.0-alpha.0) (2025-05-22)
9+
10+
11+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
12+
13+
* **amplify:** A compute role is created when `platform` is `Platform.WEB_COMPUTE` or `Platform.WEB_DYNAMIC`.
14+
15+
### Features
16+
17+
* **amplify:** add compute role support for Amplify app ([#33962](https://github.com/aws/aws-cdk/issues/33962)) ([7490b92](https://github.com/aws/aws-cdk/commit/7490b921aa2c464e32ad27064fa4b84571d5ba1a)), closes [#33882](https://github.com/aws/aws-cdk/issues/33882)
18+
* **ec2:** add i7i instance class ([#34453](https://github.com/aws/aws-cdk/issues/34453)) ([3fe8ab4](https://github.com/aws/aws-cdk/commit/3fe8ab4bb100e23042f3d55d4a52bfc8cdbf495a))
19+
520
## [2.197.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.196.1-alpha.0...v2.197.0-alpha.0) (2025-05-20)
621

722
## [2.196.1-alpha.0](https://github.com/aws/aws-cdk/compare/v2.196.0-alpha.0...v2.196.1-alpha.0) (2025-05-19)

CHANGELOG.v2.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.199.0](https://github.com/aws/aws-cdk/compare/v2.198.0...v2.199.0) (2025-05-27)
6+
7+
8+
### ⚠ BREAKING CHANGES TO EXPERIMENTAL FEATURES
9+
10+
* **cloudformation:** Some L1 resources experienced breaking changes due to updated CloudFormation resources. Please check the notes for each specific module for more information.
11+
* **vpc-lattice**: the `name` and `resourceConfigurationType` property in `CfnResourceConfigurationProps` has changed from optional to required. Also, the `name`, `subnetIds` and `vpcIdentifier` properties in `CfnResourceGatewayProps` have changed from optional to mandatory.
12+
13+
### Features
14+
15+
* **appconfig:** deletion protection check for configuration profile ([#34418](https://github.com/aws/aws-cdk/issues/34418)) ([ce88c76](https://github.com/aws/aws-cdk/commit/ce88c7616188183059640f9e16fedc2e256e0b40))
16+
* **cloudformation:** update L1 CloudFormation resource definitions ([#34555](https://github.com/aws/aws-cdk/issues/34555)) ([64662b2](https://github.com/aws/aws-cdk/commit/64662b2225dce18ee2da0eb46331a3a0155ecfb5))
17+
* **ecs-patterns:** add minHealthyPercent and maxHealthyPercent props to NetworkMultipleTargetGroupsFargateService ([#34516](https://github.com/aws/aws-cdk/issues/34516)) ([a434aed](https://github.com/aws/aws-cdk/commit/a434aed1c9edc1b427a891cf70cc26f1657600d6)), closes [#34368](https://github.com/aws/aws-cdk/issues/34368)
18+
* **eks:** `Addon` support configurationValues ([#34061](https://github.com/aws/aws-cdk/issues/34061)) ([b420033](https://github.com/aws/aws-cdk/commit/b42003344d75bbdb2df71e7da52f9af5e956f64b)), closes [#34001](https://github.com/aws/aws-cdk/issues/34001)
19+
* **events-targets:** enable opt-in to use an IAM role for SnsTopic target ([#34259](https://github.com/aws/aws-cdk/issues/34259)) ([a3a0cf0](https://github.com/aws/aws-cdk/commit/a3a0cf0dc2ea2ecfc077af3f1939117623baa559))
20+
* **stepfunctions-tasks:** bedrock createModelCustomizationJob integration ([#31913](https://github.com/aws/aws-cdk/issues/31913)) ([0c653d3](https://github.com/aws/aws-cdk/commit/0c653d3a1d29324025a0ab451e72e4ca3f048ca3)), closes [#29042](https://github.com/aws/aws-cdk/issues/29042)
21+
22+
23+
### Bug Fixes
24+
25+
* **elasticloadbalancingv2:** add validation on application listeners for certificates on HTTP protocol ([#34233](https://github.com/aws/aws-cdk/issues/34233)) ([ca065bb](https://github.com/aws/aws-cdk/commit/ca065bbd936372098e7d76e4cf8f890f20d4c085))
26+
* **rds:** fix incorrect import/export combination check in AuroraMysqlEngineVersion.of() ([#33564](https://github.com/aws/aws-cdk/issues/33564)) ([9e41154](https://github.com/aws/aws-cdk/commit/9e41154c31253932520887748307405a3f38d0e7)), closes [#33562](https://github.com/aws/aws-cdk/issues/33562) [#33562](https://github.com/aws/aws-cdk/issues/33562)
27+
28+
## [2.198.0](https://github.com/aws/aws-cdk/compare/v2.197.0...v2.198.0) (2025-05-22)
29+
30+
31+
### Features
32+
33+
* update L1 CloudFormation resource definitions ([#34528](https://github.com/aws/aws-cdk/issues/34528)) ([92ad68a](https://github.com/aws/aws-cdk/commit/92ad68a4acae7786ee09734c9201e17c697544d1))
34+
35+
36+
### Bug Fixes
37+
38+
* synthesis fails if `tree.json` exceeds 512MB ([#34478](https://github.com/aws/aws-cdk/issues/34478)) ([ff2f4af](https://github.com/aws/aws-cdk/commit/ff2f4af6302209d559c63124c37d4e761d6e4d80))
39+
* **aws-ecs-patterns:** add missing redirectHTTP dependency on default ALB listener ([7b9a07b](https://github.com/aws/aws-cdk/commit/7b9a07baa21f77c93073820782a63162c828c2e9))
40+
* **ecs-patterns:** add missing redirectHTTP dependency on main listener in ApplicationLoadBalancedFargateService ([#34510](https://github.com/aws/aws-cdk/issues/34510)) ([8e4ca14](https://github.com/aws/aws-cdk/commit/8e4ca1449196394101f1c4cb01f3767307df2b56)), closes [#34235](https://github.com/aws/aws-cdk/issues/34235) [/github.com/aws/aws-cdk/blob/2bdc07e45f836a710bc049d43a2462806af1c75d/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/application-load-balanced-service-base.ts#L508](https://github.com/aws//github.com/aws/aws-cdk/blob/2bdc07e45f836a710bc049d43a2462806af1c75d/packages/aws-cdk-lib/aws-ecs-patterns/lib/base/application-load-balanced-service-base.ts/issues/L508)
41+
* **route53:** avoid setting unnecessary properties for Recovery Control type Route53 health check ([#34272](https://github.com/aws/aws-cdk/issues/34272)) ([6bc01c9](https://github.com/aws/aws-cdk/commit/6bc01c9d449f93c40fd90e34fcb5a0014b4e5841)), closes [#34262](https://github.com/aws/aws-cdk/issues/34262)
42+
* **ses-actions:** condition should use SourceAccount ([#34081](https://github.com/aws/aws-cdk/issues/34081)) ([f68b947](https://github.com/aws/aws-cdk/commit/f68b9479e6fdfec0447b2760ae5a97543e2c673d)), closes [#29811](https://github.com/aws/aws-cdk/issues/29811) [#30143](https://github.com/aws/aws-cdk/issues/30143) [#29833](https://github.com/aws/aws-cdk/issues/29833) [#30375](https://github.com/aws/aws-cdk/issues/30375)
43+
544
## [2.197.0](https://github.com/aws/aws-cdk/compare/v2.196.1...v2.197.0) (2025-05-20)
645

746

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"nx": "^20",
3333
"semver": "^7.7.2",
3434
"standard-version": "^9.5.0",
35-
"ts-jest": "^29.3.3",
35+
"ts-jest": "^29.3.4",
3636
"ts-node": "^10.9.2",
3737
"typescript": "~5.5.4"
3838
},

packages/@aws-cdk-testing/framework-integ/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "Apache-2.0",
3131
"devDependencies": {
3232
"@aws-cdk/cdk-build-tools": "0.0.0",
33-
"@aws-cdk/integ-runner": "^2.186.7",
33+
"@aws-cdk/integ-runner": "^2.186.9",
3434
"@aws-cdk/pkglint": "0.0.0",
3535
"@aws-sdk/client-acm": "3.632.0",
3636
"@aws-sdk/client-rds": "3.632.0",
@@ -44,10 +44,10 @@
4444
"@aws-cdk/lambda-layer-kubectl-v24": "^2.0.242",
4545
"@aws-cdk/lambda-layer-kubectl-v29": "^2.1.1",
4646
"@aws-cdk/lambda-layer-kubectl-v30": "^2.0.4",
47-
"@aws-cdk/lambda-layer-kubectl-v31": "^2.0.3",
47+
"@aws-cdk/lambda-layer-kubectl-v31": "^2.1.0",
4848
"@aws-cdk/lambda-layer-kubectl-v32": "^2.1.0",
4949
"aws-cdk-lib": "0.0.0",
50-
"cdk8s": "2.69.68",
50+
"cdk8s": "2.69.70",
5151
"cdk8s-plus-27": "2.9.5",
5252
"constructs": "^10.0.0"
5353
},

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.api-with-authorizer-and-proxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ import * as lambda from 'aws-cdk-lib/aws-lambda';
1010
* * `curl -i <CFN output PetsURL>` should return HTTP code 200
1111
*/
1212

13-
const app = new cdk.App();
13+
const app = new cdk.App({
14+
postCliContext: {
15+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
16+
},
17+
});
1418
const stack = new cdk.Stack(app, 'integtest-restapi-with-authorizer-and-proxy');
1519

1620
// create a cognito user pool

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.request-authorizer.lit.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import { STANDARD_NODEJS_RUNTIME } from '../../../config';
99
// `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: deny' <url>?allow=yes` should return 403
1010
// `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: allow' <url>?allow=yes` should return 200
1111

12-
const app = new App();
12+
const app = new App({
13+
postCliContext: {
14+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
15+
},
16+
});
1317
const stack = new Stack(app, 'RequestAuthorizerInteg');
1418

1519
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer-iam-role.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { STANDARD_NODEJS_RUNTIME } from '../../../config';
1313
* * `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: allow' <url>` should return 200
1414
*/
1515

16-
const app = new App();
16+
const app = new App({
17+
postCliContext: {
18+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
19+
},
20+
});
1721
const stack = new Stack(app, 'TokenAuthorizerIAMRoleInteg');
1822

1923
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/authorizers/integ.token-authorizer.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ import { IntegTest, ExpectedResult, Match } from '@aws-cdk/integ-tests-alpha';
55
import { MockIntegration, PassthroughBehavior, RestApi, TokenAuthorizer, Cors } from 'aws-cdk-lib/aws-apigateway';
66
import { STANDARD_NODEJS_RUNTIME } from '../../../config';
77

8-
const app = new App();
8+
const app = new App({
9+
postCliContext: {
10+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
11+
},
12+
});
913
const stack = new Stack(app, 'TokenAuthorizerInteg');
1014

1115
const authorizerFn = new lambda.Function(stack, 'MyAuthorizerFunction', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.cors-allow-multiple-origins.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import { App, Stack } from 'aws-cdk-lib';
44
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
55
import * as apigw from 'aws-cdk-lib/aws-apigateway';
66

7-
const app = new App();
7+
const app = new App({
8+
postCliContext: {
9+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
10+
},
11+
});
812
const stack = new Stack(app, 'stack-cors-allow-multiple-origins');
913

1014
const api = new apigw.RestApi(stack, 'cors-api-test', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.cors.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ class TestStack extends Stack {
3030
}
3131
}
3232

33-
const app = new App();
33+
const app = new App({
34+
postCliContext: {
35+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
36+
},
37+
});
3438
const testCase = new TestStack(app, 'cors-twitch-test');
3539
new IntegTest(app, 'cors', {
3640
testCases: [testCase],

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.lambda-api-nonproxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ class LambdaApiIntegrationOptionsNonProxyIntegrationStack extends Stack {
3434
}
3535
}
3636

37-
const app = new App();
37+
const app = new App({
38+
postCliContext: {
39+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
40+
},
41+
});
3842
const testCase = new LambdaApiIntegrationOptionsNonProxyIntegrationStack(app);
3943
new IntegTest(app, 'lambda-non-proxy-integration', {
4044
testCases: [testCase],

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.lambda-api.latebound-deploymentstage.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ class LateBoundDeploymentStageStack extends Stack {
2929
}
3030
}
3131

32-
const app = new App();
32+
const app = new App({
33+
postCliContext: {
34+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
35+
},
36+
});
3337
const testCase = new LateBoundDeploymentStageStack(app);
3438
new IntegTest(app, 'lambda-api-latebound-deploymentstage', {
3539
testCases: [testCase],

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.lambda-api.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ class LambdaApiIntegrationOptionsStack extends Stack {
3333
}
3434
}
3535

36-
const app = new App();
36+
const app = new App({
37+
postCliContext: {
38+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
39+
},
40+
});
3741
const testCase = new LambdaApiIntegrationOptionsStack(app);
3842
const integ = new IntegTest(app, 'lambda-integration', {
3943
testCases: [testCase],

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi-default-apikey.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import { LambdaIntegration, RestApi } from 'aws-cdk-lib/aws-apigateway';
44
import { App, Stack } from 'aws-cdk-lib';
55
import { STANDARD_NODEJS_RUNTIME } from '../../config';
66

7-
const app = new App();
7+
const app = new App({
8+
postCliContext: {
9+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
10+
},
11+
});
812

913
const stack = new Stack(app, 'aws-cdk-lambda-1');
1014

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.books.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,11 @@ class BookStack extends cdk.Stack {
4747
}
4848
}
4949

50-
const app = new cdk.App();
50+
const app = new cdk.App({
51+
postCliContext: {
52+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
53+
},
54+
});
5155

5256
const testCase = new BookStack(app, 'restapi-books-example');
5357
new IntegTest(app, 'restapi-books', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.multiuse.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ class MultiStack extends cdk.Stack {
2222
}
2323
}
2424

25-
const app = new cdk.App();
25+
const app = new cdk.App({
26+
postCliContext: {
27+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
28+
},
29+
});
2630
const testCase = new MultiStack(app, 'restapi-multiuse-example');
2731

2832
new IntegTest(app, 'restapi-multiuse', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,11 @@ class Test extends cdk.Stack {
9494
}
9595
}
9696

97-
const app = new cdk.App();
97+
const app = new cdk.App({
98+
postCliContext: {
99+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
100+
},
101+
});
98102

99103
const testCase = new Test(app, 'test-apigateway-restapi');
100104
new IntegTest(app, 'apigateway-restapi', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.vpc-endpoint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class TestStack extends cdk.Stack {
126126

127127
const app = new cdk.App({
128128
postCliContext: {
129+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
129130
'@aws-cdk/aws-lambda:createNewPoliciesWithAddToRolePolicy': false,
130131
},
131132
});

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.spec-restapi.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ class Test extends cdk.Stack {
8888
}
8989
}
9090

91-
const app = new cdk.App();
91+
const app = new cdk.App({
92+
postCliContext: {
93+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
94+
},
95+
});
9296

9397
const testCase = new Test(app, 'test-apigateway-spec-restapi');
9498
new IntegTest(app, 'apigateway-spec-restapi', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.lambda.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ import { HttpLambdaAuthorizer, HttpLambdaResponseType } from 'aws-cdk-lib/aws-ap
1212
* * `curl -H 'X-API-Key: 1234' <url>` should return 403
1313
*/
1414

15-
const app = new App();
15+
const app = new App({
16+
postCliContext: {
17+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
18+
},
19+
});
1620
const stack = new Stack(app, 'AuthorizerInteg');
1721

1822
const authHandler = new lambda.Function(stack, 'auth-function', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/http/integ.user-pool.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ import { HttpUserPoolAuthorizer } from 'aws-cdk-lib/aws-apigatewayv2-authorizers
1313
* * `curl -s -o /dev/null -w "%{http_code}" -H 'Authorization: allow' <url>` should return 200
1414
*/
1515

16-
const app = new App();
16+
const app = new App({
17+
postCliContext: {
18+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
19+
},
20+
});
1721
const stack = new Stack(app, 'AuthorizerInteg');
1822

1923
const userPool = new cognito.UserPool(stack, 'userpool');

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-authorizers/test/websocket/integ.iam.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ import { Stack } from 'aws-cdk-lib';
77
import * as integ from '@aws-cdk/integ-tests-alpha';
88
import { WebSocketIamAuthorizer } from 'aws-cdk-lib/aws-apigatewayv2-authorizers';
99

10-
const app = new cdk.App();
10+
const app = new cdk.App({
11+
postCliContext: {
12+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
13+
},
14+
});
1115
const stack = new cdk.Stack(app, 'IntegApiGatewayV2Iam');
1216
const user = new iam.User(stack, 'User');
1317
const userAccessKey = new iam.AccessKey(stack, 'UserAccess', {

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-integrations/test/http/integ.add-subroute-integration.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import { ExpectedResult, IntegTest } from '@aws-cdk/integ-tests-alpha';
44
import { App, Stack } from 'aws-cdk-lib';
55
import { HttpLambdaIntegration } from 'aws-cdk-lib/aws-apigatewayv2-integrations';
66

7-
const app = new App();
7+
const app = new App({
8+
postCliContext: {
9+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
10+
},
11+
});
812
const stack = new Stack(app, 'integ-lambda-add-subroute-integration');
913

1014
const httpApi = new HttpApi(stack, 'test-apigwv2-add-subroute-integration');

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-integrations/test/http/integ.http-proxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import { HttpUrlIntegration, HttpLambdaIntegration } from 'aws-cdk-lib/aws-apiga
88
* "curl <endpoint-in-the-stack-output>" should return 'success'
99
*/
1010

11-
const app = new App();
11+
const app = new App({
12+
postCliContext: {
13+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
14+
},
15+
});
1216

1317
const stack = new Stack(app, 'integ-http-proxy');
1418

packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2-integrations/test/http/integ.lambda-proxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ import { HttpLambdaIntegration } from 'aws-cdk-lib/aws-apigatewayv2-integrations
88
* "curl <endpoint-in-the-stack-output>" should return 'success'
99
*/
1010

11-
const app = new App();
11+
const app = new App({
12+
postCliContext: {
13+
'@aws-cdk/aws-lambda:useCdkManagedLogGroup': false,
14+
},
15+
});
1216

1317
const stack = new Stack(app, 'integ-lambda-proxy');
1418

0 commit comments

Comments
 (0)