File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 11from aws_cdk import (
22 App ,
3+ Aspects ,
34 DockerVolume ,
45 Environment ,
56 RemovalPolicy ,
910 aws_lambda_python_alpha as lambda_python ,
1011 aws_logs as logs ,
1112)
13+ from cdk_nag import AwsSolutionsChecks
1214from constructs import Construct
1315import jsii
1416import os
@@ -87,11 +89,12 @@ def __init__(
8789stack_name_suffix = (
8890 f'-{ os .environ ["INTEG_TEST_ID" ]} ' if "INTEG_TEST_ID" in os .environ else ""
8991)
90- LambdaTimeMcpServer (
92+ stack = LambdaTimeMcpServer (
9193 app ,
9294 "LambdaMcpServer-Time" ,
9395 stack_name_suffix ,
9496 stack_name = "LambdaMcpServer-Time" + stack_name_suffix ,
9597 env = env ,
9698)
99+ Aspects .of (stack ).add (AwsSolutionsChecks (verbose = True ))
97100app .synth ()
Original file line number Diff line number Diff line change 11aws-cdk-lib == 2.187.0
22aws-cdk.aws-lambda-python-alpha == 2.187.0a0
33constructs >= 10.0.0 ,< 11.0.0
4+ cdk-nag == 2.35.76
You can’t perform that action at this time.
0 commit comments