DocsAWS 101BlogServices

ALB / ELBv2

Application / Network Load Balancers v2 — load balancers, target groups, listeners, rules. Data-plane routes requests by host/path.

Query (Action parameter) multi-tenant 28 operations

Quick start

import boto3
elb = boto3.client("elbv2", endpoint_url="http://localhost:4566",
                   region_name="us-east-1",
                   aws_access_key_id="test", aws_secret_access_key="test")
elb.create_load_balancer(Name="lb", Subnets=["subnet-1"], Type="application")

Supported operations

28 operations exposed by this service as of MiniStack 1.3.14. Extracted directly from the handler dispatch in the source module.

AddTags CreateListener CreateLoadBalancer CreateRule CreateTargetGroup DeleteListener DeleteLoadBalancer DeleteRule DeleteTargetGroup DeregisterTargets DescribeListenerAttributes DescribeListeners DescribeLoadBalancerAttributes DescribeLoadBalancers DescribeRules DescribeTags DescribeTargetGroupAttributes DescribeTargetGroups DescribeTargetHealth ModifyListener ModifyListenerAttributes ModifyLoadBalancerAttributes ModifyRule ModifyTargetGroup ModifyTargetGroupAttributes RegisterTargets RemoveTags SetRulePriorities

CloudFormation

The CloudFormation engine provisions these resource types via this service:

AWS::ElasticLoadBalancingV2::LoadBalancer AWS::ElasticLoadBalancingV2::Listener AWS::ElasticLoadBalancingV2::TargetGroup

See CloudFormation engine for intrinsic support and lifecycle details.

Known limitations

  • Health checks are stored but never executed — target health stays in the state you set it.
  • Cross-zone load balancing settings are accepted but have no effect (there are no zones).

Source

  • ministack/services/alb.py:848-908

Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.