Interface CfnLaunchTemplate.IPrivateIpAddProperty
Specifies a secondary private IPv4 address for a network interface.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IPrivateIpAddProperty
Syntax (vb)
Public Interface IPrivateIpAddProperty
Remarks
PrivateIpAdd
is a property of AWS::EC2::LaunchTemplate NetworkInterface .
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 privateIpAddProperty = new PrivateIpAddProperty {
Primary = false,
PrivateIpAddress = "privateIpAddress"
};
Synopsis
Properties
Primary | Indicates whether the private IPv4 address is the primary private IPv4 address. |
PrivateIpAddress | The private IPv4 address. |
Properties
Primary
Indicates whether the private IPv4 address is the primary private IPv4 address.
virtual object Primary { get; }
Property Value
System.Object
Remarks
Only one IPv4 address can be designated as primary.
PrivateIpAddress
The private IPv4 address.
virtual string PrivateIpAddress { get; }
Property Value
System.String