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 CfnLaunchTemplate.IPrivateIpAddProperty
Syntax (vb)
Public Interface CfnLaunchTemplate.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.
object? Primary { get; }
Property Value
Remarks
Only one IPv4 address can be designated as primary.
Type union: either bool or IResolvable
PrivateIpAddress
The private IPv4 address.
string? PrivateIpAddress { get; }