AWS::Lightsail::StaticIpThe `AWS::Lightsail::StaticIp` resource specifies a static IP that can be attached to an Amazon Lightsail instance that is in the same AWS Region and Availability Zone.
import { CfnStaticIp } from 'aws-cdk-lib/aws-lightsail';Or use the module namespace:
import * as lightsail from 'aws-cdk-lib/aws-lightsail';
// lightsail.CfnStaticIpConfiguration passed to the constructor as CfnStaticIpProps.
staticIpNameRequiredstringThe name of the static IP.
attachedToOptionalstringThe instance that the static IP is attached to.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-lightsailAWS::Lightsail::StaticIp