Skip to content

PortMapping

Source code in docs_src/capo_global_accelerator/types/port_mapping.py
class PortMapping(TypedDict, closed=True):
    accelerator_port: NotRequired[
        "capo_global_accelerator.types.port_number.PortNumber"
    ]
    """<p>The accelerator port.</p>"""
    endpoint_group_arn: NotRequired[
        "capo_global_accelerator.types.generic_string.GenericString"
    ]
    """<p>The Amazon Resource Name (ARN) of the endpoint group.</p>"""
    endpoint_id: NotRequired[
        "capo_global_accelerator.types.generic_string.GenericString"
    ]
    """<p>The IP address of the VPC subnet (the subnet ID).</p>"""
    destination_socket_address: NotRequired[
        "capo_global_accelerator.types.socket_address.SocketAddress"
    ]
    """<p>The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.</p>"""
    protocols: NotRequired[
        "capo_global_accelerator.types.custom_routing_protocols.CustomRoutingProtocols"
    ]
    """<p>The protocols supported by the endpoint group.</p>"""
    destination_traffic_state: NotRequired[
        "capo_global_accelerator.types.custom_routing_destination_traffic_state.CustomRoutingDestinationTrafficState"
    ]
    """<p>Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.</p>"""

accelerator_port instance-attribute

accelerator_port: NotRequired[PortNumber]

The accelerator port.

destination_socket_address instance-attribute

destination_socket_address: NotRequired[SocketAddress]

The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

destination_traffic_state instance-attribute

destination_traffic_state: NotRequired[CustomRoutingDestinationTrafficState]

Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.

endpoint_group_arn instance-attribute

endpoint_group_arn: NotRequired[GenericString]

The Amazon Resource Name (ARN) of the endpoint group.

endpoint_id instance-attribute

endpoint_id: NotRequired[GenericString]

The IP address of the VPC subnet (the subnet ID).

protocols instance-attribute

protocols: NotRequired[CustomRoutingProtocols]

The protocols supported by the endpoint group.