AWS::Lightsail::Container PortInfo - AWS CloudFormation

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 AWS 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