@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:08.214Z") @Stability(value=Experimental) 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 CfnLoadBalancer.AccessLoggingPolicyProperty |
getAccessLoggingPolicy()
(experimental) Enable Loadbalancer access logs Can be used to avoid manual work as aws console Required S3 bucket name , enabled flag Can add interval for pushing log Can set bucket prefix in order to provide folder name inside bucket.
|
default Boolean |
getCrossZone()
(experimental) Whether cross zone load balancing is enabled.
|
default HealthCheck |
getHealthCheck()
(experimental) Health check settings for the load balancing targets.
|
default Boolean |
getInternetFacing()
(experimental) Whether this is an internet-facing Load Balancer.
|
default List<LoadBalancerListener> |
getListeners()
(experimental) What listeners to set up for the load balancer.
|
default SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to deploy the load balancer.
|
default List<ILoadBalancerTarget> |
getTargets()
(experimental) What targets to load balance to.
|
IVpc |
getVpc()
(experimental) VPC network of the fleet instances.
|
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default CfnLoadBalancer.AccessLoggingPolicyProperty getAccessLoggingPolicy()
Default: - disabled
@Stability(value=Experimental) @Nullable default Boolean getCrossZone()
This controls whether the load balancer evenly distributes requests across each availability zone
Default: true
@Stability(value=Experimental) @Nullable default HealthCheck getHealthCheck()
Not required but recommended.
Default: - None.
@Stability(value=Experimental) @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=Experimental) @Nullable default List<LoadBalancerListener> getListeners()
Can also be added by .addListener()
Default: -
@Stability(value=Experimental) @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=Experimental) @Nullable default List<ILoadBalancerTarget> getTargets()
Can also be added by .addTarget()
Default: - None.
@Stability(value=Experimental) static LoadBalancerProps.Builder builder()
LoadBalancerProps.Builder of LoadBalancerPropsCopyright © 2021. All rights reserved.