#[non_exhaustive]pub struct AutoScalingSettingsDescription {
pub minimum_units: Option<i64>,
pub maximum_units: Option<i64>,
pub auto_scaling_disabled: Option<bool>,
pub auto_scaling_role_arn: Option<String>,
pub scaling_policies: Option<Vec<AutoScalingPolicyDescription>>,
}
Expand description
Represents the auto scaling settings for a global table or global secondary index.
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.minimum_units: Option<i64>
The minimum capacity units that a global table or global secondary index should be scaled down to.
maximum_units: Option<i64>
The maximum capacity units that a global table or global secondary index should be scaled up to.
auto_scaling_disabled: Option<bool>
Disabled auto scaling for this global table or global secondary index.
auto_scaling_role_arn: Option<String>
Role ARN used for configuring the auto scaling policy.
scaling_policies: Option<Vec<AutoScalingPolicyDescription>>
Information about the scaling policies.
Implementations§
source§impl AutoScalingSettingsDescription
impl AutoScalingSettingsDescription
sourcepub fn minimum_units(&self) -> Option<i64>
pub fn minimum_units(&self) -> Option<i64>
The minimum capacity units that a global table or global secondary index should be scaled down to.
sourcepub fn maximum_units(&self) -> Option<i64>
pub fn maximum_units(&self) -> Option<i64>
The maximum capacity units that a global table or global secondary index should be scaled up to.
sourcepub fn auto_scaling_disabled(&self) -> Option<bool>
pub fn auto_scaling_disabled(&self) -> Option<bool>
Disabled auto scaling for this global table or global secondary index.
sourcepub fn auto_scaling_role_arn(&self) -> Option<&str>
pub fn auto_scaling_role_arn(&self) -> Option<&str>
Role ARN used for configuring the auto scaling policy.
sourcepub fn scaling_policies(&self) -> &[AutoScalingPolicyDescription]
pub fn scaling_policies(&self) -> &[AutoScalingPolicyDescription]
Information about the scaling policies.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .scaling_policies.is_none()
.
source§impl AutoScalingSettingsDescription
impl AutoScalingSettingsDescription
sourcepub fn builder() -> AutoScalingSettingsDescriptionBuilder
pub fn builder() -> AutoScalingSettingsDescriptionBuilder
Creates a new builder-style object to manufacture AutoScalingSettingsDescription
.
Trait Implementations§
source§impl Clone for AutoScalingSettingsDescription
impl Clone for AutoScalingSettingsDescription
source§fn clone(&self) -> AutoScalingSettingsDescription
fn clone(&self) -> AutoScalingSettingsDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AutoScalingSettingsDescription
impl PartialEq for AutoScalingSettingsDescription
source§fn eq(&self, other: &AutoScalingSettingsDescription) -> bool
fn eq(&self, other: &AutoScalingSettingsDescription) -> bool
self
and other
values to be equal, and is used
by ==
.