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 1
1
from aws_cdk import (
2
2
App ,
3
+ Aspects ,
3
4
DockerVolume ,
4
5
Environment ,
5
6
RemovalPolicy ,
9
10
aws_lambda_python_alpha as lambda_python ,
10
11
aws_logs as logs ,
11
12
)
13
+ from cdk_nag import AwsSolutionsChecks
12
14
from constructs import Construct
13
15
import jsii
14
16
import os
@@ -87,11 +89,12 @@ def __init__(
87
89
stack_name_suffix = (
88
90
f'-{ os .environ ["INTEG_TEST_ID" ]} ' if "INTEG_TEST_ID" in os .environ else ""
89
91
)
90
- LambdaTimeMcpServer (
92
+ stack = LambdaTimeMcpServer (
91
93
app ,
92
94
"LambdaMcpServer-Time" ,
93
95
stack_name_suffix ,
94
96
stack_name = "LambdaMcpServer-Time" + stack_name_suffix ,
95
97
env = env ,
96
98
)
99
+ Aspects .of (stack ).add (AwsSolutionsChecks (verbose = True ))
97
100
app .synth ()
Original file line number Diff line number Diff line change 1
1
aws-cdk-lib == 2.187.0
2
2
aws-cdk.aws-lambda-python-alpha == 2.187.0a0
3
3
constructs >= 10.0.0 ,< 11.0.0
4
+ cdk-nag == 2.35.76
You can’t perform that action at this time.
0 commit comments