Class: Aws::SecurityHub::Types::AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Information about the instances distribution.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#on_demand_allocation_strategyString

How to allocate instance types to fulfill On-Demand capacity. The valid value is prioritized.

Returns:

  • (String)


2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2802

class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails < Struct.new(
  :on_demand_allocation_strategy,
  :on_demand_base_capacity,
  :on_demand_percentage_above_base_capacity,
  :spot_allocation_strategy,
  :spot_instance_pools,
  :spot_max_price)
  SENSITIVE = []
  include Aws::Structure
end

#on_demand_base_capacityInteger

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.

Returns:

  • (Integer)


2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2802

class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails < Struct.new(
  :on_demand_allocation_strategy,
  :on_demand_base_capacity,
  :on_demand_percentage_above_base_capacity,
  :spot_allocation_strategy,
  :spot_instance_pools,
  :spot_max_price)
  SENSITIVE = []
  include Aws::Structure
end

#on_demand_percentage_above_base_capacityInteger

The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.

Returns:

  • (Integer)


2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2802

class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails < Struct.new(
  :on_demand_allocation_strategy,
  :on_demand_base_capacity,
  :on_demand_percentage_above_base_capacity,
  :spot_allocation_strategy,
  :spot_instance_pools,
  :spot_max_price)
  SENSITIVE = []
  include Aws::Structure
end

#spot_allocation_strategyString

How to allocate instances across Spot Instance pools. Valid values are as follows:

  • lowest-price

  • capacity-optimized

  • capacity-optimized-prioritized

Returns:

  • (String)


2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2802

class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails < Struct.new(
  :on_demand_allocation_strategy,
  :on_demand_base_capacity,
  :on_demand_percentage_above_base_capacity,
  :spot_allocation_strategy,
  :spot_instance_pools,
  :spot_max_price)
  SENSITIVE = []
  include Aws::Structure
end

#spot_instance_poolsInteger

The number of Spot Instance pools across which to allocate your Spot Instances.

Returns:

  • (Integer)


2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2802

class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails < Struct.new(
  :on_demand_allocation_strategy,
  :on_demand_base_capacity,
  :on_demand_percentage_above_base_capacity,
  :spot_allocation_strategy,
  :spot_instance_pools,
  :spot_max_price)
  SENSITIVE = []
  include Aws::Structure
end

#spot_max_priceString

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Returns:

  • (String)


2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 2802

class AwsAutoScalingAutoScalingGroupMixedInstancesPolicyInstancesDistributionDetails < Struct.new(
  :on_demand_allocation_strategy,
  :on_demand_base_capacity,
  :on_demand_percentage_above_base_capacity,
  :spot_allocation_strategy,
  :spot_instance_pools,
  :spot_max_price)
  SENSITIVE = []
  include Aws::Structure
end