Interface CfnLaunchTemplate.PrivateIpAddProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplate.PrivateIpAddProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplate
@Stability(Stable)
public static interface CfnLaunchTemplate.PrivateIpAddProperty
extends software.amazon.jsii.JsiiSerializable
Specifies a secondary private IPv4 address for a network interface.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplate.PrivateIpAddPropertystatic final classAn implementation forCfnLaunchTemplate.PrivateIpAddProperty -
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
-