AWS::Lightsail::Container PortInfo - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Lightsail::Container PortInfo

PortInfo is a property of the Container property. It describes the ports to open and the protocols to use for a container on a Amazon Lightsail container service.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "Port" : String, "Protocol" : String }

YAML

Port: String Protocol: String

Properties

Port

The open firewall ports of the container.

Required: No

Type: String

Update requires: No interruption

Protocol

The protocol name for the open ports.

Allowed values: HTTP | HTTPS | TCP | UDP

Required: No

Type: String

Update requires: No interruption