ElasticLoadBalancingv2#
Client#
- class ElasticLoadBalancingv2.Client#
A low-level client representing Elastic Load Balancing (Elastic Load Balancing v2)
A load balancer distributes incoming traffic across targets, such as your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets. You configure your load balancer to accept incoming traffic by specifying one or more listeners, which are configured with a protocol and port number for connections from clients to the load balancer. You configure a target group with a protocol and port number for connections from the load balancer to the targets, and with health check settings to be used when checking the health status of the targets.
Elastic Load Balancing supports the following types of load balancers: Application Load Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This reference covers the following load balancer types:
Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS.
Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP.
Gateway Load Balancer - Operates at the network layer (layer 3).
For more information, see the Elastic Load Balancing User Guide.
All Elastic Load Balancing operations are idempotent, which means that they complete at most one time. If you repeat an operation, it succeeds.
import boto3 client = boto3.client('elbv2')
These are the available methods:
- add_listener_certificates
- add_tags
- add_trust_store_revocations
- can_paginate
- close
- create_listener
- create_load_balancer
- create_rule
- create_target_group
- create_trust_store
- delete_listener
- delete_load_balancer
- delete_rule
- delete_shared_trust_store_association
- delete_target_group
- delete_trust_store
- deregister_targets
- describe_account_limits
- describe_listener_attributes
- describe_listener_certificates
- describe_listeners
- describe_load_balancer_attributes
- describe_load_balancers
- describe_rules
- describe_ssl_policies
- describe_tags
- describe_target_group_attributes
- describe_target_groups
- describe_target_health
- describe_trust_store_associations
- describe_trust_store_revocations
- describe_trust_stores
- get_paginator
- get_resource_policy
- get_trust_store_ca_certificates_bundle
- get_trust_store_revocation_content
- get_waiter
- modify_listener
- modify_listener_attributes
- modify_load_balancer_attributes
- modify_rule
- modify_target_group
- modify_target_group_attributes
- modify_trust_store
- register_targets
- remove_listener_certificates
- remove_tags
- remove_trust_store_revocations
- set_ip_address_type
- set_rule_priorities
- set_security_groups
- set_subnets
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are:
Waiters#
Waiters are available on a client instance via the get_waiter
method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.
The available waiters are: