Interface NetworkLoadBalancerProps
- All Superinterfaces:
BaseLoadBalancerProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkLoadBalancerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.89.0 (build 2f74b3e)",
date="2023-10-26T00:56:07.997Z")
@Stability(Stable)
public interface NetworkLoadBalancerProps
extends software.amazon.jsii.JsiiSerializable, BaseLoadBalancerProps
Properties for a network load balancer.
Example:
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
Vpc vpc = new Vpc(this, "VPC");
NetworkLoadBalancer nlb = NetworkLoadBalancer.Builder.create(this, "NLB")
.vpc(vpc)
.build();
VpcLink link = VpcLink.Builder.create(this, "link")
.targets(List.of(nlb))
.build();
Integration integration = Integration.Builder.create()
.type(IntegrationType.HTTP_PROXY)
.options(IntegrationOptions.builder()
.connectionType(ConnectionType.VPC_LINK)
.vpcLink(link)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forNetworkLoadBalancerPropsstatic final classAn implementation forNetworkLoadBalancerProps -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.BaseLoadBalancerProps
getDeletionProtection, getInternetFacing, getLoadBalancerName, getVpc, getVpcSubnetsMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCrossZoneEnabled
Indicates whether cross-zone load balancing is enabled.Default: false
-
builder
- Returns:
- a
NetworkLoadBalancerProps.BuilderofNetworkLoadBalancerProps
-