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

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS 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 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