amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ECS.Types.ClusterSetting

Description

 
Synopsis

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

  • name :: Maybe ClusterSettingName

    The name of the cluster setting. The only supported value is containerInsights.

  • value :: Maybe Text

    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.

Instances

Instances details
FromJSON ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

ToJSON ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Generic ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Associated Types

type Rep ClusterSetting :: Type -> Type #

Read ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Show ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

NFData ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Methods

rnf :: ClusterSetting -> () #

Eq ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Hashable ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

type Rep ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

type Rep ClusterSetting = D1 ('MetaData "ClusterSetting" "Amazonka.ECS.Types.ClusterSetting" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "ClusterSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterSettingName)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.