View a markdown version of this page

PortSpecification - Amazon Lambda MicroVMs
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).

PortSpecification

Specifies which ports are accessible on a MicroVM. Only one of the port specification options can be set.

Contents

Important

This data type is a UNION, so only one of the following members can be specified when used or returned.

allPorts

Indicates that all ports are accessible.

Type: Structure

Required: No

port

A single port number.

Type: Integer

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

Required: No

range

A range of ports.

Type: PortRange object

Required: No

See Also

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