aws-cdk-lib.aws_lightsail.CfnStaticIpProps

interface CfnStaticIpProps

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnStaticIpProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnStaticIpProps
Javasoftware.amazon.awscdk.services.lightsail.CfnStaticIpProps
Pythonaws_cdk.aws_lightsail.CfnStaticIpProps
TypeScript aws-cdk-lib » aws_lightsail » CfnStaticIpProps

Properties for defining a CfnStaticIp.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnStaticIpProps: lightsail.CfnStaticIpProps = {
  staticIpName: 'staticIpName',

  // the properties below are optional
  attachedTo: 'attachedTo',
};

Properties

NameTypeDescription
staticIpNamestringThe name of the static IP.
attachedTo?stringThe instance that the static IP is attached to.

staticIpName

Type: string

The name of the static IP.


attachedTo?

Type: string (optional)

The instance that the static IP is attached to.