@Generated(value="jsii-pacmak/1.15.0 (build 585166b)", date="2020-12-17T11:03:55.497Z") @Stability(value=Stable) public interface LoadBalancerProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
LoadBalancerProps.Builder
A builder for
LoadBalancerProps |
static class |
LoadBalancerProps.Jsii$Proxy
An implementation for
LoadBalancerProps |
| Modifier and Type | Method and Description |
|---|---|
static LoadBalancerProps.Builder |
builder() |
default Boolean |
getCrossZone()
Whether cross zone load balancing is enabled.
|
default HealthCheck |
getHealthCheck()
Health check settings for the load balancing targets.
|
default Boolean |
getInternetFacing()
Whether this is an internet-facing Load Balancer.
|
default List<LoadBalancerListener> |
getListeners()
What listeners to set up for the load balancer.
|
default SubnetSelection |
getSubnetSelection()
Which subnets to deploy the load balancer.
|
default List<ILoadBalancerTarget> |
getTargets()
What targets to load balance to.
|
IVpc |
getVpc()
VPC network of the fleet instances.
|
@Stability(value=Stable) @NotNull IVpc getVpc()
@Stability(value=Stable) @Nullable default Boolean getCrossZone()
This controls whether the load balancer evenly distributes requests across each availability zone
Default: true
@Stability(value=Stable) @Nullable default HealthCheck getHealthCheck()
Not required but recommended.
Default: - None.
@Stability(value=Stable) @Nullable default Boolean getInternetFacing()
This controls whether the LB has a public IP address assigned. It does not open up the Load Balancer's security groups to public internet access.
Default: false
@Stability(value=Stable) @Nullable default List<LoadBalancerListener> getListeners()
Can also be added by .addListener()
Default: -
@Stability(value=Stable) @Nullable default SubnetSelection getSubnetSelection()
Can be used to define a specific set of subnets to deploy the load balancer to. Useful multiple public or private subnets are covering the same availability zone.
Default: - Public subnets if internetFacing, Private subnets otherwise
@Stability(value=Stable) @Nullable default List<ILoadBalancerTarget> getTargets()
Can also be added by .addTarget()
Default: - None.
@Stability(value=Stable) static LoadBalancerProps.Builder builder()
LoadBalancerProps.Builder of LoadBalancerPropsCopyright © 2020. All rights reserved.