You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ECS::Types::ClusterSetting
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ClusterSetting
- Defined in:
- (unknown)
Overview
When passing ClusterSetting as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "containerInsights", # accepts containerInsights
value: "String",
}
The settings to use when creating a cluster. This parameter is used to enable CloudWatch Container Insights for a cluster.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the cluster setting.
-
#value ⇒ String
The value to set for the cluster setting.
Instance Attribute Details
#name ⇒ String
The name of the cluster setting. The only supported value is
containerInsights
.
Possible values:
- containerInsights
#value ⇒ 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.