AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::ECS::Types::ClusterSetting

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass ClusterSetting data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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

Returns:

  • (String)


653
654
655
656
657
658
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 653

class ClusterSetting < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

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.

Returns:

  • (String)


653
654
655
656
657
658
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 653

class ClusterSetting < Struct.new(
  :name,
  :value)
  SENSITIVE = []
  include Aws::Structure
end