@Stability(value=Stable) public static final class CfnListenerProps.Builder extends Object implements software.amazon.jsii.Builder<CfnListenerProps>
CfnListenerProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnListenerProps.Builder defaultActions(IResolvable defaultActions)
CfnListenerProps.getDefaultActions()defaultActions - The actions for the default rule. You cannot define a condition for a default rule. This parameter is required.
To create additional rules for an Application Load Balancer, use AWS::ElasticLoadBalancingV2::ListenerRule .this@Stability(value=Stable) public CfnListenerProps.Builder defaultActions(List<? extends Object> defaultActions)
CfnListenerProps.getDefaultActions()defaultActions - The actions for the default rule. You cannot define a condition for a default rule. This parameter is required.
To create additional rules for an Application Load Balancer, use AWS::ElasticLoadBalancingV2::ListenerRule .this@Stability(value=Stable) public CfnListenerProps.Builder loadBalancerArn(String loadBalancerArn)
CfnListenerProps.getLoadBalancerArn()loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer. This parameter is required.this@Stability(value=Stable) public CfnListenerProps.Builder alpnPolicy(List<String> alpnPolicy)
CfnListenerProps.getAlpnPolicy()alpnPolicy - [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.this@Stability(value=Stable) public CfnListenerProps.Builder certificates(IResolvable certificates)
CfnListenerProps.getCertificates()certificates - The default SSL server certificate for a secure listener.
You must provide exactly one certificate if the listener protocol is HTTPS or TLS.
To create a certificate list for a secure listener, use AWS::ElasticLoadBalancingV2::ListenerCertificate .
this@Stability(value=Stable) public CfnListenerProps.Builder certificates(List<? extends Object> certificates)
CfnListenerProps.getCertificates()certificates - The default SSL server certificate for a secure listener.
You must provide exactly one certificate if the listener protocol is HTTPS or TLS.
To create a certificate list for a secure listener, use AWS::ElasticLoadBalancingV2::ListenerCertificate .
this@Stability(value=Stable) public CfnListenerProps.Builder port(Number port)
CfnListenerProps.getPort()port - The port on which the load balancer is listening.
You cannot specify a port for a Gateway Load Balancer.this@Stability(value=Stable) public CfnListenerProps.Builder protocol(String protocol)
CfnListenerProps.getProtocol()protocol - The protocol for connections from clients to the load balancer.
For Application Load Balancers, the supported protocols are HTTP and HTTPS. For Network Load Balancers, the supported protocols are TCP, TLS, UDP, and TCP_UDP. You can’t specify the UDP or TCP_UDP protocol if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.this@Stability(value=Stable) public CfnListenerProps.Builder sslPolicy(String sslPolicy)
CfnListenerProps.getSslPolicy()sslPolicy - [HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.
For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide .this@Stability(value=Stable) public CfnListenerProps build()
build in interface software.amazon.jsii.Builder<CfnListenerProps>CfnListenerPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.