Class CfnStaticIpProps
Properties for defining a CfnStaticIp
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnStaticIpProps : ICfnStaticIpProps
Syntax (vb)
Public Class CfnStaticIpProps Implements ICfnStaticIpProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var cfnStaticIpProps = new CfnStaticIpProps {
StaticIpName = "staticIpName",
// the properties below are optional
AttachedTo = "attachedTo"
};
Synopsis
Constructors
CfnStaticIpProps() | Properties for defining a |
Properties
AttachedTo | The instance that the static IP is attached to. |
StaticIpName | The name of the static IP. |
Constructors
CfnStaticIpProps()
Properties for defining a CfnStaticIp
.
public CfnStaticIpProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var cfnStaticIpProps = new CfnStaticIpProps {
StaticIpName = "staticIpName",
// the properties below are optional
AttachedTo = "attachedTo"
};
Properties
AttachedTo
The instance that the static IP is attached to.
public string? AttachedTo { get; set; }
Property Value
Remarks
StaticIpName
The name of the static IP.
public string StaticIpName { get; set; }