#[non_exhaustive]pub struct ServerlessV2ScalingConfigurationInfo {
pub min_capacity: Option<f64>,
pub max_capacity: Option<f64>,
}Expand description
The scaling configuration for an Aurora Serverless v2 DB cluster.
For more information, see Using Amazon Aurora Serverless v2 in the Amazon Aurora User Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.min_capacity: Option<f64>The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
max_capacity: Option<f64>The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128.
Implementations§
source§impl ServerlessV2ScalingConfigurationInfo
impl ServerlessV2ScalingConfigurationInfo
sourcepub fn min_capacity(&self) -> Option<f64>
pub fn min_capacity(&self) -> Option<f64>
The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on. The smallest value that you can use is 0.5.
sourcepub fn max_capacity(&self) -> Option<f64>
pub fn max_capacity(&self) -> Option<f64>
The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster. You can specify ACU values in half-step increments, such as 40, 40.5, 41, and so on. The largest value that you can use is 128.
source§impl ServerlessV2ScalingConfigurationInfo
impl ServerlessV2ScalingConfigurationInfo
sourcepub fn builder() -> ServerlessV2ScalingConfigurationInfoBuilder
pub fn builder() -> ServerlessV2ScalingConfigurationInfoBuilder
Creates a new builder-style object to manufacture ServerlessV2ScalingConfigurationInfo.
Trait Implementations§
source§impl Clone for ServerlessV2ScalingConfigurationInfo
impl Clone for ServerlessV2ScalingConfigurationInfo
source§fn clone(&self) -> ServerlessV2ScalingConfigurationInfo
fn clone(&self) -> ServerlessV2ScalingConfigurationInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for ServerlessV2ScalingConfigurationInfo
impl PartialEq for ServerlessV2ScalingConfigurationInfo
source§fn eq(&self, other: &ServerlessV2ScalingConfigurationInfo) -> bool
fn eq(&self, other: &ServerlessV2ScalingConfigurationInfo) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerlessV2ScalingConfigurationInfo
Auto Trait Implementations§
impl Freeze for ServerlessV2ScalingConfigurationInfo
impl RefUnwindSafe for ServerlessV2ScalingConfigurationInfo
impl Send for ServerlessV2ScalingConfigurationInfo
impl Sync for ServerlessV2ScalingConfigurationInfo
impl Unpin for ServerlessV2ScalingConfigurationInfo
impl UnwindSafe for ServerlessV2ScalingConfigurationInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more