Class CfnInstance.NetworkInterfaceProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnInstance.NetworkInterfaceProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnInstance.NetworkInterfaceProperty
CfnInstance.NetworkInterfaceProperty
-
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.CfnInstance.NetworkInterfaceProperty
CfnInstance.NetworkInterfaceProperty.Builder, CfnInstance.NetworkInterfaceProperty.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnInstance.NetworkInterfaceProperty.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 Object
Indicates whether to assign a carrier IP address to the network interface.final Object
Indicates whether to assign a public IPv4 address to an instance.final Object
Indicates whether the network interface is deleted when the instance is terminated.final String
The description of the network interface.final String
The position of the network interface in the attachment order.The IDs of the security groups for the network interface.final Number
A number of IPv6 addresses to assign to the network interface.final Object
The IPv6 addresses to assign to the network interface.final String
The ID of the network interface, when attaching an existing network interface.final String
The private IPv4 address of the network interface.final Object
One or more private IPv4 addresses to assign to the network interface.final Number
The number of secondary private IPv4 addresses.final String
The ID of the subnet associated with the 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 theCfnInstance.NetworkInterfaceProperty.Builder
.
-
-
Method Details
-
getDeviceIndex
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The position of the network interface in the attachment order.A primary network interface has a device index of 0.
If you create a network interface when launching an instance, you must specify the device index.
- Specified by:
getDeviceIndex
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getAssociateCarrierIpAddress
Description copied from interface:CfnInstance.NetworkInterfaceProperty
Indicates whether to assign a carrier IP address to the network interface.You can only assign a carrier IP address to a network interface that is in a subnet in a Wavelength Zone. For more information about carrier IP addresses, see Carrier IP address in the AWS Wavelength Developer Guide .
- Specified by:
getAssociateCarrierIpAddress
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getAssociatePublicIpAddress
Description copied from interface:CfnInstance.NetworkInterfaceProperty
Indicates whether to assign a public IPv4 address to an instance.Applies only if creating a network interface when launching an instance. The network interface must be the primary network interface. If launching into a default subnet, the default value is
true
.AWS charges for all public IPv4 addresses, including public IPv4 addresses associated with running instances and Elastic IP addresses. For more information, see the Public IPv4 Address tab on the VPC pricing page .
- Specified by:
getAssociatePublicIpAddress
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getDeleteOnTermination
Description copied from interface:CfnInstance.NetworkInterfaceProperty
Indicates whether the network interface is deleted when the instance is terminated.Applies only if creating a network interface when launching an instance.
- Specified by:
getDeleteOnTermination
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getDescription
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The description of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getDescription
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getGroupSet
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The IDs of the security groups for the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getGroupSet
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnInstance.NetworkInterfaceProperty
A number of IPv6 addresses to assign to the network interface.Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
- Specified by:
getIpv6AddressCount
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getIpv6Addresses
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The IPv6 addresses to assign to the network interface.You cannot specify this option and the option to assign a number of IPv6 addresses in the same request. You cannot specify this option if you've specified a minimum number of instances to launch.
- Specified by:
getIpv6Addresses
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getNetworkInterfaceId
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The ID of the network interface, when attaching an existing network interface.- Specified by:
getNetworkInterfaceId
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getPrivateIpAddress
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The private IPv4 address of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getPrivateIpAddress
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnInstance.NetworkInterfaceProperty
One or more private IPv4 addresses to assign to the network interface.Only one private IPv4 address can be designated as primary.
- Specified by:
getPrivateIpAddresses
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The number of secondary private IPv4 addresses.You can't specify this option and specify more than one private IP address using the private IP addresses option.
- Specified by:
getSecondaryPrivateIpAddressCount
in interfaceCfnInstance.NetworkInterfaceProperty
- See Also:
-
getSubnetId
Description copied from interface:CfnInstance.NetworkInterfaceProperty
The ID of the subnet associated with the network interface.- Specified by:
getSubnetId
in interfaceCfnInstance.NetworkInterfaceProperty
- 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()
-