Class: Aws::AutoScaling::Types::InstanceRequirements
- Inherits:
-
Struct
- Object
- Struct
- Aws::AutoScaling::Types::InstanceRequirements
- Defined in:
- gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb
Overview
When making an API call, you may pass InstanceRequirements data as a hash:
{
v_cpu_count: { # required
min: 1, # required
max: 1,
},
memory_mi_b: { # required
min: 1, # required
max: 1,
},
cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
memory_gi_b_per_v_cpu: {
min: 1.0,
max: 1.0,
},
excluded_instance_types: ["ExcludedInstance"],
instance_generations: ["current"], # accepts current, previous
spot_max_price_percentage_over_lowest_price: 1,
on_demand_max_price_percentage_over_lowest_price: 1,
bare_metal: "included", # accepts included, excluded, required
burstable_performance: "included", # accepts included, excluded, required
require_hibernate_support: false,
network_interface_count: {
min: 1,
max: 1,
},
local_storage: "included", # accepts included, excluded, required
local_storage_types: ["hdd"], # accepts hdd, ssd
total_local_storage_gb: {
min: 1.0,
max: 1.0,
},
baseline_ebs_bandwidth_mbps: {
min: 1,
max: 1,
},
accelerator_types: ["gpu"], # accepts gpu, fpga, inference
accelerator_count: {
min: 1,
max: 1,
},
accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
accelerator_total_memory_mi_b: {
min: 1,
max: 1,
},
}
When you specify multiple parameters, you get instance types that satisfy all of the specified parameters. If you specify multiple values for a parameter, you get instance types that satisfy any of the specified values.
Represents requirements for the types of instances that can be
launched. You must specify VCpuCount
and MemoryMiB
, but all other
parameters are optional. For more information, see Creating an Auto
Scaling group using attribute-based instance type selection in the
Amazon EC2 Auto Scaling User Guide.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#accelerator_count ⇒ Types::AcceleratorCountRequest
The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.
-
#accelerator_manufacturers ⇒ Array<String>
Indicates whether instance types must have accelerators by specific manufacturers.
-
#accelerator_names ⇒ Array<String>
Lists the accelerators that must be on an instance type.
-
#accelerator_total_memory_mi_b ⇒ Types::AcceleratorTotalMemoryMiBRequest
The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
-
#accelerator_types ⇒ Array<String>
Lists the accelerator types that must be on an instance type.
-
#bare_metal ⇒ String
Indicates whether bare metal instance types are included, excluded, or required.
-
#baseline_ebs_bandwidth_mbps ⇒ Types::BaselineEbsBandwidthMbpsRequest
The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
-
#burstable_performance ⇒ String
Indicates whether burstable performance instance types are included, excluded, or required.
-
#cpu_manufacturers ⇒ Array<String>
Lists which specific CPU manufacturers to include.
-
#excluded_instance_types ⇒ Array<String>
Lists which instance types to exclude.
-
#instance_generations ⇒ Array<String>
Indicates whether current or previous generation instance types are included.
-
#local_storage ⇒ String
Indicates whether instance types with instance store volumes are included, excluded, or required.
-
#local_storage_types ⇒ Array<String>
Indicates the type of local storage that is required.
-
#memory_gi_b_per_v_cpu ⇒ Types::MemoryGiBPerVCpuRequest
The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
-
#memory_mi_b ⇒ Types::MemoryMiBRequest
The minimum and maximum instance memory size for an instance type, in MiB.
-
#network_interface_count ⇒ Types::NetworkInterfaceCountRequest
The minimum and maximum number of network interfaces for an instance type.
-
#on_demand_max_price_percentage_over_lowest_price ⇒ Integer
The price protection threshold for On-Demand Instances.
-
#require_hibernate_support ⇒ Boolean
Indicates whether instance types must provide On-Demand Instance hibernation support.
-
#spot_max_price_percentage_over_lowest_price ⇒ Integer
The price protection threshold for Spot Instances.
-
#total_local_storage_gb ⇒ Types::TotalLocalStorageGBRequest
The minimum and maximum total local storage size for an instance type, in GB.
-
#v_cpu_count ⇒ Types::VCpuCountRequest
The minimum and maximum number of vCPUs for an instance type.
Instance Attribute Details
#accelerator_count ⇒ Types::AcceleratorCountRequest
The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.
To exclude accelerator-enabled instance types, set Max
to 0
.
Default: No minimum or maximum
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#accelerator_manufacturers ⇒ Array<String>
Indicates whether instance types must have accelerators by specific manufacturers.
For instance types with NVIDIA devices, specify
nvidia
.For instance types with AMD devices, specify
amd
.For instance types with Amazon Web Services devices, specify
amazon-web-services
.For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#accelerator_names ⇒ Array<String>
Lists the accelerators that must be on an instance type.
For instance types with NVIDIA A100 GPUs, specify
a100
.For instance types with NVIDIA V100 GPUs, specify
v100
.For instance types with NVIDIA K80 GPUs, specify
k80
.For instance types with NVIDIA T4 GPUs, specify
t4
.For instance types with NVIDIA M60 GPUs, specify
m60
.For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
.For instance types with Xilinx VU9P FPGAs, specify
vu9p
.
Default: Any accelerator
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#accelerator_total_memory_mi_b ⇒ Types::AcceleratorTotalMemoryMiBRequest
The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
Default: No minimum or maximum
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#accelerator_types ⇒ Array<String>
Lists the accelerator types that must be on an instance type.
For instance types with GPU accelerators, specify
gpu
.For instance types with FPGA accelerators, specify
fpga
.For instance types with inference accelerators, specify
inference
.
Default: Any accelerator type
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#bare_metal ⇒ String
Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#baseline_ebs_bandwidth_mbps ⇒ Types::BaselineEbsBandwidthMbpsRequest
The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances.
Default: No minimum or maximum
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#burstable_performance ⇒ String
Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances.
Default: excluded
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#cpu_manufacturers ⇒ Array<String>
Lists which specific CPU manufacturers to include.
For instance types with Intel CPUs, specify
intel
.For instance types with AMD CPUs, specify
amd
.For instance types with Amazon Web Services CPUs, specify
amazon-web-services
.
Default: Any manufacturer
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#excluded_instance_types ⇒ Array<String>
Lists which instance types to exclude. You can use strings with one
or more wild cards, represented by an asterisk (*
). The following
are examples: c5*
, m5a.*
, r*
, *3*
.
For example, if you specify c5*
, you are excluding the entire C5
instance family, which includes all C5a and C5n instance types. If
you specify m5a.*
, you are excluding all the M5a instance types,
but not the M5n instance types.
Default: No excluded instance types
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#instance_generations ⇒ Array<String>
Indicates whether current or previous generation instance types are included.
For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances.For previous generation instance types, specify
previous
.
Default: Any current or previous generation
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#local_storage ⇒ String
Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances.
Default: included
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#local_storage_types ⇒ Array<String>
Indicates the type of local storage that is required.
For instance types with hard disk drive (HDD) storage, specify
hdd
.For instance types with solid state drive (SSD) storage, specify
ssd
.
Default: Any local storage type
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#memory_gi_b_per_v_cpu ⇒ Types::MemoryGiBPerVCpuRequest
The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
Default: No minimum or maximum
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#memory_mi_b ⇒ Types::MemoryMiBRequest
The minimum and maximum instance memory size for an instance type, in MiB.
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#network_interface_count ⇒ Types::NetworkInterfaceCountRequest
The minimum and maximum number of network interfaces for an instance type.
Default: No minimum or maximum
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#on_demand_max_price_percentage_over_lowest_price ⇒ Integer
The price protection threshold for On-Demand Instances. This is the
maximum you’ll pay for an On-Demand Instance, expressed as a
percentage higher than the least expensive current generation M, C,
or R instance type with your specified attributes. When Amazon EC2
Auto Scaling selects instance types with your attributes, we will
exclude instance types whose price is higher than your threshold.
The parameter accepts an integer, which Amazon EC2 Auto Scaling
interprets as a percentage. To turn off price protection, specify a
high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or memory-mib
, the
price protection threshold is applied based on the per vCPU or per
memory price instead of the per instance price.
Default: 20
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#require_hibernate_support ⇒ Boolean
Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#spot_max_price_percentage_over_lowest_price ⇒ Integer
The price protection threshold for Spot Instances. This is the
maximum you’ll pay for a Spot Instance, expressed as a percentage
higher than the least expensive current generation M, C, or R
instance type with your specified attributes. When Amazon EC2 Auto
Scaling selects instance types with your attributes, we will exclude
instance types whose price is higher than your threshold. The
parameter accepts an integer, which Amazon EC2 Auto Scaling
interprets as a percentage. To turn off price protection, specify a
high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or memory-mib
, the
price protection threshold is applied based on the per vCPU or per
memory price instead of the per instance price.
Default: 100
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#total_local_storage_gb ⇒ Types::TotalLocalStorageGBRequest
The minimum and maximum total local storage size for an instance type, in GB.
Default: No minimum or maximum
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |
#v_cpu_count ⇒ Types::VCpuCountRequest
The minimum and maximum number of vCPUs for an instance type.
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 |
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 4326 class InstanceRequirements < Struct.new( :v_cpu_count, :memory_mi_b, :cpu_manufacturers, :memory_gi_b_per_v_cpu, :excluded_instance_types, :instance_generations, :spot_max_price_percentage_over_lowest_price, :on_demand_max_price_percentage_over_lowest_price, :bare_metal, :burstable_performance, :require_hibernate_support, :network_interface_count, :local_storage, :local_storage_types, :total_local_storage_gb, :baseline_ebs_bandwidth_mbps, :accelerator_types, :accelerator_count, :accelerator_manufacturers, :accelerator_names, :accelerator_total_memory_mi_b) SENSITIVE = [] include Aws::Structure end |