1. Packages
  2. AWS Classic
  3. API Docs
  4. ec2
  5. getInstanceType

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

aws.ec2.getInstanceType

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi

    Get characteristics for a single EC2 Instance Type.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.ec2.getInstanceType({
        instanceType: "t2.micro",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ec2.get_instance_type(instance_type="t2.micro")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ec2.GetInstanceType(ctx, &ec2.GetInstanceTypeArgs{
    			InstanceType: "t2.micro",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Ec2.GetInstanceType.Invoke(new()
        {
            InstanceType = "t2.micro",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.Ec2Functions;
    import com.pulumi.aws.ec2.inputs.GetInstanceTypeArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = Ec2Functions.getInstanceType(GetInstanceTypeArgs.builder()
                .instanceType("t2.micro")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: aws:ec2:getInstanceType
          Arguments:
            instanceType: t2.micro
    

    Using getInstanceType

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInstanceType(args: GetInstanceTypeArgs, opts?: InvokeOptions): Promise<GetInstanceTypeResult>
    function getInstanceTypeOutput(args: GetInstanceTypeOutputArgs, opts?: InvokeOptions): Output<GetInstanceTypeResult>
    def get_instance_type(instance_type: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetInstanceTypeResult
    def get_instance_type_output(instance_type: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetInstanceTypeResult]
    func GetInstanceType(ctx *Context, args *GetInstanceTypeArgs, opts ...InvokeOption) (*GetInstanceTypeResult, error)
    func GetInstanceTypeOutput(ctx *Context, args *GetInstanceTypeOutputArgs, opts ...InvokeOption) GetInstanceTypeResultOutput

    > Note: This function is named GetInstanceType in the Go SDK.

    public static class GetInstanceType 
    {
        public static Task<GetInstanceTypeResult> InvokeAsync(GetInstanceTypeArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceTypeResult> Invoke(GetInstanceTypeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceTypeResult> getInstanceType(GetInstanceTypeArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:ec2/getInstanceType:getInstanceType
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceType string
    Instance
    InstanceType string
    Instance
    instanceType String
    Instance
    instanceType string
    Instance
    instance_type str
    Instance
    instanceType String
    Instance

    getInstanceType Result

    The following output properties are available:

    AutoRecoverySupported bool
    true if auto recovery is supported.
    BareMetal bool
    true if it is a bare metal instance type.
    BurstablePerformanceSupported bool
    true if the instance type is a burstable performance instance type.
    CurrentGeneration bool
    true if the instance type is a current generation.
    DedicatedHostsSupported bool
    true if Dedicated Hosts are supported on the instance type.
    DefaultCores int
    Default number of cores for the instance type.
    DefaultThreadsPerCore int
    The default number of threads per core for the instance type.
    DefaultVcpus int
    Default number of vCPUs for the instance type.
    EbsEncryptionSupport string
    Indicates whether Amazon EBS encryption is supported.
    EbsNvmeSupport string
    Whether non-volatile memory express (NVMe) is supported.
    EbsOptimizedSupport string
    Indicates that the instance type is Amazon EBS-optimized.
    EbsPerformanceBaselineBandwidth int
    The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
    EbsPerformanceBaselineIops int
    The baseline input/output storage operations per seconds for an EBS-optimized instance type.
    EbsPerformanceBaselineThroughput double
    The baseline throughput performance for an EBS-optimized instance type, in MBps.
    EbsPerformanceMaximumBandwidth int
    The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
    EbsPerformanceMaximumIops int
    The maximum input/output storage operations per second for an EBS-optimized instance type.
    EbsPerformanceMaximumThroughput double
    The maximum throughput performance for an EBS-optimized instance type, in MBps.
    EfaSupported bool
    Whether Elastic Fabric Adapter (EFA) is supported.
    EnaSupport string
    Whether Elastic Network Adapter (ENA) is supported.
    EncryptionInTransitSupported bool
    Indicates whether encryption in-transit between instances is supported.
    Fpgas List<GetInstanceTypeFpga>
    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) for the memory available to the FPGA accelerator.
    • fpgas.#.name - The name of the FPGA accelerator.
    FreeTierEligible bool
    true if the instance type is eligible for the free tier.
    Gpuses List<GetInstanceTypeGpus>
    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) for the memory available to the GPU accelerator.
    • gpus.#.name - The name of the GPU accelerator.
    HibernationSupported bool
    true if On-Demand hibernation is supported.
    Hypervisor string
    Hypervisor used for the instance type.
    Id string
    The provider-assigned unique ID for this managed resource.
    InferenceAccelerators List<GetInstanceTypeInferenceAccelerator>
    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.#.name - The name of the Inference accelerator.
    InstanceDisks List<GetInstanceTypeInstanceDisk>
    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 bool
    true if instance storage is supported.
    InstanceType string
    Ipv6Supported bool
    true if IPv6 is supported.
    MaximumIpv4AddressesPerInterface int
    The maximum number of IPv4 addresses per network interface.
    MaximumIpv6AddressesPerInterface int
    The maximum number of IPv6 addresses per network interface.
    MaximumNetworkCards int
    The maximum number of physical network cards that can be allocated to the instance.
    MaximumNetworkInterfaces int
    The maximum number of network interfaces for the instance type.
    MemorySize int
    Size of the instance memory, in MiB.
    NetworkPerformance string
    Describes the network performance.
    SupportedArchitectures List<string>
    A list of architectures supported by the instance type.
    SupportedPlacementStrategies List<string>
    A list of supported placement groups types.
    SupportedRootDeviceTypes List<string>
    Indicates the supported root device types.
    SupportedUsagesClasses List<string>
    Indicates whether the instance type is offered for spot or On-Demand.
    SupportedVirtualizationTypes List<string>
    The supported virtualization types.
    SustainedClockSpeed double
    The speed of the processor, in GHz.
    TotalFpgaMemory int
    Total memory of all FPGA accelerators for the instance type (in MiB).
    TotalGpuMemory int
    Total size of the memory for the GPU accelerators for the instance type (in MiB).
    TotalInstanceStorage int
    The total size of the instance disks, in GB.
    ValidCores List<int>
    List of the valid number of cores that can be configured for the instance type.
    ValidThreadsPerCores List<int>
    List of the valid number of threads per core that can be configured for the instance type.
    AutoRecoverySupported bool
    true if auto recovery is supported.
    BareMetal bool
    true if it is a bare metal instance type.
    BurstablePerformanceSupported bool
    true if the instance type is a burstable performance instance type.
    CurrentGeneration bool
    true if the instance type is a current generation.
    DedicatedHostsSupported bool
    true if Dedicated Hosts are supported on the instance type.
    DefaultCores int
    Default number of cores for the instance type.
    DefaultThreadsPerCore int
    The default number of threads per core for the instance type.
    DefaultVcpus int
    Default number of vCPUs for the instance type.
    EbsEncryptionSupport string
    Indicates whether Amazon EBS encryption is supported.
    EbsNvmeSupport string
    Whether non-volatile memory express (NVMe) is supported.
    EbsOptimizedSupport string
    Indicates that the instance type is Amazon EBS-optimized.
    EbsPerformanceBaselineBandwidth int
    The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
    EbsPerformanceBaselineIops int
    The baseline input/output storage operations per seconds for an EBS-optimized instance type.
    EbsPerformanceBaselineThroughput float64
    The baseline throughput performance for an EBS-optimized instance type, in MBps.
    EbsPerformanceMaximumBandwidth int
    The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
    EbsPerformanceMaximumIops int
    The maximum input/output storage operations per second for an EBS-optimized instance type.
    EbsPerformanceMaximumThroughput float64
    The maximum throughput performance for an EBS-optimized instance type, in MBps.
    EfaSupported bool
    Whether Elastic Fabric Adapter (EFA) is supported.
    EnaSupport string
    Whether Elastic Network Adapter (ENA) is supported.
    EncryptionInTransitSupported bool
    Indicates whether encryption in-transit between instances is supported.
    Fpgas []GetInstanceTypeFpga
    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) for the memory available to the FPGA accelerator.
    • fpgas.#.name - The name of the FPGA accelerator.
    FreeTierEligible bool
    true if the instance type is eligible for the free tier.
    Gpuses []GetInstanceTypeGpus
    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) for the memory available to the GPU accelerator.
    • gpus.#.name - The name of the GPU accelerator.
    HibernationSupported bool
    true if On-Demand hibernation is supported.
    Hypervisor string
    Hypervisor used for the instance type.
    Id string
    The provider-assigned unique ID for this managed resource.
    InferenceAccelerators []GetInstanceTypeInferenceAccelerator
    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.#.name - The name of the Inference accelerator.
    InstanceDisks []GetInstanceTypeInstanceDisk
    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 bool
    true if instance storage is supported.
    InstanceType string
    Ipv6Supported bool
    true if IPv6 is supported.
    MaximumIpv4AddressesPerInterface int
    The maximum number of IPv4 addresses per network interface.
    MaximumIpv6AddressesPerInterface int
    The maximum number of IPv6 addresses per network interface.
    MaximumNetworkCards int
    The maximum number of physical network cards that can be allocated to the instance.
    MaximumNetworkInterfaces int
    The maximum number of network interfaces for the instance type.
    MemorySize int
    Size of the instance memory, in MiB.
    NetworkPerformance string
    Describes the network performance.
    SupportedArchitectures []string
    A list of architectures supported by the instance type.
    SupportedPlacementStrategies []string
    A list of supported placement groups types.
    SupportedRootDeviceTypes []string
    Indicates the supported root device types.
    SupportedUsagesClasses []string
    Indicates whether the instance type is offered for spot or On-Demand.
    SupportedVirtualizationTypes []string
    The supported virtualization types.
    SustainedClockSpeed float64
    The speed of the processor, in GHz.
    TotalFpgaMemory int
    Total memory of all FPGA accelerators for the instance type (in MiB).
    TotalGpuMemory int
    Total size of the memory for the GPU accelerators for the instance type (in MiB).
    TotalInstanceStorage int
    The total size of the instance disks, in GB.
    ValidCores []int
    List of the valid number of cores that can be configured for the instance type.
    ValidThreadsPerCores []int
    List of the valid number of threads per core that can be configured for the instance type.
    autoRecoverySupported Boolean
    true if auto recovery is supported.
    bareMetal Boolean
    true if it is a bare metal instance type.
    burstablePerformanceSupported Boolean
    true if the instance type is a burstable performance instance type.
    currentGeneration Boolean
    true if the instance type is a current generation.
    dedicatedHostsSupported Boolean
    true if Dedicated Hosts are supported on the instance type.
    defaultCores Integer
    Default number of cores for the instance type.
    defaultThreadsPerCore Integer
    The default number of threads per core for the instance type.
    defaultVcpus Integer
    Default number of vCPUs for the instance type.
    ebsEncryptionSupport String
    Indicates whether Amazon EBS encryption is supported.
    ebsNvmeSupport String
    Whether non-volatile memory express (NVMe) is supported.
    ebsOptimizedSupport String
    Indicates that the instance type is Amazon EBS-optimized.
    ebsPerformanceBaselineBandwidth Integer
    The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebsPerformanceBaselineIops Integer
    The baseline input/output storage operations per seconds for an EBS-optimized instance type.
    ebsPerformanceBaselineThroughput Double
    The baseline throughput performance for an EBS-optimized instance type, in MBps.
    ebsPerformanceMaximumBandwidth Integer
    The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebsPerformanceMaximumIops Integer
    The maximum input/output storage operations per second for an EBS-optimized instance type.
    ebsPerformanceMaximumThroughput Double
    The maximum throughput performance for an EBS-optimized instance type, in MBps.
    efaSupported Boolean
    Whether Elastic Fabric Adapter (EFA) is supported.
    enaSupport String
    Whether Elastic Network Adapter (ENA) is supported.
    encryptionInTransitSupported Boolean
    Indicates whether encryption in-transit between instances is supported.
    fpgas List<GetInstanceTypeFpga>
    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) for the memory available to the FPGA accelerator.
    • fpgas.#.name - The name of the FPGA accelerator.
    freeTierEligible Boolean
    true if the instance type is eligible for the free tier.
    gpuses List<GetInstanceTypeGpus>
    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) for the memory available to the GPU accelerator.
    • gpus.#.name - The name of the GPU accelerator.
    hibernationSupported Boolean
    true if On-Demand hibernation is supported.
    hypervisor String
    Hypervisor used for the instance type.
    id String
    The provider-assigned unique ID for this managed resource.
    inferenceAccelerators List<GetInstanceTypeInferenceAccelerator>
    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.#.name - The name of the Inference accelerator.
    instanceDisks List<GetInstanceTypeInstanceDisk>
    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 Boolean
    true if instance storage is supported.
    instanceType String
    ipv6Supported Boolean
    true if IPv6 is supported.
    maximumIpv4AddressesPerInterface Integer
    The maximum number of IPv4 addresses per network interface.
    maximumIpv6AddressesPerInterface Integer
    The maximum number of IPv6 addresses per network interface.
    maximumNetworkCards Integer
    The maximum number of physical network cards that can be allocated to the instance.
    maximumNetworkInterfaces Integer
    The maximum number of network interfaces for the instance type.
    memorySize Integer
    Size of the instance memory, in MiB.
    networkPerformance String
    Describes the network performance.
    supportedArchitectures List<String>
    A list of architectures supported by the instance type.
    supportedPlacementStrategies List<String>
    A list of supported placement groups types.
    supportedRootDeviceTypes List<String>
    Indicates the supported root device types.
    supportedUsagesClasses List<String>
    Indicates whether the instance type is offered for spot or On-Demand.
    supportedVirtualizationTypes List<String>
    The supported virtualization types.
    sustainedClockSpeed Double
    The speed of the processor, in GHz.
    totalFpgaMemory Integer
    Total memory of all FPGA accelerators for the instance type (in MiB).
    totalGpuMemory Integer
    Total size of the memory for the GPU accelerators for the instance type (in MiB).
    totalInstanceStorage Integer
    The total size of the instance disks, in GB.
    validCores List<Integer>
    List of the valid number of cores that can be configured for the instance type.
    validThreadsPerCores List<Integer>
    List of the valid number of threads per core that can be configured for the instance type.
    autoRecoverySupported boolean
    true if auto recovery is supported.
    bareMetal boolean
    true if it is a bare metal instance type.
    burstablePerformanceSupported boolean
    true if the instance type is a burstable performance instance type.
    currentGeneration boolean
    true if the instance type is a current generation.
    dedicatedHostsSupported boolean
    true if Dedicated Hosts are supported on the instance type.
    defaultCores number
    Default number of cores for the instance type.
    defaultThreadsPerCore number
    The default number of threads per core for the instance type.
    defaultVcpus number
    Default number of vCPUs for the instance type.
    ebsEncryptionSupport string
    Indicates whether Amazon EBS encryption is supported.
    ebsNvmeSupport string
    Whether non-volatile memory express (NVMe) is supported.
    ebsOptimizedSupport string
    Indicates that the instance type is Amazon EBS-optimized.
    ebsPerformanceBaselineBandwidth number
    The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebsPerformanceBaselineIops number
    The baseline input/output storage operations per seconds for an EBS-optimized instance type.
    ebsPerformanceBaselineThroughput number
    The baseline throughput performance for an EBS-optimized instance type, in MBps.
    ebsPerformanceMaximumBandwidth number
    The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebsPerformanceMaximumIops number
    The maximum input/output storage operations per second for an EBS-optimized instance type.
    ebsPerformanceMaximumThroughput number
    The maximum throughput performance for an EBS-optimized instance type, in MBps.
    efaSupported boolean
    Whether Elastic Fabric Adapter (EFA) is supported.
    enaSupport string
    Whether Elastic Network Adapter (ENA) is supported.
    encryptionInTransitSupported boolean
    Indicates whether encryption in-transit between instances is supported.
    fpgas GetInstanceTypeFpga[]
    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) for the memory available to the FPGA accelerator.
    • fpgas.#.name - The name of the FPGA accelerator.
    freeTierEligible boolean
    true if the instance type is eligible for the free tier.
    gpuses GetInstanceTypeGpus[]
    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) for the memory available to the GPU accelerator.
    • gpus.#.name - The name of the GPU accelerator.
    hibernationSupported boolean
    true if On-Demand hibernation is supported.
    hypervisor string
    Hypervisor used for the instance type.
    id string
    The provider-assigned unique ID for this managed resource.
    inferenceAccelerators GetInstanceTypeInferenceAccelerator[]
    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.#.name - The name of the Inference accelerator.
    instanceDisks GetInstanceTypeInstanceDisk[]
    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 boolean
    true if instance storage is supported.
    instanceType string
    ipv6Supported boolean
    true if IPv6 is supported.
    maximumIpv4AddressesPerInterface number
    The maximum number of IPv4 addresses per network interface.
    maximumIpv6AddressesPerInterface number
    The maximum number of IPv6 addresses per network interface.
    maximumNetworkCards number
    The maximum number of physical network cards that can be allocated to the instance.
    maximumNetworkInterfaces number
    The maximum number of network interfaces for the instance type.
    memorySize number
    Size of the instance memory, in MiB.
    networkPerformance string
    Describes the network performance.
    supportedArchitectures string[]
    A list of architectures supported by the instance type.
    supportedPlacementStrategies string[]
    A list of supported placement groups types.
    supportedRootDeviceTypes string[]
    Indicates the supported root device types.
    supportedUsagesClasses string[]
    Indicates whether the instance type is offered for spot or On-Demand.
    supportedVirtualizationTypes string[]
    The supported virtualization types.
    sustainedClockSpeed number
    The speed of the processor, in GHz.
    totalFpgaMemory number
    Total memory of all FPGA accelerators for the instance type (in MiB).
    totalGpuMemory number
    Total size of the memory for the GPU accelerators for the instance type (in MiB).
    totalInstanceStorage number
    The total size of the instance disks, in GB.
    validCores number[]
    List of the valid number of cores that can be configured for the instance type.
    validThreadsPerCores number[]
    List of the valid number of threads per core that can be configured for the instance type.
    auto_recovery_supported bool
    true if auto recovery is supported.
    bare_metal bool
    true if it is a bare metal instance type.
    burstable_performance_supported bool
    true if the instance type is a burstable performance instance type.
    current_generation bool
    true if the instance type is a current generation.
    dedicated_hosts_supported bool
    true if Dedicated Hosts are supported on the instance type.
    default_cores int
    Default number of cores for the instance type.
    default_threads_per_core int
    The default number of threads per core for the instance type.
    default_vcpus int
    Default number of vCPUs for the instance type.
    ebs_encryption_support str
    Indicates whether Amazon EBS encryption is supported.
    ebs_nvme_support str
    Whether non-volatile memory express (NVMe) is supported.
    ebs_optimized_support str
    Indicates that the instance type is Amazon EBS-optimized.
    ebs_performance_baseline_bandwidth int
    The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebs_performance_baseline_iops int
    The baseline input/output storage operations per seconds for an EBS-optimized instance type.
    ebs_performance_baseline_throughput float
    The baseline throughput performance for an EBS-optimized instance type, in MBps.
    ebs_performance_maximum_bandwidth int
    The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebs_performance_maximum_iops int
    The maximum input/output storage operations per second for an EBS-optimized instance type.
    ebs_performance_maximum_throughput float
    The maximum throughput performance for an EBS-optimized instance type, in MBps.
    efa_supported bool
    Whether Elastic Fabric Adapter (EFA) is supported.
    ena_support str
    Whether Elastic Network Adapter (ENA) is supported.
    encryption_in_transit_supported bool
    Indicates whether encryption in-transit between instances is supported.
    fpgas Sequence[GetInstanceTypeFpga]
    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) for the memory available to the FPGA accelerator.
    • fpgas.#.name - The name of the FPGA accelerator.
    free_tier_eligible bool
    true if the instance type is eligible for the free tier.
    gpuses Sequence[GetInstanceTypeGpus]
    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) for the memory available to the GPU accelerator.
    • gpus.#.name - The name of the GPU accelerator.
    hibernation_supported bool
    true if On-Demand hibernation is supported.
    hypervisor str
    Hypervisor used for the instance type.
    id str
    The provider-assigned unique ID for this managed resource.
    inference_accelerators Sequence[GetInstanceTypeInferenceAccelerator]
    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.#.name - The name of the Inference accelerator.
    instance_disks Sequence[GetInstanceTypeInstanceDisk]
    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.
    instance_storage_supported bool
    true if instance storage is supported.
    instance_type str
    ipv6_supported bool
    true if IPv6 is supported.
    maximum_ipv4_addresses_per_interface int
    The maximum number of IPv4 addresses per network interface.
    maximum_ipv6_addresses_per_interface int
    The maximum number of IPv6 addresses per network interface.
    maximum_network_cards int
    The maximum number of physical network cards that can be allocated to the instance.
    maximum_network_interfaces int
    The maximum number of network interfaces for the instance type.
    memory_size int
    Size of the instance memory, in MiB.
    network_performance str
    Describes the network performance.
    supported_architectures Sequence[str]
    A list of architectures supported by the instance type.
    supported_placement_strategies Sequence[str]
    A list of supported placement groups types.
    supported_root_device_types Sequence[str]
    Indicates the supported root device types.
    supported_usages_classes Sequence[str]
    Indicates whether the instance type is offered for spot or On-Demand.
    supported_virtualization_types Sequence[str]
    The supported virtualization types.
    sustained_clock_speed float
    The speed of the processor, in GHz.
    total_fpga_memory int
    Total memory of all FPGA accelerators for the instance type (in MiB).
    total_gpu_memory int
    Total size of the memory for the GPU accelerators for the instance type (in MiB).
    total_instance_storage int
    The total size of the instance disks, in GB.
    valid_cores Sequence[int]
    List of the valid number of cores that can be configured for the instance type.
    valid_threads_per_cores Sequence[int]
    List of the valid number of threads per core that can be configured for the instance type.
    autoRecoverySupported Boolean
    true if auto recovery is supported.
    bareMetal Boolean
    true if it is a bare metal instance type.
    burstablePerformanceSupported Boolean
    true if the instance type is a burstable performance instance type.
    currentGeneration Boolean
    true if the instance type is a current generation.
    dedicatedHostsSupported Boolean
    true if Dedicated Hosts are supported on the instance type.
    defaultCores Number
    Default number of cores for the instance type.
    defaultThreadsPerCore Number
    The default number of threads per core for the instance type.
    defaultVcpus Number
    Default number of vCPUs for the instance type.
    ebsEncryptionSupport String
    Indicates whether Amazon EBS encryption is supported.
    ebsNvmeSupport String
    Whether non-volatile memory express (NVMe) is supported.
    ebsOptimizedSupport String
    Indicates that the instance type is Amazon EBS-optimized.
    ebsPerformanceBaselineBandwidth Number
    The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebsPerformanceBaselineIops Number
    The baseline input/output storage operations per seconds for an EBS-optimized instance type.
    ebsPerformanceBaselineThroughput Number
    The baseline throughput performance for an EBS-optimized instance type, in MBps.
    ebsPerformanceMaximumBandwidth Number
    The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
    ebsPerformanceMaximumIops Number
    The maximum input/output storage operations per second for an EBS-optimized instance type.
    ebsPerformanceMaximumThroughput Number
    The maximum throughput performance for an EBS-optimized instance type, in MBps.
    efaSupported Boolean
    Whether Elastic Fabric Adapter (EFA) is supported.
    enaSupport String
    Whether Elastic Network Adapter (ENA) is supported.
    encryptionInTransitSupported Boolean
    Indicates whether encryption in-transit between instances is supported.
    fpgas List<Property Map>
    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) for the memory available to the FPGA accelerator.
    • fpgas.#.name - The name of the FPGA accelerator.
    freeTierEligible Boolean
    true if the instance type is eligible for the free tier.
    gpuses List<Property Map>
    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) for the memory available to the GPU accelerator.
    • gpus.#.name - The name of the GPU accelerator.
    hibernationSupported Boolean
    true if On-Demand hibernation is supported.
    hypervisor String
    Hypervisor used for the instance type.
    id String
    The provider-assigned unique ID for this managed resource.
    inferenceAccelerators List<Property Map>
    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.#.name - The name of the Inference accelerator.
    instanceDisks List<Property Map>
    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 Boolean
    true if instance storage is supported.
    instanceType String
    ipv6Supported Boolean
    true if IPv6 is supported.
    maximumIpv4AddressesPerInterface Number
    The maximum number of IPv4 addresses per network interface.
    maximumIpv6AddressesPerInterface Number
    The maximum number of IPv6 addresses per network interface.
    maximumNetworkCards Number
    The maximum number of physical network cards that can be allocated to the instance.
    maximumNetworkInterfaces Number
    The maximum number of network interfaces for the instance type.
    memorySize Number
    Size of the instance memory, in MiB.
    networkPerformance String
    Describes the network performance.
    supportedArchitectures List<String>
    A list of architectures supported by the instance type.
    supportedPlacementStrategies List<String>
    A list of supported placement groups types.
    supportedRootDeviceTypes List<String>
    Indicates the supported root device types.
    supportedUsagesClasses List<String>
    Indicates whether the instance type is offered for spot or On-Demand.
    supportedVirtualizationTypes List<String>
    The supported virtualization types.
    sustainedClockSpeed Number
    The speed of the processor, in GHz.
    totalFpgaMemory Number
    Total memory of all FPGA accelerators for the instance type (in MiB).
    totalGpuMemory Number
    Total size of the memory for the GPU accelerators for the instance type (in MiB).
    totalInstanceStorage Number
    The total size of the instance disks, in GB.
    validCores List<Number>
    List of the valid number of cores that can be configured for the instance type.
    validThreadsPerCores List<Number>
    List of the valid number of threads per core that can be configured for the instance type.

    Supporting Types

    GetInstanceTypeFpga

    Count int
    Manufacturer string
    MemorySize int
    Size of the instance memory, in MiB.
    Name string
    Count int
    Manufacturer string
    MemorySize int
    Size of the instance memory, in MiB.
    Name string
    count Integer
    manufacturer String
    memorySize Integer
    Size of the instance memory, in MiB.
    name String
    count number
    manufacturer string
    memorySize number
    Size of the instance memory, in MiB.
    name string
    count int
    manufacturer str
    memory_size int
    Size of the instance memory, in MiB.
    name str
    count Number
    manufacturer String
    memorySize Number
    Size of the instance memory, in MiB.
    name String

    GetInstanceTypeGpus

    Count int
    Manufacturer string
    MemorySize int
    Size of the instance memory, in MiB.
    Name string
    Count int
    Manufacturer string
    MemorySize int
    Size of the instance memory, in MiB.
    Name string
    count Integer
    manufacturer String
    memorySize Integer
    Size of the instance memory, in MiB.
    name String
    count number
    manufacturer string
    memorySize number
    Size of the instance memory, in MiB.
    name string
    count int
    manufacturer str
    memory_size int
    Size of the instance memory, in MiB.
    name str
    count Number
    manufacturer String
    memorySize Number
    Size of the instance memory, in MiB.
    name String

    GetInstanceTypeInferenceAccelerator

    Count int
    Manufacturer string
    Name string
    Count int
    Manufacturer string
    Name string
    count Integer
    manufacturer String
    name String
    count number
    manufacturer string
    name string
    count Number
    manufacturer String
    name String

    GetInstanceTypeInstanceDisk

    Count int
    Size int
    Type string
    Count int
    Size int
    Type string
    count Integer
    size Integer
    type String
    count number
    size number
    type string
    count int
    size int
    type str
    count Number
    size Number
    type String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.28.1 published on Thursday, Mar 28, 2024 by Pulumi