View a markdown version of this page

SftpPortWithOptions - AWS Transfer Family

SftpPortWithOptions

Specifies the configuration for a single SFTP port on a Transfer Family server that uses the SFTP protocol and has a PUBLIC endpoint. Each entry in the SftpPorts list is an SftpPortWithOptions object that pairs a port number with a communication mode.

Contents

SftpPort

The port on which the Transfer Family server listens for SFTP connections. Specify any integer from 2000 to 65535, or 22. This value is required for each entry in the SftpPorts list.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 65535.

Required: Yes

CommunicationMode

Determines whether the server or the client sends data first when a client establishes an SFTP connection on this port. Valid values are SERVER_TALK_FIRST and CLIENT_TALK_FIRST. For a description of each mode, see the SftpPorts property. This value is optional.

Type: String

Valid Values: CLIENT_TALK_FIRST | SERVER_TALK_FIRST

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: