Class: Aws::ECS::Types::ClusterSetting
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::ClusterSetting
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.
Constant Summary collapse
- SENSITIVE =
[]
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 value is ‘containerInsights` .
899 900 901 902 903 904 |
# File 'lib/aws-sdk-ecs/types.rb', line 899 class ClusterSetting < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value to set for the cluster setting. The supported values are ‘enabled` and `disabled`.
If you set ‘name` to `containerInsights` and `value` to `enabled`, CloudWatch Container Insights will be on for the cluster, otherwise it will be off unless the `containerInsights` account setting is turned on. If a cluster value is specified, it will override the `containerInsights` value set with [PutAccountSetting] or [PutAccountSettingDefault].
[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html [2]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html
899 900 901 902 903 904 |
# File 'lib/aws-sdk-ecs/types.rb', line 899 class ClusterSetting < Struct.new( :name, :value) SENSITIVE = [] include Aws::Structure end |