Skip to content

Commit 57afba8

Browse files
authored
fix(api-usage-plan): update cfn templates with api usage plan (#400)
* fix(api-usage-plan): update cfn templates with api usage plan * fix(api-usage-plan): update cfn templates with api usage plan
1 parent 21f1f93 commit 57afba8

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.overrideParams.expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@
12631263
]
12641264
}
12651265
},
1266-
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResource427DC49B": {
1266+
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResourceoverrideParamstestapigatewayiotRestApiApiKey9DF117C022AD8BF0": {
12671267
"Type": "AWS::ApiGateway::UsagePlanKey",
12681268
"Properties": {
12691269
"KeyId": {

source/patterns/@aws-solutions-constructs/aws-apigateway-iot/test/integ.override_auth_api_keys.expected.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@
12611261
]
12621262
}
12631263
},
1264-
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResource427DC49B": {
1264+
"testapigatewayiotRestApiUsagePlanUsagePlanKeyResourceoverrideauthapikeystestapigatewayiotRestApiApiKey393D3E36B43FA58D": {
12651265
"Type": "AWS::ApiGateway::UsagePlanKey",
12661266
"Properties": {
12671267
"KeyId": {

source/tools/cdk-integ-tools/bin/cdk-integ-assert.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ async function main() {
2424
// Enable Default KMS policy to match with CDK v2 expected KMS policy
2525
let actual = await test.cdkSynthFast(deepmerge(DEFAULT_SYNTH_OPTIONS, {
2626
context: {
27-
'@aws-cdk/aws-kms:defaultKeyPolicies': true
27+
'@aws-cdk/aws-kms:defaultKeyPolicies': true,
28+
'@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId' : true
2829
}
2930
}));
3031

source/tools/cdk-integ-tools/bin/cdk-integ.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ async function main() {
5454
// Enable Default KMS policy to match with CDK v2 expected KMS policy
5555
const actual = await test.cdkSynthFast(deepmerge(DEFAULT_SYNTH_OPTIONS, {
5656
context: {
57-
'@aws-cdk/aws-kms:defaultKeyPolicies': true
57+
'@aws-cdk/aws-kms:defaultKeyPolicies': true,
58+
'@aws-cdk/aws-apigateway:usagePlanKeyOrderInsensitiveId' : true
5859
}
5960
}));
6061

0 commit comments

Comments
 (0)