Show / Hide Table of Contents

Class CfnStaticIpProps

Properties for defining a CfnStaticIp.

Inheritance
object
CfnStaticIpProps
Implements
ICfnStaticIpProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 CfnStaticIp.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html#cfn-lightsail-staticip-attachedto

StaticIpName

The name of the static IP.

public string StaticIpName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-staticip.html#cfn-lightsail-staticip-staticipname

Implements

ICfnStaticIpProps
Back to top Generated by DocFX