AWS::Lightsail::StaticIpResource Type definition for AWS::Lightsail::StaticIp
2 configurable properties. 1 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
StaticIpName | string | RequiredCreate-only |
AttachedTo | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
IpAddress | string | The static IP address. |
IsAttached | boolean | A Boolean value indicating whether the static IP is attached. |
StaticIpArn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::Lightsail::StaticIp
Resources:
MyResource:
Type: AWS::Lightsail::StaticIp
Properties:
StaticIpName: "my-staticipname"Permissions CloudFormation needs in your IAM role to manage this resource.
lightsail:AllocateStaticIplightsail:AttachStaticIplightsail:DetachStaticIplightsail:GetInstancelightsail:GetStaticIplightsail:GetStaticIpslightsail:GetStaticIplightsail:GetStaticIpslightsail:AttachStaticIplightsail:DetachStaticIplightsail:GetInstancelightsail:GetStaticIplightsail:GetStaticIpslightsail:GetStaticIplightsail:GetStaticIpslightsail:ReleaseStaticIplightsail:GetStaticIpsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterStaticIpNameThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
StaticIpName