GitHub

ContainerPort

API reference for ContainerPort.

ContainerPort represents a network port in a single container.

Attributes

AttributeTypeDescription
containerPortint
hostIPNotRequired[str]
hostPortNotRequired[int]
nameNotRequired[str]
protocolNotRequired[str]