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