@Stability(value=Stable) @Internal public static final class CfnNetworkInterfaceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnNetworkInterfaceProps
CfnNetworkInterfacePropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnNetworkInterfaceProps.Builder, CfnNetworkInterfaceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnNetworkInterfaceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnNetworkInterfaceProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getDescription()
A description for the network interface.
|
List<String> |
getGroupSet()
The security group IDs associated with this network interface.
|
String |
getInterfaceType()
The type of network interface.
|
Number |
getIpv6AddressCount()
The number of IPv6 addresses to assign to a network interface.
|
Object |
getIpv6Addresses()
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface.
|
String |
getPrivateIpAddress()
Assigns a single private IP address to the network interface, which is used as the primary private IP address.
|
Object |
getPrivateIpAddresses()
Assigns private IP addresses to the network interface.
|
Number |
getSecondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses to assign to a network interface.
|
Object |
getSourceDestCheck()
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.
|
String |
getSubnetId()
The ID of the subnet to associate with the network interface.
|
List<CfnTag> |
getTags()
An arbitrary set of tags (key-value pairs) for this network interface.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnNetworkInterfaceProps.Builder builder)
CfnNetworkInterfaceProps.Builder.public final String getSubnetId()
CfnNetworkInterfacePropsgetSubnetId in interface CfnNetworkInterfacePropspublic final String getDescription()
CfnNetworkInterfacePropsgetDescription in interface CfnNetworkInterfacePropspublic final List<String> getGroupSet()
CfnNetworkInterfacePropsgetGroupSet in interface CfnNetworkInterfacePropspublic final String getInterfaceType()
CfnNetworkInterfaceProps
The default is interface . The supported values are efa and trunk .
getInterfaceType in interface CfnNetworkInterfacePropspublic final Number getIpv6AddressCount()
CfnNetworkInterfaceProps
Amazon EC2 automatically selects the IPv6 addresses from the subnet range. To specify specific IPv6 addresses, use the Ipv6Addresses property and don't specify this property.
getIpv6AddressCount in interface CfnNetworkInterfacePropspublic final Object getIpv6Addresses()
CfnNetworkInterfaceProps
If you're specifying a number of IPv6 addresses, use the Ipv6AddressCount property and don't specify this property.
getIpv6Addresses in interface CfnNetworkInterfacePropspublic final String getPrivateIpAddress()
CfnNetworkInterfaceProps
If you want to specify multiple private IP address, use the PrivateIpAddresses property.
getPrivateIpAddress in interface CfnNetworkInterfacePropspublic final Object getPrivateIpAddresses()
CfnNetworkInterfaceProps
You can specify a primary private IP address by setting the value of the Primary property to true in the PrivateIpAddressSpecification property. If you want EC2 to automatically assign private IP addresses, use the SecondaryPrivateIpAddressCount property and do not specify this property.
getPrivateIpAddresses in interface CfnNetworkInterfacePropspublic final Number getSecondaryPrivateIpAddressCount()
CfnNetworkInterfaceProps
When you specify a number of secondary IPv4 addresses, Amazon EC2 selects these IP addresses within the subnet's IPv4 CIDR range. You can't specify this option and specify more than one private IP address using privateIpAddresses .
The number of IP addresses you can assign to a network interface varies by instance type. For more information, see IP Addresses Per ENI Per Instance Type in the Amazon Virtual Private Cloud User Guide .
getSecondaryPrivateIpAddressCount in interface CfnNetworkInterfacePropspublic final Object getSourceDestCheck()
CfnNetworkInterfaceProps
If the value is true , source/destination checks are enabled; otherwise, they are disabled. The default value is true . You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.
getSourceDestCheck in interface CfnNetworkInterfacePropspublic final List<CfnTag> getTags()
CfnNetworkInterfacePropsgetTags in interface CfnNetworkInterfaceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.