| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudSearch.Types.ScalingParameters
Description
Synopsis
- data ScalingParameters = ScalingParameters' {}
- newScalingParameters :: ScalingParameters
- scalingParameters_desiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType)
- scalingParameters_desiredPartitionCount :: Lens' ScalingParameters (Maybe Natural)
- scalingParameters_desiredReplicationCount :: Lens' ScalingParameters (Maybe Natural)
Documentation
data ScalingParameters Source #
The desired instance type and desired number of replicas of each index partition.
See: newScalingParameters smart constructor.
Constructors
| ScalingParameters' | |
Fields
| |
Instances
newScalingParameters :: ScalingParameters Source #
Create a value of ScalingParameters with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:desiredInstanceType:ScalingParameters', scalingParameters_desiredInstanceType - The instance type that you want to preconfigure for your domain. For
example, search.m1.small.
$sel:desiredPartitionCount:ScalingParameters', scalingParameters_desiredPartitionCount - The number of partitions you want to preconfigure for your domain. Only
valid when you select m2.2xlarge as the desired instance type.
$sel:desiredReplicationCount:ScalingParameters', scalingParameters_desiredReplicationCount - The number of replicas you want to preconfigure for each index
partition.
scalingParameters_desiredInstanceType :: Lens' ScalingParameters (Maybe PartitionInstanceType) Source #
The instance type that you want to preconfigure for your domain. For
example, search.m1.small.
scalingParameters_desiredPartitionCount :: Lens' ScalingParameters (Maybe Natural) Source #
The number of partitions you want to preconfigure for your domain. Only
valid when you select m2.2xlarge as the desired instance type.
scalingParameters_desiredReplicationCount :: Lens' ScalingParameters (Maybe Natural) Source #
The number of replicas you want to preconfigure for each index partition.