cdklabs/cdk-monitoring-constructs

Console URL for SQS has changed

oceanofmaya opened this issue · 0 comments

Version

v7.7.0

Steps and/or minimal code example to reproduce

Enable monitoring for a stack that has SQS queues and generate a CloudWatch Dashboard. In the dashboard the queue name is an hyperlink that is supposed to take you to the queue in AWS console. It stopped working as AWS console URL for queues has changed from .../sqs/v2 to ...sqs/v3/...

Expected behavior

The URL it should link to https://${region}.console.aws.amazon.com/sqs/v3/home?region=${region}#/queues/${queueUrl}

Actual behavior

The URL it currently links to https://${region}.console.aws.amazon.com/sqs/v2/home?region=${region}#/queues/${queueUrl}

Other details

AwsConsoleUrlFactory needs to be updated at

const destinationUrl = `https://${region}.console.aws.amazon.com/sqs/v2/home?region=${region}#/queues/${queueUrl}`;
to use the updated URL