Skip to content

Commit 498f62b

Browse files
authored
Fix: [AEA-0000] - Add lambda endpoint (#277)
## Summary - Routine Change ### Details - add a lambda endpoint
1 parent 60a9ad8 commit 498f62b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/cdk/nagSuppressions.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,17 @@ export const nagSuppressions = (stack: Stack) => {
113113
]
114114
)
115115

116+
safeAddNagSuppression(
117+
stack,
118+
"/VpcResourcesStack/LambdaEndpoint-tags/CustomResourcePolicy/Resource",
119+
[
120+
{
121+
id: "AwsSolutions-IAM5",
122+
reason: "Suppress error for wildcard permissions. This is fine here"
123+
}
124+
]
125+
)
126+
116127
}
117128

118129
const safeAddNagSuppression = (stack: Stack, path: string, suppressions: Array<NagPackSuppression>) => {

packages/cdk/stacks/VpcResourcesStack.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export class VpcResourcesStack extends Stack {
107107
this.addInterfaceEndpoint("CloudWatchLogsEndpoint", InterfaceVpcEndpointAwsService.CLOUDWATCH_LOGS)
108108
this.addInterfaceEndpoint("CloudWatchEventsEndpoint", InterfaceVpcEndpointAwsService.EVENTBRIDGE)
109109
this.addInterfaceEndpoint("SSMEndpoint", InterfaceVpcEndpointAwsService.SSM)
110+
this.addInterfaceEndpoint("LambdaEndpoint", InterfaceVpcEndpointAwsService.LAMBDA)
110111
this.addGatewayEndpoint("S3Endpoint", InterfaceVpcEndpointAwsService.S3)
111112

112113
//Outputs

0 commit comments

Comments
 (0)