Interface CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnInstancePropsMixin
@Stability(Stable)
public static interface CfnInstancePropsMixin.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.cfnpropertymixins.services.ec2.*;
PrivateIpAddressSpecificationProperty privateIpAddressSpecificationProperty = PrivateIpAddressSpecificationProperty.builder()
.primary(false)
.privateIpAddress("privateIpAddress")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInstancePropsMixin.PrivateIpAddressSpecificationProperty -
Method Summary
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.
Returns union: either
BooleanorIResolvable- See Also:
-
getPrivateIpAddress
The private IPv4 address.- See Also:
-
builder
@Stability(Stable) static CfnInstancePropsMixin.PrivateIpAddressSpecificationProperty.Builder builder()
-