aws-lambda: function description length is not validated #20475
Labels
@aws-cdk/aws-lambda
Related to AWS Lambda
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the bug
Lambda function description has length limit of 256 characters, but it is not currently validated by CDK
Expected Behavior
Lambda function description length should be validated at build time and build should fail if length is above 256 char limit
Current Behavior
Lambda function description length is not validated and issue will be caught at deployment time
Reproduction Steps
Possible Solution
Validate description length:
Additional Information/Context
No response
CDK CLI Version
2.21.1
Framework Version
No response
Node.js Version
v14.19.1
OS
Ubuntu 20
Language
Typescript
Language Version
3.8.3
Other information
No response
The text was updated successfully, but these errors were encountered: