aws-cdk-lib.aws_lightsail.CfnStaticIpProps
interface CfnStaticIpProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Lightsail.CfnStaticIpProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnStaticIpProps |
![]() | software.amazon.awscdk.services.lightsail.CfnStaticIpProps |
![]() | aws_cdk.aws_lightsail.CfnStaticIpProps |
![]() | 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
Name | Type | Description |
---|---|---|
static | string | The name of the static IP. |
attached | string | The 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.