ServerProtocolDetails

data class ServerProtocolDetails(val as2Transports: List<ServerAs2Transport>? = null, val passiveIp: String? = null, val setStatOption: ServerSetStatOption? = null, val tlsSessionResumptionMode: ServerTlsSessionResumptionMode? = null)

Constructors

Link copied to clipboard
constructor(as2Transports: List<ServerAs2Transport>? = null, passiveIp: String? = null, setStatOption: ServerSetStatOption? = null, tlsSessionResumptionMode: ServerTlsSessionResumptionMode? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of As2Transport objects.

Link copied to clipboard
val passiveIp: String? = null

Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as the public IP address of a firewall, router, or load balancer. For example: aws transfer update-server --protocol-details PassiveIp=0.0.0.0 Replace 0.0.0.0 in the example above with the actual IP address you want to use.

Link copied to clipboard

Use the SetStatOption to ignore the error that is generated when the client attempts to use SETSTAT on a file you are uploading to an S3 bucket. Some SFTP file transfer clients can attempt to change the attributes of remote files, including timestamp and permissions, using commands, such as SETSTAT when uploading the file. However, these commands are not compatible with object storage systems, such as Amazon S3. Due to this incompatibility, file uploads from these clients can result in errors even when the file is otherwise successfully uploaded. Set the value to ENABLE_NO_OP to have the Transfer Family server ignore the SETSTAT command, and upload files without needing to make any changes to your SFTP client. While the SetStatOption ENABLE_NO_OP setting ignores the error, it does generate a log entry in Amazon CloudWatch Logs, so you can determine when the client is making a SETSTAT call.

Link copied to clipboard

A property used with Transfer Family 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.