static_ip
Gets an individual static_ip
resource
Overview
Name | static_ip |
Type | Resource |
Description | static_ip |
Id | awscc.lightsail.static_ip |
Fields
Name | Datatype | Description |
---|---|---|
static_ip_name | string | The name of the static IP address. |
attached_to | string | The instance where the static IP is attached. |
is_attached | boolean | A Boolean value indicating whether the static IP is attached. |
ip_address | string | The static IP address. |
static_ip_arn | string | |
region | string | AWS 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