Interface CfnLaunchTemplatePropsMixin.PrivateIpAddProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLaunchTemplatePropsMixin.PrivateIpAddProperty.Jsii$Proxy
- Enclosing class:
CfnLaunchTemplatePropsMixin
@Stability(Stable)
public static interface CfnLaunchTemplatePropsMixin.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.cfnpropertymixins.services.ec2.*;
PrivateIpAddProperty privateIpAddProperty = PrivateIpAddProperty.builder()
.primary(false)
.privateIpAddress("privateIpAddress")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLaunchTemplatePropsMixin.PrivateIpAddPropertystatic final classAn implementation forCfnLaunchTemplatePropsMixin.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
-