@Stability(value=Stable) public static final class CfnLoadBalancer.ListenersProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLoadBalancer.ListenersProperty>
CfnLoadBalancer.ListenersProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty.Builder instancePort(String instancePort)
CfnLoadBalancer.ListenersProperty.getInstancePort()instancePort - The port on which the instance is listening. This parameter is required.this@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty.Builder loadBalancerPort(String loadBalancerPort)
CfnLoadBalancer.ListenersProperty.getLoadBalancerPort()loadBalancerPort - The port on which the load balancer is listening. This parameter is required.
On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.this@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty.Builder protocol(String protocol)
CfnLoadBalancer.ListenersProperty.getProtocol()protocol - The load balancer transport protocol to use for routing: HTTP, HTTPS, TCP, or SSL. This parameter is required.this@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty.Builder instanceProtocol(String instanceProtocol)
CfnLoadBalancer.ListenersProperty.getInstanceProtocol()instanceProtocol - The protocol to use for routing traffic to instances: HTTP, HTTPS, TCP, or SSL.
If the front-end protocol is TCP or SSL, the back-end protocol must be TCP or SSL. If the front-end protocol is HTTP or HTTPS, the back-end protocol must be HTTP or HTTPS.
If there is another listener with the same InstancePort whose InstanceProtocol is secure, (HTTPS or SSL), the listener's InstanceProtocol must also be secure.
If there is another listener with the same InstancePort whose InstanceProtocol is HTTP or TCP, the listener's InstanceProtocol must be HTTP or TCP.
this@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty.Builder policyNames(List<String> policyNames)
CfnLoadBalancer.ListenersProperty.getPolicyNames()policyNames - The names of the policies to associate with the listener.this@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty.Builder sslCertificateId(String sslCertificateId)
CfnLoadBalancer.ListenersProperty.getSslCertificateId()sslCertificateId - The Amazon Resource Name (ARN) of the server certificate.this@Stability(value=Stable) public CfnLoadBalancer.ListenersProperty build()
build in interface software.amazon.jsii.Builder<CfnLoadBalancer.ListenersProperty>CfnLoadBalancer.ListenersPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.