Show / Hide Table of Contents

Interface CfnNetworkInterface.IPrivateIpAddressSpecificationProperty

Describes a secondary private IPv4 address for a network interface.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface IPrivateIpAddressSpecificationProperty
Syntax (vb)
Public Interface IPrivateIpAddressSpecificationProperty
Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-privateipaddressspecification.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.EC2;

PrivateIpAddressSpecificationProperty privateIpAddressSpecificationProperty = new PrivateIpAddressSpecificationProperty {
    Primary = false,
    PrivateIpAddress = "privateIpAddress"
};

Synopsis

Properties

Primary

Sets the private IP address as the primary private address.

PrivateIpAddress

The private IP address of the network interface.

Properties

Primary

Sets the private IP address as the primary private address.

object Primary { get; }
Property Value

System.Object

Remarks

You can set only one primary private IP address. If you don't specify a primary private IP address, Amazon EC2 automatically assigns a primary private IP address.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-privateipaddressspecification.html#cfn-ec2-networkinterface-privateipaddressspecification-primary

PrivateIpAddress

The private IP address of the network interface.

string PrivateIpAddress { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-networkinterface-privateipaddressspecification.html#cfn-ec2-networkinterface-privateipaddressspecification-privateipaddress

Back to top Generated by DocFX