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

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

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: