We don't have access to the actual CDK resource i.e the FargateService resource that's actually getting created. We are using the cdk-monitoring-constructs provided utility monitorFargateApplicationLoadBalancer function to add fargate monitors. We are using the imported FargateService resource, but we are gettting error "Invalid type of load balancer or target group (only ALB and ELB is supported)."
Expected behavior
We are expecting to use monitorFargateApplicationLoadBalancer function to add fargate monitors.
Actual behavior
We don't have access to the actual CDK resource i.e the FargateService resource that's actually getting created. We are using the cdk-monitoring-constructs provided utility monitorFargateApplicationLoadBalancer function to add fargate monitors. We are using the imported FargateService resource, but we are gettting error "Invalid type of load balancer or target group (only ALB and ELB is supported)."
Version
"^1.28.1"
Steps and/or minimal code example to reproduce
We don't have access to the actual CDK resource i.e the FargateService resource that's actually getting created. We are using the cdk-monitoring-constructs provided utility monitorFargateApplicationLoadBalancer function to add fargate monitors. We are using the imported FargateService resource, but we are gettting error "Invalid type of load balancer or target group (only ALB and ELB is supported)."
Expected behavior
We are expecting to use monitorFargateApplicationLoadBalancer function to add fargate monitors.
Actual behavior
We don't have access to the actual CDK resource i.e the FargateService resource that's actually getting created. We are using the cdk-monitoring-constructs provided utility monitorFargateApplicationLoadBalancer function to add fargate monitors. We are using the imported FargateService resource, but we are gettting error "Invalid type of load balancer or target group (only ALB and ELB is supported)."
Other details
No response