is it possible to connect an AWS autoscaling group with an application load balancer?
Your CloudFormation template currently has the following resources:

A Launch Configuration
An Auto Scaling Group
A Load Balancer

Follow these steps in sequence to attach the auto scaling group to the load balancer:

Add a listener resource to your CloudFormation template, as described here. Set its LoadBalancerArn property to the load balancer's ARN.

Add a target group resource to your CloudFormation template, as described here.

Add a &quot;listener rule&quot; resource to your CloudFormation template, as described here. Set its ListenerArn property to the listener's ARN. In its Actions property, add a forward action &amp; provide the target group's ARN like this:


Actions:
- Type: forward
  TargetGroupArn: !Ref MyTargetGroup


Add the target group's ARN to the TargetGroupARNs property of the auto scaling group, as described here.

If you prefer to visualize a chain of CloudFormation resources linking the load balancer to the auto scaling group, it'll look like this:

Here's a complete example: LB to ASG Example.