Replies: 1 comment
-
Got the same issue today. I used a SSM parameter to store an ALB fullname. Then, when creating a metric from a stack I imported the ALB, I use: dimensionsMap: {
TargetGroup: targetGroup.targetGroupFullName,
LoadBalancer: ssm.StringParameter.valueForStringParameter(this, `bla bla bla`)
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get the load balancer full name to use in a dimension on a cloudwatch metric for an imported ALB. Using 'fromLookup' or 'fromApplicationListenerAttributes' returns an IApplicationLoadBalancer which doesn't have the loadBalancerFullName property.
Is there a best approach for retrieving a full ApplicationLoadBalancer with CDK, or is there another way to get this property?
Beta Was this translation helpful? Give feedback.
All reactions