interface CfnStaticIpProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnStaticIpProps |
Java | software.amazon.awscdk.services.lightsail.CfnStaticIpProps |
Python | aws_cdk.aws_lightsail.CfnStaticIpProps |
TypeScript | @aws-cdk/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 * as lightsail from '@aws-cdk/aws-lightsail';
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.