Class GetInstanceTypeResult


  • public final class GetInstanceTypeResult
    extends java.lang.Object
    • Method Detail

      • autoRecoverySupported

        public java.lang.Boolean autoRecoverySupported()
        Returns:
        `true` if auto recovery is supported.
      • bandwidthWeightings

        public java.util.List<java.lang.String> bandwidthWeightings()
        Returns:
        A set of strings of valid settings for [configurable bandwidth weighting](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configure-bandwidth-weighting.html), if supported.
      • bareMetal

        public java.lang.Boolean bareMetal()
        Returns:
        `true` if it is a bare metal instance type.
      • bootModes

        public java.util.List<java.lang.String> bootModes()
        Returns:
        A set of strings of supported boot modes.
      • burstablePerformanceSupported

        public java.lang.Boolean burstablePerformanceSupported()
        Returns:
        `true` if the instance type is a burstable performance instance type.
      • currentGeneration

        public java.lang.Boolean currentGeneration()
        Returns:
        `true` if the instance type is a current generation.
      • dedicatedHostsSupported

        public java.lang.Boolean dedicatedHostsSupported()
        Returns:
        `true` if Dedicated Hosts are supported on the instance type.
      • defaultCores

        public java.lang.Integer defaultCores()
        Returns:
        Default number of cores for the instance type.
      • defaultNetworkCardIndex

        public java.lang.Integer defaultNetworkCardIndex()
        Returns:
        The index of the default network card, starting at `0`.
      • defaultThreadsPerCore

        public java.lang.Integer defaultThreadsPerCore()
        Returns:
        The default number of threads per core for the instance type.
      • defaultVcpus

        public java.lang.Integer defaultVcpus()
        Returns:
        Default number of vCPUs for the instance type.
      • ebsEncryptionSupport

        public java.lang.String ebsEncryptionSupport()
        Returns:
        Indicates whether Amazon EBS encryption is supported.
      • ebsNvmeSupport

        public java.lang.String ebsNvmeSupport()
        Returns:
        Whether non-volatile memory express (NVMe) is supported.
      • ebsOptimizedSupport

        public java.lang.String ebsOptimizedSupport()
        Returns:
        Indicates that the instance type is Amazon EBS-optimized.
      • ebsPerformanceBaselineBandwidth

        public java.lang.Integer ebsPerformanceBaselineBandwidth()
        Returns:
        The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
      • ebsPerformanceBaselineIops

        public java.lang.Integer ebsPerformanceBaselineIops()
        Returns:
        The baseline input/output storage operations per seconds for an EBS-optimized instance type.
      • ebsPerformanceBaselineThroughput

        public java.lang.Double ebsPerformanceBaselineThroughput()
        Returns:
        The baseline throughput performance for an EBS-optimized instance type, in MBps.
      • ebsPerformanceMaximumBandwidth

        public java.lang.Integer ebsPerformanceMaximumBandwidth()
        Returns:
        The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
      • ebsPerformanceMaximumIops

        public java.lang.Integer ebsPerformanceMaximumIops()
        Returns:
        The maximum input/output storage operations per second for an EBS-optimized instance type.
      • ebsPerformanceMaximumThroughput

        public java.lang.Double ebsPerformanceMaximumThroughput()
        Returns:
        The maximum throughput performance for an EBS-optimized instance type, in MBps.
      • efaMaximumInterfaces

        public java.lang.Integer efaMaximumInterfaces()
        Returns:
        The maximum number of Elastic Fabric Adapters for the instance type.
      • efaSupported

        public java.lang.Boolean efaSupported()
        Returns:
        `true` if Elastic Fabric Adapter (EFA) is supported.
      • enaSrdSupported

        public java.lang.Boolean enaSrdSupported()
        Returns:
        `true` if the instance type supports [ENA Express](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ena-express.html).
      • enaSupport

        public java.lang.String enaSupport()
        Returns:
        Indicates whether Elastic Network Adapter (ENA) is `"supported"`, `"required"`, or `"unsupported"`.
      • encryptionInTransitSupported

        public java.lang.Boolean encryptionInTransitSupported()
        Returns:
        `true` if encryption in-transit between instances is supported.
      • fpgas

        public java.util.List<GetInstanceTypeFpga> fpgas()
        Returns:
        Describes the FPGA accelerator settings for the instance type. * `fpgas.#.count` - The count of FPGA accelerators for the instance type. * `fpgas.#.manufacturer` - The manufacturer of the FPGA accelerator. * `fpgas.#.memory_size` - The size (in MiB) of the memory available to the FPGA accelerator. * `fpgas.#.name` - The name of the FPGA accelerator.
      • freeTierEligible

        public java.lang.Boolean freeTierEligible()
        Returns:
        `true` if the instance type is eligible for the free tier.
      • gpuses

        public java.util.List<GetInstanceTypeGpus> gpuses()
        Returns:
        Describes the GPU accelerators for the instance type. * `gpus.#.count` - The number of GPUs for the instance type. * `gpus.#.manufacturer` - The manufacturer of the GPU accelerator. * `gpus.#.memory_size` - The size (in MiB) of the memory available to the GPU accelerator. * `gpus.#.name` - The name of the GPU accelerator.
      • hibernationSupported

        public java.lang.Boolean hibernationSupported()
        Returns:
        `true` if On-Demand hibernation is supported.
      • hypervisor

        public java.lang.String hypervisor()
        Returns:
        Hypervisor used for the instance type.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • inferenceAccelerators

        public java.util.List<GetInstanceTypeInferenceAccelerator> inferenceAccelerators()
        Returns:
        Describes the Inference accelerators for the instance type. * `inference_accelerators.#.count` - The number of Inference accelerators for the instance type. * `inference_accelerators.#.manufacturer` - The manufacturer of the Inference accelerator. * `inference_accelerators.#.memory_size` - The size (in MiB) of the memory available to the inference accelerator. * `inference_accelerators.#.name` - The name of the Inference accelerator.
      • instanceDisks

        public java.util.List<GetInstanceTypeInstanceDisk> instanceDisks()
        Returns:
        Describes the disks for the instance type. * `instance_disks.#.count` - The number of disks with this configuration. * `instance_disks.#.size` - The size of the disk in GB. * `instance_disks.#.type` - The type of disk.
      • instanceStorageSupported

        public java.lang.Boolean instanceStorageSupported()
        Returns:
        `true` if instance storage is supported.
      • instanceType

        public java.lang.String instanceType()
      • ipv6Supported

        public java.lang.Boolean ipv6Supported()
        Returns:
        `true` if IPv6 is supported.
      • maximumIpv4AddressesPerInterface

        public java.lang.Integer maximumIpv4AddressesPerInterface()
        Returns:
        The maximum number of IPv4 addresses per network interface.
      • maximumIpv6AddressesPerInterface

        public java.lang.Integer maximumIpv6AddressesPerInterface()
        Returns:
        The maximum number of IPv6 addresses per network interface.
      • maximumNetworkCards

        public java.lang.Integer maximumNetworkCards()
        Returns:
        The maximum number of physical network cards that can be allocated to the instance.
      • maximumNetworkInterfaces

        public java.lang.Integer maximumNetworkInterfaces()
        Returns:
        The maximum number of network interfaces for the instance type.
      • mediaAccelerators

        public java.util.List<GetInstanceTypeMediaAccelerator> mediaAccelerators()
        Returns:
        Describes the media accelerator settings for the instance type. * `media_accelerators.#.count` - The number of media accelerators for the instance type. * `media_accelerators.#.manufacturer` - The manufacturer of the media accelerator. * `media_accelerators.#.memory_size` - The size (in MiB) of the memory available to each media accelerator. * `media_accelerators.#.name` - The name of the media accelerator.
      • memorySize

        public java.lang.Integer memorySize()
        Returns:
        Size of the instance memory, in MiB.
      • networkCards

        public java.util.List<GetInstanceTypeNetworkCard> networkCards()
        Returns:
        Describes the network cards for the instance type. * `network_cards.#.baseline_bandwidth` - The baseline network performance (in Gbps) of the network card. * `network_cards.#.index` - The index of the network card. * `network_cards.#.maximum_interfaces` - The maximum number of network interfaces for the /network card. * `network_cards.#.performance` - Describes the network performance of the network card. * `network_cards.#.peak_bandwidth` - The peak (burst) network performance (in Gbps) of the network card.
      • networkPerformance

        public java.lang.String networkPerformance()
        Returns:
        Describes the network performance.
      • neuronDevices

        public java.util.List<GetInstanceTypeNeuronDevice> neuronDevices()
        Returns:
        Describes the Neuron accelerator settings for the instance type. * `neuron_devices.#.core_count` - The number of cores available to the neuron accelerator. * `neuron_devices.#.core_version` - A number representing the version of the neuron accelerator. * `neuron_devices.#.count` - The number of neuron accelerators for the instance type. * `neuron_devices.#.memory_size` - The size (in MiB) of the memory available to the neuron accelerator. * `neuron_devices.#.name` - The name of the neuron accelerator.
      • nitroEnclavesSupport

        public java.lang.String nitroEnclavesSupport()
        Returns:
        Indicates whether Nitro Enclaves is `"supported"` or `"unsupported"`.
      • nitroTpmSupport

        public java.lang.String nitroTpmSupport()
        Returns:
        Indicates whether NitroTPM is `"supported"` or `"unsupported"`.
      • nitroTpmSupportedVersions

        public java.util.List<java.lang.String> nitroTpmSupportedVersions()
        Returns:
        A set of strings indicating the supported NitroTPM versions.
      • phcSupport

        public java.lang.String phcSupport()
        Returns:
        `true` if a local Precision Time Protocol (PTP) hardware clock (PHC) is supported.
      • region

        public java.lang.String region()
      • supportedArchitectures

        public java.util.List<java.lang.String> supportedArchitectures()
        Returns:
        A list of strings of architectures supported by the instance type.
      • supportedCpuFeatures

        public java.util.List<java.lang.String> supportedCpuFeatures()
        Returns:
        A set of strings indicating supported CPU features.
      • supportedPlacementStrategies

        public java.util.List<java.lang.String> supportedPlacementStrategies()
        Returns:
        A list of supported placement groups types.
      • supportedRootDeviceTypes

        public java.util.List<java.lang.String> supportedRootDeviceTypes()
        Returns:
        A list of supported root device types.
      • supportedUsagesClasses

        public java.util.List<java.lang.String> supportedUsagesClasses()
        Returns:
        A list of supported usage classes. Usage classes are `"spot"`, `"on-demand"`, or `"capacity-block"`.
      • supportedVirtualizationTypes

        public java.util.List<java.lang.String> supportedVirtualizationTypes()
        Returns:
        The supported virtualization types.
      • sustainedClockSpeed

        public java.lang.Double sustainedClockSpeed()
        Returns:
        The speed of the processor, in GHz.
      • totalFpgaMemory

        public java.lang.Integer totalFpgaMemory()
        Returns:
        Total memory of all FPGA accelerators for the instance type (in MiB).
      • totalGpuMemory

        public java.lang.Integer totalGpuMemory()
        Returns:
        Total size of the memory for the GPU accelerators for the instance type (in MiB).
      • totalInferenceMemory

        public java.lang.Integer totalInferenceMemory()
        Returns:
        The total size of the memory for the neuron accelerators for the instance type (in MiB).
      • totalInstanceStorage

        public java.lang.Integer totalInstanceStorage()
        Returns:
        The total size of the instance disks, in GB.
      • totalMediaMemory

        public java.lang.Integer totalMediaMemory()
        Returns:
        The total size of the memory for the media accelerators for the instance type (in MiB).
      • totalNeuronDeviceMemory

        public java.lang.Integer totalNeuronDeviceMemory()
        Returns:
        The total size of the memory for the neuron accelerators for the instance type (in MiB).
      • validCores

        public java.util.List<java.lang.Integer> validCores()
        Returns:
        List of the valid number of cores that can be configured for the instance type.
      • validThreadsPerCores

        public java.util.List<java.lang.Integer> validThreadsPerCores()
        Returns:
        List of the valid number of threads per core that can be configured for the instance type.