Interface CfnInstance.PrivateIpAddressSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstance.PrivateIpAddressSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnInstance
@Stability(Stable)
public static interface CfnInstance.PrivateIpAddressSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a secondary private IPv4 address for a network interface.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; PrivateIpAddressSpecificationProperty privateIpAddressSpecificationProperty = PrivateIpAddressSpecificationProperty.builder() .primary(false) .privateIpAddress("privateIpAddress") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInstance.PrivateIpAddressSpecificationProperty
static final class
An implementation forCfnInstance.PrivateIpAddressSpecificationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Indicates whether the private IPv4 address is the primary private IPv4 address.The private IPv4 address.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPrimary
Indicates whether the private IPv4 address is the primary private IPv4 address.Only one IPv4 address can be designated as primary.
-
getPrivateIpAddress
The private IPv4 address. -
builder
-