Class: Aws::ECS::Types::UpdateClusterSettingsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The name of the cluster to modify the settings for.

Returns:

  • (String)


12971
12972
12973
12974
12975
12976
# File 'lib/aws-sdk-ecs/types.rb', line 12971

class UpdateClusterSettingsRequest < Struct.new(
  :cluster,
  :settings)
  SENSITIVE = []
  include Aws::Structure
end

#settingsArray<Types::ClusterSetting>

The setting to use by default for a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the ‘containerInsights` value set with [PutAccountSetting] or [PutAccountSettingDefault].

Currently, if you delete an existing cluster that does not have Container Insights turned on, and then create a new cluster with the same name with Container Insights tuned on, Container Insights will not actually be turned on. If you want to preserve the same name for your existing cluster and turn on Container Insights, you must wait 7 days before you can re-create it.

[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSetting.html [2]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutAccountSettingDefault.html

Returns:



12971
12972
12973
12974
12975
12976
# File 'lib/aws-sdk-ecs/types.rb', line 12971

class UpdateClusterSettingsRequest < Struct.new(
  :cluster,
  :settings)
  SENSITIVE = []
  include Aws::Structure
end