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

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

Overview

Note:

When making an API call, you may pass UpdateClusterSettingsRequest data as a hash:

{
  cluster: "String", # required
  settings: [ # required
    {
      name: "containerInsights", # accepts containerInsights
      value: "String",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#clusterString

The name of the cluster to modify the settings for.

Returns:

  • (String)

11615
11616
11617
11618
11619
11620
# File 'lib/aws-sdk-ecs/types.rb', line 11615

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 enable CloudWatch Container Insights for a cluster. If this value is specified, it overrides the `containerInsights` value set with PutAccountSetting or PutAccountSettingDefault.

Returns:


11615
11616
11617
11618
11619
11620
# File 'lib/aws-sdk-ecs/types.rb', line 11615

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