Class CfnNetworkInterfaceProps.Jsii$Proxy
- All Implemented Interfaces:
CfnNetworkInterfaceProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnNetworkInterfaceProps
CfnNetworkInterfaceProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnNetworkInterfaceProps
CfnNetworkInterfaceProps.Builder, CfnNetworkInterfaceProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnNetworkInterfaceProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
A description for the network interface.The security group IDs associated with this network interface.final String
The type of network interface.final Number
The number of IPv4 prefixes to be automatically assigned to the network interface.final Object
The IPv4 delegated prefixes that are assigned to the network interface.final Number
The number of IPv6 addresses to assign to a network interface.final Object
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface.final Number
The number of IPv6 prefixes to be automatically assigned to the network interface.final Object
The IPv6 delegated prefixes that are assigned to the network interface.final String
Assigns a single private IP address to the network interface, which is used as the primary private IP address.final Object
Assigns private IP addresses to the network interface.final Number
The number of secondary private IPv4 addresses to assign to a network interface.final Object
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.final String
The ID of the subnet to associate with the network interface.getTags()
An arbitrary set of tags (key-value pairs) for this network interface.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnNetworkInterfaceProps.Builder
.
-
-
Method Details
-
getSubnetId
Description copied from interface:CfnNetworkInterfaceProps
The ID of the subnet to associate with the network interface.- Specified by:
getSubnetId
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getDescription
Description copied from interface:CfnNetworkInterfaceProps
A description for the network interface.- Specified by:
getDescription
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getGroupSet
Description copied from interface:CfnNetworkInterfaceProps
The security group IDs associated with this network interface.- Specified by:
getGroupSet
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getInterfaceType
Description copied from interface:CfnNetworkInterfaceProps
The type of network interface.The default is
interface
. The supported values areefa
andtrunk
.- Specified by:
getInterfaceType
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getIpv4PrefixCount
Description copied from interface:CfnNetworkInterfaceProps
The number of IPv4 prefixes to be automatically assigned to the network interface.When creating a network interface, you can't specify a count of IPv4 prefixes if you've specified one of the following: specific IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Specified by:
getIpv4PrefixCount
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getIpv4Prefixes
Description copied from interface:CfnNetworkInterfaceProps
The IPv4 delegated prefixes that are assigned to the network interface.When creating a network interface, you can't specify IPv4 prefixes if you've specified one of the following: a count of IPv4 prefixes, specific private IPv4 addresses, or a count of private IPv4 addresses.
- Specified by:
getIpv4Prefixes
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnNetworkInterfaceProps
The number of IPv6 addresses to assign to a network interface.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.When creating a network interface, you can't specify a count of IPv6 addresses if you've specified one of the following: specific IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.
- Specified by:
getIpv6AddressCount
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getIpv6Addresses
Description copied from interface:CfnNetworkInterfaceProps
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet to associate with the network interface.If you're specifying a number of IPv6 addresses, use the
Ipv6AddressCount
property and don't specify this property.When creating a network interface, you can't specify IPv6 addresses if you've specified one of the following: a count of IPv6 addresses, specific IPv6 prefixes, or a count of IPv6 prefixes.
- Specified by:
getIpv6Addresses
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getIpv6PrefixCount
Description copied from interface:CfnNetworkInterfaceProps
The number of IPv6 prefixes to be automatically assigned to the network interface.When creating a network interface, you can't specify a count of IPv6 prefixes if you've specified one of the following: specific IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- Specified by:
getIpv6PrefixCount
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getIpv6Prefixes
Description copied from interface:CfnNetworkInterfaceProps
The IPv6 delegated prefixes that are assigned to the network interface.When creating a network interface, you can't specify IPv6 prefixes if you've specified one of the following: a count of IPv6 prefixes, specific IPv6 addresses, or a count of IPv6 addresses.
- Specified by:
getIpv6Prefixes
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getPrivateIpAddress
Description copied from interface:CfnNetworkInterfaceProps
Assigns a single private IP address to the network interface, which is used as the primary private IP address.If you want to specify multiple private IP address, use the
PrivateIpAddresses
property.- Specified by:
getPrivateIpAddress
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnNetworkInterfaceProps
Assigns private IP addresses to the network interface.You can specify a primary private IP address by setting the value of the
Primary
property totrue
in thePrivateIpAddressSpecification
property. If you want EC2 to automatically assign private IP addresses, use theSecondaryPrivateIpAddressCount
property and do not specify this property.When creating a network interface, you can't specify private IPv4 addresses if you've specified one of the following: a count of private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.
- Specified by:
getPrivateIpAddresses
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnNetworkInterfaceProps
The number of secondary private IPv4 addresses to assign to a network interface.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
.When creating a Network Interface, you can't specify a count of private IPv4 addresses if you've specified one of the following: specific private IPv4 addresses, specific IPv4 prefixes, or a count of IPv4 prefixes.
- Specified by:
getSecondaryPrivateIpAddressCount
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getSourceDestCheck
Description copied from interface:CfnNetworkInterfaceProps
Enable or disable source/destination checks, which ensure that the instance is either the source or the destination of any traffic that it receives.If the value is
true
, source/destination checks are enabled; otherwise, they are disabled. The default value istrue
. You must disable source/destination checks if the instance runs services such as network address translation, routing, or firewalls.- Specified by:
getSourceDestCheck
in interfaceCfnNetworkInterfaceProps
- See Also:
-
getTags
Description copied from interface:CfnNetworkInterfaceProps
An arbitrary set of tags (key-value pairs) for this network interface.- Specified by:
getTags
in interfaceCfnNetworkInterfaceProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-