Skip to content

Commit

Permalink
feat: update AlbTarget constructor to accept interface IApplicationLo…
Browse files Browse the repository at this point in the history
…adBalancer (aws#27466)
  • Loading branch information
SarthakPaneru committed Oct 11, 2023
1 parent cae9db6 commit 78de5fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class AlbTarget extends AlbArnTarget {
* @param alb The application load balancer to load balance to
* @param port The port on which the target is listening
*/
constructor(alb: elbv2.ApplicationLoadBalancer, port: number) {
constructor(alb: elbv2.IApplicationLoadBalancer, port: number) {
super(alb.loadBalancerArn, port);
}
}

0 comments on commit 78de5fe

Please sign in to comment.