Skip to main content

ip_address_types

Creates, updates, deletes, gets or lists an ip_address_types resource.

Overview

Nameip_address_types
TypeResource
Idaws.lightsail.ip_address_types

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
set_ip_address_typeupdateregion, resourceType, resourceName, ipAddressTypeSets the IP address type for an Amazon Lightsail resource. Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

UPDATE examples

Sets the IP address type for an Amazon Lightsail resource. Use this action to enable dual-stack for a resource, which enables IPv4 and IPv6 for the specified resource. Alternately, you can use this action to disable dual-stack, and enable IPv4 only.

UPDATE aws.lightsail.ip_address_types
SET
resourceType = '{{ resourceType }}',
resourceName = '{{ resourceName }}',
ipAddressType = '{{ ipAddressType }}',
acceptBundleUpdate = {{ acceptBundleUpdate }}
WHERE
region = '{{ region }}' --required
AND resourceType = '{{ resourceType }}' --required
AND resourceName = '{{ resourceName }}' --required
AND ipAddressType = '{{ ipAddressType }}' --required
RETURNING
operations;