Interface BaseLoadBalancerProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
ApplicationLoadBalancerProps, NetworkLoadBalancerProps
All Known Implementing Classes:
ApplicationLoadBalancerProps.Jsii$Proxy, BaseLoadBalancerProps.Jsii$Proxy, NetworkLoadBalancerProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-09-15T14:51:57.513Z") @Stability(Stable) public interface BaseLoadBalancerProps extends software.amazon.jsii.JsiiSerializable
Shared properties of both Application and Network Load Balancers.

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
         .crossZoneEnabled(false)
         .deletionProtection(false)
         .denyAllIgwTraffic(false)
         .internetFacing(false)
         .loadBalancerName("loadBalancerName")
         .minimumCapacityUnit(123)
         .vpcSubnets(SubnetSelection.builder()
                 .availabilityZones(List.of("availabilityZones"))
                 .onePerAz(false)
                 .subnetFilters(List.of(subnetFilter))
                 .subnetGroupName("subnetGroupName")
                 .subnets(List.of(subnet))
                 .subnetType(SubnetType.PRIVATE_ISOLATED)
                 .build())
         .build();
 
  • Method Details