Class CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty-
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.CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty
CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Builder, CfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.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 public IPv4 address to an instance you launch in a VPC.final ObjectIndicates whether the network interface is deleted when the instance is terminated.final StringThe description of the network interface.final NumberThe 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.final ObjectThe 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 theCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty.Builder.
-
-
Method Details
-
getAssociatePublicIpAddress
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyIndicates whether to assign a public IPv4 address to an instance you launch in a VPC.The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. 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 Amazon VPC pricing page .
Returns union: either
BooleanorIResolvable- Specified by:
getAssociatePublicIpAddressin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getDeleteOnTermination
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyIndicates whether the network interface is deleted when the instance is terminated.Returns union: either
BooleanorIResolvable- Specified by:
getDeleteOnTerminationin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getDescription
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe description of the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getDescriptionin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getDeviceIndex
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe position of the network interface in the attachment order.A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
- Specified by:
getDeviceIndexin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getGroups
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe IDs of the security groups for the network interface.Applies only if creating a network interface when launching an instance.
- Specified by:
getGroupsin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getIpv6AddressCount
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyA 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 interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getIpv6Addresses
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe 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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.InstanceIpv6AddressProperty>- Specified by:
getIpv6Addressesin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getNetworkInterfaceId
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe ID of the network interface.If you are creating a Spot Fleet, omit this parameter because you can’t specify a network interface ID in a launch specification.
- Specified by:
getNetworkInterfaceIdin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getPrivateIpAddresses
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe private IPv4 addresses to assign to the network interface.Only one private IPv4 address can be designated as primary. You cannot specify this option if you're launching more than one instance in a RunInstances request.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpotFleet.PrivateIpAddressSpecificationProperty>- Specified by:
getPrivateIpAddressesin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getSecondaryPrivateIpAddressCount
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe number of secondary private IPv4 addresses.You can’t specify this parameter and also specify a secondary private IP address using the
PrivateIpAddressparameter.- Specified by:
getSecondaryPrivateIpAddressCountin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
getSubnetId
Description copied from interface:CfnSpotFleet.InstanceNetworkInterfaceSpecificationPropertyThe ID of the subnet associated with the network interface.- Specified by:
getSubnetIdin interfaceCfnSpotFleet.InstanceNetworkInterfaceSpecificationProperty- See Also:
-
$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()
-