#[non_exhaustive]pub struct AwsEcsClusterDefaultCapacityProviderStrategyDetails {
pub base: Option<i32>,
pub capacity_provider: Option<String>,
pub weight: Option<i32>,
}
Expand description
The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.base: Option<i32>
The minimum number of tasks to run on the specified capacity provider.
capacity_provider: Option<String>
The name of the capacity provider.
weight: Option<i32>
The relative percentage of the total number of tasks launched that should use the capacity provider.
Implementations§
source§impl AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl AwsEcsClusterDefaultCapacityProviderStrategyDetails
source§impl AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl AwsEcsClusterDefaultCapacityProviderStrategyDetails
sourcepub fn builder() -> AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
pub fn builder() -> AwsEcsClusterDefaultCapacityProviderStrategyDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsClusterDefaultCapacityProviderStrategyDetails
.
Trait Implementations§
source§impl Clone for AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl Clone for AwsEcsClusterDefaultCapacityProviderStrategyDetails
source§fn clone(&self) -> AwsEcsClusterDefaultCapacityProviderStrategyDetails
fn clone(&self) -> AwsEcsClusterDefaultCapacityProviderStrategyDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl PartialEq for AwsEcsClusterDefaultCapacityProviderStrategyDetails
source§fn eq(
&self,
other: &AwsEcsClusterDefaultCapacityProviderStrategyDetails
) -> bool
fn eq( &self, other: &AwsEcsClusterDefaultCapacityProviderStrategyDetails ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsClusterDefaultCapacityProviderStrategyDetails
Auto Trait Implementations§
impl RefUnwindSafe for AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl Send for AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl Sync for AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl Unpin for AwsEcsClusterDefaultCapacityProviderStrategyDetails
impl UnwindSafe for AwsEcsClusterDefaultCapacityProviderStrategyDetails
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.