Interface ApplicationLoadBalancerProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- ApplicationLoadBalancerProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
           date="2023-06-19T16:30:48.705Z")
@Stability(Stable)
public interface ApplicationLoadBalancerProps
extends software.amazon.jsii.JsiiSerializable
Properties to define an application 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.certificatemanager.*;
 import software.amazon.awscdk.services.ecs.patterns.*;
 import software.amazon.awscdk.services.elasticloadbalancingv2.*;
 import software.amazon.awscdk.services.route53.*;
 Certificate certificate;
 HostedZone hostedZone;
 ApplicationLoadBalancerProps applicationLoadBalancerProps = ApplicationLoadBalancerProps.builder()
         .listeners(List.of(ApplicationListenerProps.builder()
                 .name("name")
                 // the properties below are optional
                 .certificate(certificate)
                 .port(123)
                 .protocol(ApplicationProtocol.HTTP)
                 .sslPolicy(SslPolicy.RECOMMENDED)
                 .build()))
         .name("name")
         // the properties below are optional
         .domainName("domainName")
         .domainZone(hostedZone)
         .publicLoadBalancer(false)
         .build();
 - 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forApplicationLoadBalancerPropsstatic final classAn implementation forApplicationLoadBalancerProps
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()default StringThe domain name for the service, e.g.default IHostedZoneThe 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 BooleanDetermines whether the Load Balancer will be internet-facing.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getListenersListeners (at least one listener) attached to this load balancer.
- 
getNameName of the load balancer.
- 
getDomainNameThe domain name for the service, e.g. "api.example.com.".Default: - No domain name. 
- 
getDomainZoneThe Route53 hosted zone for the domain, e.g. "example.com.".Default: - No Route53 hosted domain zone. 
- 
getPublicLoadBalancerDetermines whether the Load Balancer will be internet-facing.Default: true 
- 
builder
 
-