19 releases (breaking)

Uses new Rust 2021

new 0.15.0 Jun 29, 2022
0.13.0 Jun 10, 2022
0.9.0 Mar 17, 2022
0.3.0 Dec 15, 2021
0.0.0 May 7, 2021

#851 in Development tools

Download history 180/week @ 2022-03-16 83/week @ 2022-03-23 24/week @ 2022-03-30 23/week @ 2022-04-06 32/week @ 2022-04-13 8/week @ 2022-04-20 98/week @ 2022-04-27 134/week @ 2022-05-04 271/week @ 2022-05-11 144/week @ 2022-05-18 304/week @ 2022-05-25 383/week @ 2022-06-01 295/week @ 2022-06-08 417/week @ 2022-06-15 357/week @ 2022-06-22 277/week @ 2022-06-29

1,399 downloads per month
Used in ec2-search

Apache-2.0

2MB
34K SLoC

aws-sdk-elasticloadbalancingv2

Please Note: The SDK is currently in Developer Preview and is intended strictly for feedback purposes only. Do not use this SDK for production workloads.

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.

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-elasticloadbalancingv2 to your project, add the following to your Cargo.toml file:

[dependencies]
aws-config = "0.15.0"
aws-sdk-elasticloadbalancingv2 = "0.15.0"
tokio = { version = "1", features = ["full"] }

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help

License

This project is licensed under the Apache-2.0 License.

Dependencies

~12–21MB
~442K SLoC