Skip to content

SetIpAddressTypeRequest

Source code in docs_src/capo_lightsail/types/set_ip_address_type_request.py
class SetIpAddressTypeRequest(TypedDict, closed=True):
    resource_type: "capo_lightsail.types.resource_type.ResourceType"
    """<p>The resource type.</p> <p>The resource values are <code>Distribution</code>, <code>Instance</code>, and <code>LoadBalancer</code>.</p> <note> <p>Distribution-related APIs are available only in the N. Virginia (<code>us-east-1</code>) Amazon Web Services Region. Set your Amazon Web Services Region configuration to <code>us-east-1</code> to create, view, or edit distributions.</p> </note>"""
    resource_name: "capo_lightsail.types.resource_name.ResourceName"
    """<p>The name of the resource for which to set the IP address type.</p>"""
    ip_address_type: "capo_lightsail.types.ip_address_type.IpAddressType"
    """<p>The IP address type to set for the specified resource.</p> <p>The possible values are <code>ipv4</code> for IPv4 only, <code>ipv6</code> for IPv6 only, and <code>dualstack</code> for IPv4 and IPv6.</p>"""
    accept_bundle_update: NotRequired["capo_lightsail.types.boolean.boolean"]
    """<p>Required parameter to accept the instance bundle update when changing to, and from, IPv6-only.</p> <note> <p>An instance bundle will change when switching from <code>dual-stack</code> or <code>ipv4</code>, to <code>ipv6</code>. It also changes when switching from <code>ipv6</code>, to <code>dual-stack</code> or <code>ipv4</code>.</p> <p>You must include this parameter in the command to update the bundle. For example, if you switch from <code>dual-stack</code> to <code>ipv6</code>, the bundle will be updated, and billing for the IPv6-only instance bundle begins immediately.</p> </note>"""

accept_bundle_update instance-attribute

accept_bundle_update: NotRequired[boolean]

Required parameter to accept the instance bundle update when changing to, and from, IPv6-only.

An instance bundle will change when switching from dual-stack or ipv4, to ipv6. It also changes when switching from ipv6, to dual-stack or ipv4.

You must include this parameter in the command to update the bundle. For example, if you switch from dual-stack to ipv6, the bundle will be updated, and billing for the IPv6-only instance bundle begins immediately.

ip_address_type instance-attribute

ip_address_type: IpAddressType

The IP address type to set for the specified resource.

The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

resource_name instance-attribute

resource_name: ResourceName

The name of the resource for which to set the IP address type.

resource_type instance-attribute

resource_type: ResourceType

The resource type.

The resource values are Distribution, Instance, and LoadBalancer.

Distribution-related APIs are available only in the N. Virginia (us-east-1) Amazon Web Services Region. Set your Amazon Web Services Region configuration to us-east-1 to create, view, or edit distributions.