Skip to content

sqs: queue initialization with props validation does not display all validation issues #33098

@iankhou

Description

@iankhou

Describe the bug

Validation currently fails fast on Queue initialization, as the first invalid rule throws an error. Users attempting to initialize Queues may need to rerun more than once to detect and fix all validation errors.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

No response

Expected Behavior

All validation errors should be displayed to the user on Queue initialization.

Current Behavior

Validation currently fails fast on Queue initialization, as the first invalid rule throws an error.

Reproduction Steps

Initialize a Queue with multiple

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.175.1 (build afe6e87)

Framework Version

No response

Node.js Version

v18.20.4

OS

15.2 (24C101)

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-sqsRelated to Amazon Simple Queue ServicebugThis issue is a bug.effort/smallSmall work item – less than a day of effortp2

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions