PortSpecification - AWS Lambda MicroVMs
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: