Interface NetworkLoadBalancerProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NetworkLoadBalancerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-10-31T19:12:57.627Z")
@Stability(Stable)
public interface NetworkLoadBalancerProps
extends software.amazon.jsii.JsiiSerializable
Properties to define an network load balancer.
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.ecs.patterns.*; import software.amazon.awscdk.services.route53.*; HostedZone hostedZone; NetworkLoadBalancerProps networkLoadBalancerProps = NetworkLoadBalancerProps.builder() .listeners(List.of(NetworkListenerProps.builder() .name("name") // the properties below are optional .port(123) .build())) .name("name") // the properties below are optional .domainName("domainName") .domainZone(hostedZone) .publicLoadBalancer(false) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forNetworkLoadBalancerProps
static final class
An implementation forNetworkLoadBalancerProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The domain name for the service, e.g.default IHostedZone
The Route53 hosted zone for the domain, e.g.Listeners (at least one listener) attached to this load balancer.getName()
Name of the load balancer.default Boolean
Determines whether the Load Balancer will be internet-facing.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getListeners
Listeners (at least one listener) attached to this load balancer.Default: - none
-
getName
Name of the load balancer. -
getDomainName
The domain name for the service, e.g. "api.example.com.".Default: - No domain name.
-
getDomainZone
The Route53 hosted zone for the domain, e.g. "example.com.".Default: - No Route53 hosted domain zone.
-
getPublicLoadBalancer
Determines whether the Load Balancer will be internet-facing.Default: true
-
builder
- Returns:
- a
NetworkLoadBalancerProps.Builder
ofNetworkLoadBalancerProps
-