Skip to content

Commit 6218559

Browse files
committed
Rename EpsAssistApiGateway construct ID
1 parent 883dccb commit 6218559

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const nagSuppressions = (stack: Stack) => {
3737
// Suppress API Gateway validation warning for Apis construct
3838
safeAddNagSuppression(
3939
stack,
40-
"/EpsAssistMeStack/Apis/EpsAssistApiGatewayPr/ApiGateway/Resource",
40+
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/Resource",
4141
[
4242
{
4343
id: "AwsSolutions-APIG2",
@@ -61,7 +61,7 @@ export const nagSuppressions = (stack: Stack) => {
6161
// Suppress unauthenticated API route warnings
6262
safeAddNagSuppression(
6363
stack,
64-
"/EpsAssistMeStack/Apis/EpsAssistApiGatewayPr/ApiGateway/Default/slack/ask-eps/POST/Resource",
64+
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/Default/slack/ask-eps/POST/Resource",
6565
[
6666
{
6767
id: "AwsSolutions-APIG4",
@@ -77,7 +77,7 @@ export const nagSuppressions = (stack: Stack) => {
7777
// Suppress missing WAF on API stage for Apis construct
7878
safeAddNagSuppression(
7979
stack,
80-
"/EpsAssistMeStack/Apis/EpsAssistApiGatewayPr/ApiGateway/DeploymentStage.prod/Resource",
80+
"/EpsAssistMeStack/Apis/EpsAssistApiGateway/ApiGateway/DeploymentStage.prod/Resource",
8181
[
8282
{
8383
id: "AwsSolutions-APIG3",

packages/cdk/resources/Apis.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class Apis extends Construct {
1818
super(scope, id)
1919

2020
// Create REST API Gateway for EPS Assist endpoints
21-
const apiGateway = new RestApiGateway(this, "EpsAssistApiGatewayPr", {
21+
const apiGateway = new RestApiGateway(this, "EpsAssistApiGateway", {
2222
stackName: props.stackName,
2323
logRetentionInDays: props.logRetentionInDays,
2424
trustStoreKey: "unused",

0 commit comments

Comments
 (0)