getlift / lift

Expanding Serverless Framework beyond functions using the AWS CDK
MIT License
916 stars 113 forks source link

Display Name Length Restriction in Queues #348

Open cmcnicholas opened 1 year ago

cmcnicholas commented 1 year ago

Description

The current Queue generation allows Alarm Topics to be created with the displayName property exceeding 100 characters (a restriction by the AWS API). This results in failed cloudformation deployment with the error message:

Resource handler returned message: "Invalid parameter: Attributes Reason: DisplayName (Service: Sns, Status Code: 400, Request ID: 22d6afac-465f-5167-8e0d-f297e231f7b2)" (RequestToken: 660cee2b-d73b-49d0-879c-eb88de339e79, HandlerErrorCode: GeneralServiceException)

How to Reproduce

Create a queue with alarm that has a construct name ~60+ characters

Additional Information

No response