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
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html
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.