Class CfnInstance.PrivateIpAddressSpecificationProperty
Specifies a secondary private IPv4 address for a network interface.
Inheritance
System.Object
CfnInstance.PrivateIpAddressSpecificationProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PrivateIpAddressSpecificationProperty : Object, CfnInstance.IPrivateIpAddressSpecificationProperty
Syntax (vb)
Public Class PrivateIpAddressSpecificationProperty
Inherits Object
Implements CfnInstance.IPrivateIpAddressSpecificationProperty
Remarks
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;
var privateIpAddressSpecificationProperty = new PrivateIpAddressSpecificationProperty {
Primary = false,
PrivateIpAddress = "privateIpAddress"
};
Synopsis
Constructors
PrivateIpAddressSpecificationProperty() |
Properties
Primary | Indicates whether the private IPv4 address is the primary private IPv4 address. |
PrivateIpAddress | The private IPv4 address. |
Constructors
PrivateIpAddressSpecificationProperty()
public PrivateIpAddressSpecificationProperty()
Properties
Primary
Indicates whether the private IPv4 address is the primary private IPv4 address.
public object Primary { get; set; }
Property Value
System.Object
Remarks
Only one IPv4 address can be designated as primary.
PrivateIpAddress
The private IPv4 address.
public string PrivateIpAddress { get; set; }
Property Value
System.String