Struct aws_sdk_ecs::types::ClusterSetting
source · #[non_exhaustive]pub struct ClusterSetting {
pub name: Option<ClusterSettingName>,
pub value: Option<String>,
}Expand description
The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
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.name: Option<ClusterSettingName>The name of the cluster setting. The value is containerInsights .
value: Option<String>The value to set for the cluster setting. The supported values are enabled and disabled.
If you set name to containerInsights and value to enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the containerInsights account setting is turned on. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
Implementations§
source§impl ClusterSetting
impl ClusterSetting
sourcepub fn name(&self) -> Option<&ClusterSettingName>
pub fn name(&self) -> Option<&ClusterSettingName>
The name of the cluster setting. The value is containerInsights .
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The value to set for the cluster setting. The supported values are enabled and disabled.
If you set name to containerInsights and value to enabled, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the containerInsights account setting is turned on. If a cluster value is specified, it will override the containerInsights value set with PutAccountSetting or PutAccountSettingDefault.
source§impl ClusterSetting
impl ClusterSetting
sourcepub fn builder() -> ClusterSettingBuilder
pub fn builder() -> ClusterSettingBuilder
Creates a new builder-style object to manufacture ClusterSetting.
Trait Implementations§
source§impl Clone for ClusterSetting
impl Clone for ClusterSetting
source§fn clone(&self) -> ClusterSetting
fn clone(&self) -> ClusterSetting
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClusterSetting
impl Debug for ClusterSetting
source§impl PartialEq for ClusterSetting
impl PartialEq for ClusterSetting
impl StructuralPartialEq for ClusterSetting
Auto Trait Implementations§
impl Freeze for ClusterSetting
impl RefUnwindSafe for ClusterSetting
impl Send for ClusterSetting
impl Sync for ClusterSetting
impl Unpin for ClusterSetting
impl UnwindSafe for ClusterSetting
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