pub struct ClusterSetting {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
The settings to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster.
Fields§
§name: Option<String>
The name of the cluster setting. The only supported value is containerInsights
.
value: Option<String>
The value to set for the cluster setting. The supported values are enabled
and disabled
. If enabled
is specified, CloudWatch Container Insights will be enabled for the cluster, otherwise it will be disabled unless the containerInsights
account setting is enabled. If a cluster value is specified, it will override the containerInsights
value set with PutAccountSetting or PutAccountSettingDefault.
Trait Implementations§
Source§impl Clone for ClusterSetting
impl Clone for ClusterSetting
Source§fn clone(&self) -> ClusterSetting
fn clone(&self) -> ClusterSetting
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 Debug for ClusterSetting
impl Debug for ClusterSetting
Source§impl Default for ClusterSetting
impl Default for ClusterSetting
Source§fn default() -> ClusterSetting
fn default() -> ClusterSetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterSetting
impl<'de> Deserialize<'de> for ClusterSetting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClusterSetting
impl PartialEq for ClusterSetting
Source§impl Serialize for ClusterSetting
impl Serialize 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
Mutably borrows from an owned value. Read more