You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudSearch::Types::ScalingParameters

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

Overview

Note:

When making an API call, you may pass ScalingParameters data as a hash:

{
  desired_instance_type: "search.m1.small", # accepts search.m1.small, search.m1.large, search.m2.xlarge, search.m2.2xlarge, search.m3.medium, search.m3.large, search.m3.xlarge, search.m3.2xlarge
  desired_replication_count: 1,
  desired_partition_count: 1,
}

The desired instance type and desired number of replicas of each index partition.

Instance Attribute Summary collapse

Instance Attribute Details

#desired_instance_typeString

The instance type that you want to preconfigure for your domain. For example, search.m1.small.

Returns:

  • (String)


2107
2108
2109
2110
2111
2112
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 2107

class ScalingParameters < Struct.new(
  :desired_instance_type,
  :desired_replication_count,
  :desired_partition_count)
  include Aws::Structure
end

#desired_partition_countInteger

The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.

Returns:

  • (Integer)


2107
2108
2109
2110
2111
2112
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 2107

class ScalingParameters < Struct.new(
  :desired_instance_type,
  :desired_replication_count,
  :desired_partition_count)
  include Aws::Structure
end

#desired_replication_countInteger

The number of replicas you want to preconfigure for each index partition.

Returns:

  • (Integer)


2107
2108
2109
2110
2111
2112
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 2107

class ScalingParameters < Struct.new(
  :desired_instance_type,
  :desired_replication_count,
  :desired_partition_count)
  include Aws::Structure
end