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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.CfnInstance.NetworkInterfaceProperty
CfnInstance.NetworkInterfaceProperty.Builder, CfnInstance.NetworkInterfaceProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnInstance.NetworkInterfaceProperty.Builder.protectedJsii$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.JsonNodefinal booleanfinal ObjectIndicates whether to assign a carrier IP address to the network interface.final ObjectIndicates whether to assign a public IPv4 address to an instance.final ObjectIndicates whether the network interface is deleted when the instance is terminated.final StringThe description of the network interface.final StringThe position of the network interface in the attachment order.The IDs of the security groups for the network interface.final NumberA number of IPv6 addresses to assign to the network interface.final ObjectThe IPv6 addresses to assign to the network interface.final StringThe ID of the network interface, when attaching an existing network interface.final StringThe private IPv4 address of the network interface.final ObjectOne or more private IPv4 addresses to assign to the network interface.final NumberThe number of secondary private IPv4 addresses.final StringThe ID of the subnet associated with the network interface.final inthashCode()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.NetworkInterfacePropertyThe 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:
getDeviceIndexin interfaceCfnInstance.NetworkInterfaceProperty
-
getAssociateCarrierIpAddress
Description copied from interface:CfnInstance.NetworkInterfacePropertyIndicates 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:
getAssociateCarrierIpAddressin interfaceCfnInstance.NetworkInterfaceProperty
-
getAssociatePublicIpAddress
Description copied from interface:CfnInstance.NetworkInterfacePropertyIndicates 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.- Specified by:
getAssociatePublicIpAddressin interfaceCfnInstance.NetworkInterfaceProperty
-
getDeleteOnTermination
Description copied from interface:CfnInstance.NetworkInterfacePropertyIndicates whether the network interface is deleted when the instance is terminated.Applies only if creating a network interface when launching an instance.
- Specified by:
getDeleteOnTerminationin interfaceCfnInstance.NetworkInterfaceProperty
-
getDescription
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe description of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getDescriptionin interfaceCfnInstance.NetworkInterfaceProperty
-
getGroupSet
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe IDs of the security groups for the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getGroupSetin interfaceCfnInstance.NetworkInterfaceProperty
-
getIpv6AddressCount
Description copied from interface:CfnInstance.NetworkInterfacePropertyA 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:
getIpv6AddressCountin interfaceCfnInstance.NetworkInterfaceProperty
-
getIpv6Addresses
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe 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:
getIpv6Addressesin interfaceCfnInstance.NetworkInterfaceProperty
-
getNetworkInterfaceId
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe ID of the network interface, when attaching an existing network interface.- Specified by:
getNetworkInterfaceIdin interfaceCfnInstance.NetworkInterfaceProperty
-
getPrivateIpAddress
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe private IPv4 address of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getPrivateIpAddressin interfaceCfnInstance.NetworkInterfaceProperty
-
getPrivateIpAddresses
Description copied from interface:CfnInstance.NetworkInterfacePropertyOne or more private IPv4 addresses to assign to the network interface.Only one private IPv4 address can be designated as primary.
- Specified by:
getPrivateIpAddressesin interfaceCfnInstance.NetworkInterfaceProperty
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe 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:
getSecondaryPrivateIpAddressCountin interfaceCfnInstance.NetworkInterfaceProperty
-
getSubnetId
Description copied from interface:CfnInstance.NetworkInterfacePropertyThe ID of the subnet associated with the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getSubnetIdin interfaceCfnInstance.NetworkInterfaceProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-