Class: Aws::Transfer::Types::SftpPortWithOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#communication_mode ⇒ String

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.

Returns:

  • (String)


6425
6426
6427
6428
6429
6430
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 6425

class SftpPortWithOptions < Struct.new(
  :sftp_port,
  :communication_mode)
  SENSITIVE = []
  include Aws::Structure
end

#sftp_port ⇒ Integer

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.

Returns:

  • (Integer)


6425
6426
6427
6428
6429
6430
# File 'gems/aws-sdk-transfer/lib/aws-sdk-transfer/types.rb', line 6425

class SftpPortWithOptions < Struct.new(
  :sftp_port,
  :communication_mode)
  SENSITIVE = []
  include Aws::Structure
end