Menu
Amazon Lightsail
REST API Reference (API Version 2016-11-28)

PortInfo

Describes information about the ports on your virtual private server (or instance).

Contents

fromPort

The first port in the range.

Type: Integer

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

Required: No

protocol

The protocol.

Type: String

Valid Values: tcp | all | udp

Required: No

toPort

The last port in the range.

Type: Integer

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

Required: No

See Also

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

On this page: