#[non_exhaustive]pub struct UpdateClusterSettingsInput {
pub cluster: Option<String>,
pub settings: Option<Vec<ClusterSetting>>,
}
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.cluster: Option<String>
The name of the cluster to modify the settings for.
settings: Option<Vec<ClusterSetting>>
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the containerInsights
value set with PutAccountSetting
or PutAccountSettingDefault
.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
Implementations§
source§impl UpdateClusterSettingsInput
impl UpdateClusterSettingsInput
sourcepub fn settings(&self) -> &[ClusterSetting]
pub fn settings(&self) -> &[ClusterSetting]
The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the containerInsights
value set with PutAccountSetting
or PutAccountSettingDefault
.
Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .settings.is_none()
.
source§impl UpdateClusterSettingsInput
impl UpdateClusterSettingsInput
sourcepub fn builder() -> UpdateClusterSettingsInputBuilder
pub fn builder() -> UpdateClusterSettingsInputBuilder
Creates a new builder-style object to manufacture UpdateClusterSettingsInput
.
Trait Implementations§
source§impl Clone for UpdateClusterSettingsInput
impl Clone for UpdateClusterSettingsInput
source§fn clone(&self) -> UpdateClusterSettingsInput
fn clone(&self) -> UpdateClusterSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateClusterSettingsInput
impl Debug for UpdateClusterSettingsInput
source§impl PartialEq for UpdateClusterSettingsInput
impl PartialEq for UpdateClusterSettingsInput
source§fn eq(&self, other: &UpdateClusterSettingsInput) -> bool
fn eq(&self, other: &UpdateClusterSettingsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateClusterSettingsInput
Auto Trait Implementations§
impl Freeze for UpdateClusterSettingsInput
impl RefUnwindSafe for UpdateClusterSettingsInput
impl Send for UpdateClusterSettingsInput
impl Sync for UpdateClusterSettingsInput
impl Unpin for UpdateClusterSettingsInput
impl UnwindSafe for UpdateClusterSettingsInput
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> 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