Skip to main content

static_ip

Gets an individual static_ip resource

Overview

Namestatic_ip
TypeResource
Descriptionstatic_ip
Idawscc.lightsail.static_ip

Fields

NameDatatypeDescription
static_ip_namestringThe name of the static IP address.
attached_tostringThe instance where the static IP is attached.
is_attachedbooleanA Boolean value indicating whether the static IP is attached.
ip_addressstringThe static IP address.
static_ip_arnstring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
static_ip_name,
attached_to,
is_attached,
ip_address,
static_ip_arn
FROM awscc.lightsail.static_ip
WHERE data__Identifier = '<StaticIpName>';

Permissions

To operate on the static_ip resource, the following permissions are required:

Read

lightsail:GetStaticIp,
lightsail:GetStaticIps

Update

lightsail:AttachStaticIp,
lightsail:DetachStaticIp,
lightsail:GetInstance,
lightsail:GetStaticIp,
lightsail:GetStaticIps

Delete

lightsail:GetStaticIp,
lightsail:GetStaticIps,
lightsail:ReleaseStaticIp