[−][src]Struct rusoto_ecs::PutClusterCapacityProvidersRequest
Fields
capacity_providers: Vec<String>
The name of one or more capacity providers to associate with the cluster.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a AWS Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.
cluster: String
The short name or full Amazon Resource Name (ARN) of the cluster to modify the capacity provider settings for. If you do not specify a cluster, the default cluster is assumed.
default_capacity_provider_strategy: Vec<CapacityProviderStrategyItem>
The capacity provider strategy to use by default for the cluster.
When creating a service or running a task on a cluster, if no capacity provider or launch type is specified then the default capacity provider strategy for the cluster is used.
A capacity provider strategy consists of one or more capacity providers along with the base
and weight
to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The PutClusterCapacityProviders API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE
or UPDATING
status can be used.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the CreateCapacityProvider API operation.
To use a AWS Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The AWS Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.
Trait Implementations
impl Clone for PutClusterCapacityProvidersRequest
[src]
pub fn clone(&self) -> PutClusterCapacityProvidersRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PutClusterCapacityProvidersRequest
[src]
impl Default for PutClusterCapacityProvidersRequest
[src]
pub fn default() -> PutClusterCapacityProvidersRequest
[src]
impl PartialEq<PutClusterCapacityProvidersRequest> for PutClusterCapacityProvidersRequest
[src]
pub fn eq(&self, other: &PutClusterCapacityProvidersRequest) -> bool
[src]
pub fn ne(&self, other: &PutClusterCapacityProvidersRequest) -> bool
[src]
impl Serialize for PutClusterCapacityProvidersRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for PutClusterCapacityProvidersRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for PutClusterCapacityProvidersRequest
[src]
impl Send for PutClusterCapacityProvidersRequest
[src]
impl Sync for PutClusterCapacityProvidersRequest
[src]
impl Unpin for PutClusterCapacityProvidersRequest
[src]
impl UnwindSafe for PutClusterCapacityProvidersRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,