| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.Types.ClusterSetting
Description
Documentation
data ClusterSetting Source #
The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
See: newClusterSetting smart constructor.
Constructors
| ClusterSetting' | |
Fields
| |
Instances
newClusterSetting :: ClusterSetting Source #
Create a value of ClusterSetting with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:ClusterSetting', clusterSetting_name - The name of the cluster setting. The only supported value is
containerInsights.
$sel:value:ClusterSetting', clusterSetting_value - 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.
clusterSetting_name :: Lens' ClusterSetting (Maybe ClusterSettingName) Source #
The name of the cluster setting. The only supported value is
containerInsights.
clusterSetting_value :: Lens' ClusterSetting (Maybe Text) Source #
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.