@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-25T18:29:07.821Z")
public interface BaseLoadBalancerProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; import software.amazon.awscdk.services.elasticloadbalancingv2.*; Subnet subnet; SubnetFilter subnetFilter; Vpc vpc; BaseLoadBalancerProps baseLoadBalancerProps = BaseLoadBalancerProps.builder() .vpc(vpc) // the properties below are optional .deletionProtection(false) .internetFacing(false) .loadBalancerName("loadBalancerName") .vpcSubnets(SubnetSelection.builder() .availabilityZones(List.of("availabilityZones")) .onePerAz(false) .subnetFilters(List.of(subnetFilter)) .subnetGroupName("subnetGroupName") .subnetName("subnetName") .subnets(List.of(subnet)) .subnetType(SubnetType.ISOLATED) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
BaseLoadBalancerProps.Builder
A builder for
BaseLoadBalancerProps |
static class |
BaseLoadBalancerProps.Jsii$Proxy
An implementation for
BaseLoadBalancerProps |
Modifier and Type | Method and Description |
---|---|
static BaseLoadBalancerProps.Builder |
builder() |
default java.lang.Boolean |
getDeletionProtection()
Indicates whether deletion protection is enabled.
|
default java.lang.Boolean |
getInternetFacing()
Whether the load balancer has an internet-routable address.
|
default java.lang.String |
getLoadBalancerName()
Name of the load balancer.
|
IVpc |
getVpc()
The VPC network to place the load balancer in.
|
default SubnetSelection |
getVpcSubnets()
Which subnets place the load balancer in.
|
IVpc getVpc()
default java.lang.Boolean getDeletionProtection()
Default: false
default java.lang.Boolean getInternetFacing()
Default: false
default java.lang.String getLoadBalancerName()
Default: - Automatically generated name.
default SubnetSelection getVpcSubnets()
Default: - the Vpc default strategy.
static BaseLoadBalancerProps.Builder builder()
BaseLoadBalancerProps.Builder
of BaseLoadBalancerProps