Skip to content

ContainerGroupPortMapping

Source code in docs_src/capo_gamelift/types/container_group_port_mapping.py
class ContainerGroupPortMapping(TypedDict, closed=True):
    container_name: NotRequired[
        "capo_gamelift.types.non_zero_and128_max_ascii_string.NonZeroAnd128MaxAsciiString"
    ]
    """<p>The name of the container, as defined in the container group definition.</p>"""
    container_runtime_id: NotRequired[
        "capo_gamelift.types.non_empty_string.NonEmptyString"
    ]
    """<p>The runtime ID for the container that's running in a compute. This value is unique within the compute.</p>"""
    container_port_mappings: NotRequired[
        "capo_gamelift.types.container_port_mapping_list.ContainerPortMappingList"
    ]
    """<p>A list of <code>ContainerPortMapping</code> objects that describe the port mappings for this container.</p>"""

container_name instance-attribute

container_name: NotRequired[NonZeroAnd128MaxAsciiString]

The name of the container, as defined in the container group definition.

container_port_mappings instance-attribute

container_port_mappings: NotRequired[ContainerPortMappingList]

A list of ContainerPortMapping objects that describe the port mappings for this container.

container_runtime_id instance-attribute

container_runtime_id: NotRequired[NonEmptyString]

The runtime ID for the container that's running in a compute. This value is unique within the compute.