@Stability(value=Stable)
public static interface CfnInstance.PrivateIpAddressSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
PrivateIpAddressSpecification is a property of the AWS::EC2::NetworkInterface resource.
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInstance.PrivateIpAddressSpecificationProperty.Builder
A builder for
CfnInstance.PrivateIpAddressSpecificationProperty |
static class |
CfnInstance.PrivateIpAddressSpecificationProperty.Jsii$Proxy
An implementation for
CfnInstance.PrivateIpAddressSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnInstance.PrivateIpAddressSpecificationProperty.Builder |
builder() |
Object |
getPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
String |
getPrivateIpAddress()
The private IPv4 addresses.
|
@Stability(value=Stable) @NotNull Object getPrimary()
Only one IPv4 address can be designated as primary.
@Stability(value=Stable) @NotNull String getPrivateIpAddress()
@Stability(value=Stable) static CfnInstance.PrivateIpAddressSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.