@Stability(value=Stable) public static final class CfnServer.ProtocolDetailsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnServer.ProtocolDetailsProperty>
CfnServer.ProtocolDetailsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnServer.ProtocolDetailsProperty |
build()
Builds the configured instance.
|
CfnServer.ProtocolDetailsProperty.Builder |
passiveIp(String passiveIp)
Sets the value of
CfnServer.ProtocolDetailsProperty.getPassiveIp() |
CfnServer.ProtocolDetailsProperty.Builder |
tlsSessionResumptionMode(String tlsSessionResumptionMode)
Sets the value of
CfnServer.ProtocolDetailsProperty.getTlsSessionResumptionMode() |
@Stability(value=Stable) public CfnServer.ProtocolDetailsProperty.Builder passiveIp(String passiveIp)
CfnServer.ProtocolDetailsProperty.getPassiveIp()passiveIp - Indicates passive mode, for FTP and FTPS protocols.
Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer.this@Stability(value=Stable) public CfnServer.ProtocolDetailsProperty.Builder tlsSessionResumptionMode(String tlsSessionResumptionMode)
CfnServer.ProtocolDetailsProperty.getTlsSessionResumptionMode()tlsSessionResumptionMode - A property used with Transfer servers that use the FTPS protocol.
TLS Session Resumption provides a mechanism to resume or share a negotiated secret key between the control and data connection for an FTPS session. TlsSessionResumptionMode determines whether or not the server resumes recent, negotiated sessions through a unique session ID. This property is available during CreateServer and UpdateServer calls. If a TlsSessionResumptionMode value is not specified during CreateServer, it is set to ENFORCED by default.
DISABLED : the server does not process TLS session resumption client requests and creates a new TLS session for each request.ENABLED : the server processes and accepts clients that are performing TLS session resumption. The server doesn't reject client data connections that do not perform the TLS session resumption client processing.ENFORCED : the server processes and accepts clients that are performing TLS session resumption. The server rejects client data connections that do not perform the TLS session resumption client processing. Before you set the value to ENFORCED , test your clients.
Not all FTPS clients perform TLS session resumption. So, if you choose to enforce TLS session resumption, you prevent any connections from FTPS clients that don't perform the protocol negotiation. To determine whether or not you can use the
ENFORCEDvalue, you need to test your clients.
this@Stability(value=Stable) public CfnServer.ProtocolDetailsProperty build()
build in interface software.amazon.jsii.Builder<CfnServer.ProtocolDetailsProperty>CfnServer.ProtocolDetailsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.