TaskSetLoadBalancer constructor

const TaskSetLoadBalancer({
  1. required Input<String> containerName,
  2. Input<int?>? containerPort,
  3. Input<String?>? loadBalancerName,
  4. Input<String?>? targetGroupArn,
})

Creates a new TaskSetLoadBalancer. containerName Name of the container to associate with the load balancer (as it appears in a container definition). containerPort Port on the container to associate with the load balancer. Defaults to 0 if not specified. loadBalancerName Name of the ELB (Classic) to associate with the service. targetGroupArn ARN of the Load Balancer target group to associate with the service.

Implementation

const TaskSetLoadBalancer({
  required this.containerName,
  this.containerPort,
  this.loadBalancerName,
  this.targetGroupArn,
});