libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.ClusterSetting

Description

 
Synopsis

Documentation

data ClusterSetting Source #

The settings to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster.

See: newClusterSetting smart constructor.

Constructors

ClusterSetting' 

Fields

  • 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.

  • name :: Maybe ClusterSettingName

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

Instances

Instances details
Eq ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Read ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Show 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 #

NFData ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

Methods

rnf :: ClusterSetting -> () #

Hashable ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

ToJSON ClusterSetting Source # 
Instance details

Defined in Amazonka.ECS.Types.ClusterSetting

FromJSON 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" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "ClusterSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterSettingName))))

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: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.

$sel:name:ClusterSetting', clusterSetting_name - 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.

clusterSetting_name :: Lens' ClusterSetting (Maybe ClusterSettingName) Source #

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