Skip to content

SubnetMapping

Source code in docs_src/capo_elastic_load_balancing_v2/types/subnet_mapping.py
class SubnetMapping(TypedDict, closed=True):
    subnet_id: NotRequired["capo_elastic_load_balancing_v2.types.subnet_id.SubnetId"]
    """<p>The ID of the subnet.</p>"""
    allocation_id: NotRequired[
        "capo_elastic_load_balancing_v2.types.allocation_id.AllocationId"
    ]
    """<p>[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.</p>"""
    private_i_pv4_address: NotRequired[
        "capo_elastic_load_balancing_v2.types.private_i_pv4_address.PrivateIPv4Address"
    ]
    """<p>[Network Load Balancers] The private IPv4 address for an internal load balancer.</p>"""
    i_pv6_address: NotRequired[
        "capo_elastic_load_balancing_v2.types.i_pv6_address.IPv6Address"
    ]
    """<p>[Network Load Balancers] The IPv6 address.</p>"""
    source_nat_ipv6_prefix: NotRequired[
        "capo_elastic_load_balancing_v2.types.source_nat_ipv6_prefix.SourceNatIpv6Prefix"
    ]
    """<p>[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or <code>auto_assigned</code> to use an IPv6 prefix selected at random from the subnet CIDR block.</p>"""

allocation_id instance-attribute

allocation_id: NotRequired[AllocationId]

[Network Load Balancers] The allocation ID of the Elastic IP address for an internet-facing load balancer.

i_pv6_address instance-attribute

i_pv6_address: NotRequired[IPv6Address]

[Network Load Balancers] The IPv6 address.

private_i_pv4_address instance-attribute

private_i_pv4_address: NotRequired[PrivateIPv4Address]

[Network Load Balancers] The private IPv4 address for an internal load balancer.

source_nat_ipv6_prefix instance-attribute

source_nat_ipv6_prefix: NotRequired[SourceNatIpv6Prefix]

[Network Load Balancers with UDP listeners] The IPv6 prefix to use for source NAT. Specify an IPv6 prefix (/80 netmask) from the subnet CIDR block or auto_assigned to use an IPv6 prefix selected at random from the subnet CIDR block.

subnet_id instance-attribute

subnet_id: NotRequired[SubnetId]

The ID of the subnet.