View a markdown version of this page

AWS::Transfer::Server SftpPortWithOptions - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Transfer::Server 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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "CommunicationMode" : String, "SftpPort" : Integer }

YAML

CommunicationMode: String SftpPort: Integer

Properties

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.

Required: No

Type: String

Allowed values: CLIENT_TALK_FIRST | SERVER_TALK_FIRST

Update requires: Some interruptions

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.

Required: Yes

Type: Integer

Minimum: 1

Maximum: 65535

Update requires: Some interruptions