Package-level declarations

Types

Link copied to clipboard

A load balancer can distribute incoming traffic across your EC2 instances. This enables you to increase the availability of your application. The load balancer also monitors the health of its registered instances and ensures that it routes traffic only to healthy instances. 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 and a protocol and port number for connections from the load balancer to the instances.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Functions

Link copied to clipboard
inline suspend fun ElasticLoadBalancingClient.addTags(crossinline block: AddTagsRequest.Builder.() -> Unit): AddTagsResponse

Adds the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags.

Link copied to clipboard

Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.

Link copied to clipboard

Adds one or more subnets to the set of configured subnets for the specified load balancer.

Link copied to clipboard

Specifies the health check settings to use when evaluating the health state of your EC2 instances.

Link copied to clipboard

Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.

Link copied to clipboard

Generates a stickiness policy with sticky session lifetimes controlled by the lifetime of the browser (user-agent) or a specified expiration period. This policy can be associated only with HTTP/HTTPS listeners.

Link copied to clipboard

Creates a Classic Load Balancer.

Link copied to clipboard

Creates one or more listeners for the specified load balancer. If a listener with the specified port does not already exist, it is created; otherwise, the properties of the new listener must match the properties of the existing listener.

Link copied to clipboard

Creates a policy with the specified attributes for the specified load balancer.

Link copied to clipboard

Deletes the specified load balancer.

Link copied to clipboard

Deletes the specified listeners from the specified load balancer.

Link copied to clipboard

Deletes the specified policy from the specified load balancer. This policy must not be enabled for any listeners.

Link copied to clipboard

Deregisters the specified instances from the specified load balancer. After the instance is deregistered, it no longer receives traffic from the load balancer.

Link copied to clipboard

Describes the current Elastic Load Balancing resource limits for your AWS account.

Link copied to clipboard

Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.

Link copied to clipboard

Describes the attributes for the specified load balancer.

Link copied to clipboard
Link copied to clipboard

Describes the specified load balancer policy types or all load balancer policy types.

Link copied to clipboard

Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.

Link copied to clipboard

Describes the tags associated with the specified load balancers.

Link copied to clipboard

Removes the specified subnets from the set of configured subnets for the load balancer.

Link copied to clipboard

Removes the specified Availability Zones from the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.

Link copied to clipboard

Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.

Link copied to clipboard

Modifies the attributes of the specified load balancer.

Link copied to clipboard

Adds the specified instances to the specified load balancer.

Link copied to clipboard

Removes one or more tags from the specified load balancer.

Link copied to clipboard

Sets the certificate that terminates the specified listener's SSL connections. The specified certificate replaces any prior certificate that was used on the same load balancer and port.

Link copied to clipboard

Replaces the set of policies associated with the specified port on which the EC2 instance is listening with a new set of policies. At this time, only the back-end server authentication policy type can be applied to the instance ports; this policy type is composed of multiple public key policies.

Link copied to clipboard

Replaces the current set of policies for the specified load balancer port with the specified set of policies.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.