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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
# File 'lib/aws-sdk-securityhub/types.rb', line 2937

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)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
# File 'lib/aws-sdk-securityhub/types.rb', line 2937

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)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
# File 'lib/aws-sdk-securityhub/types.rb', line 2937

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)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
# File 'lib/aws-sdk-securityhub/types.rb', line 2937

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)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
# File 'lib/aws-sdk-securityhub/types.rb', line 2937

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)


2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
# File 'lib/aws-sdk-securityhub/types.rb', line 2937

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