Class CfnSpotFleet.PrivateIpAddressSpecificationProperty
Describes a secondary private IPv4 address for a network interface.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSpotFleet.PrivateIpAddressSpecificationProperty : CfnSpotFleet.IPrivateIpAddressSpecificationProperty
Syntax (vb)
Public Class CfnSpotFleet.PrivateIpAddressSpecificationProperty Implements CfnSpotFleet.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 {
PrivateIpAddress = "privateIpAddress",
// the properties below are optional
Primary = false
};
Synopsis
Constructors
| PrivateIpAddressSpecificationProperty() | Describes a secondary private IPv4 address for a network interface. |
Properties
| Primary | Indicates whether the private IPv4 address is the primary private IPv4 address. |
| PrivateIpAddress | The private IPv4 address. |
Constructors
PrivateIpAddressSpecificationProperty()
Describes a secondary private IPv4 address for a network interface.
public PrivateIpAddressSpecificationProperty()
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 {
PrivateIpAddress = "privateIpAddress",
// the properties below are optional
Primary = false
};
Properties
Primary
Indicates whether the private IPv4 address is the primary private IPv4 address.
public object? Primary { get; set; }
Property Value
Remarks
Only one IPv4 address can be designated as primary.
Type union: either bool or IResolvable
PrivateIpAddress
The private IPv4 address.
public string PrivateIpAddress { get; set; }