cloudwatch: Arn.split cannot parse AWS Batch Job queue ARN #30927
Labels
@aws-cdk/aws-batch
Related to AWS Batch
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
p3
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
I am trying to create a CloudWatch Alarm for AWS Batch queues. CDK synth produces the following CloudFormation template:
Expected Behavior
What is expected is to set the value of the Alarm dimension to the AWS batch job queue name.
When I run this code as a code snippet, it extracts the resource name properly, but it generates an invalid CF template
Current Behavior
When I deploy this stack, I get the following error:
Reproduction Steps
The Java code which creates CloudWatch alarms, looks like this:
The text was updated successfully, but these errors were encountered: