View a markdown version of this page

PortSpecification - AWS Lambda MicroVMs

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 AWS SDKs, see the following: