#[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 ==
.