Skip to content

AvailabilityZone

Source code in docs_src/capo_elastic_load_balancing_v2/types/availability_zone.py
class AvailabilityZone(TypedDict, closed=True):
    zone_name: NotRequired["capo_elastic_load_balancing_v2.types.zone_name.ZoneName"]
    """<p>The name of the Availability Zone.</p>"""
    subnet_id: NotRequired["capo_elastic_load_balancing_v2.types.subnet_id.SubnetId"]
    """<p>The ID of the subnet. You can specify one subnet per Availability Zone.</p>"""
    outpost_id: NotRequired["capo_elastic_load_balancing_v2.types.outpost_id.OutpostId"]
    """<p>[Application Load Balancers on Outposts] The ID of the Outpost.</p>"""
    load_balancer_addresses: NotRequired[
        "capo_elastic_load_balancing_v2.types.load_balancer_addresses.LoadBalancerAddresses"
    ]
    """<p>[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.</p>"""
    source_nat_ipv6_prefixes: NotRequired[
        "capo_elastic_load_balancing_v2.types.source_nat_ipv6_prefixes.SourceNatIpv6Prefixes"
    ]
    """<p>[Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, 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>"""

load_balancer_addresses instance-attribute

load_balancer_addresses: NotRequired[LoadBalancerAddresses]

[Network Load Balancers] If you need static IP addresses for your load balancer, you can specify one Elastic IP address per Availability Zone when you create an internal-facing load balancer. For internal load balancers, you can specify a private IP address from the IPv4 range of the subnet.

outpost_id instance-attribute

outpost_id: NotRequired[OutpostId]

[Application Load Balancers on Outposts] The ID of the Outpost.

source_nat_ipv6_prefixes instance-attribute

source_nat_ipv6_prefixes: NotRequired[SourceNatIpv6Prefixes]

[Network Load Balancers with UDP listeners] The IPv6 prefixes to use for source NAT. For each subnet, 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. You can specify one subnet per Availability Zone.

zone_name instance-attribute

zone_name: NotRequired[ZoneName]

The name of the Availability Zone.