Learn R Programming

paws.compute (version 0.1.12)

ecs_update_cluster_settings: Modifies the settings to use for a cluster

Description

Modifies the settings to use for a cluster.

Usage

ecs_update_cluster_settings(cluster, settings)

Value

A list with the following syntax:

list(
  cluster = list(
    clusterArn = "string",
    clusterName = "string",
    status = "string",
    registeredContainerInstancesCount = 123,
    runningTasksCount = 123,
    pendingTasksCount = 123,
    activeServicesCount = 123,
    statistics = list(
      list(
        name = "string",
        value = "string"
      )
    ),
    tags = list(
      list(
        key = "string",
        value = "string"
      )
    ),
    settings = list(
      list(
        name = "containerInsights",
        value = "string"
      )
    ),
    capacityProviders = list(
      "string"
    ),
    defaultCapacityProviderStrategy = list(
      list(
        capacityProvider = "string",
        weight = 123,
        base = 123
      )
    ),
    attachments = list(
      list(
        id = "string",
        type = "string",
        status = "string",
        details = list(
          list(
            name = "string",
            value = "string"
          )
        )
      )
    ),
    attachmentsStatus = "string"
  )
)

Arguments

cluster

[required] The name of the cluster to modify the settings for.

settings

[required] 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 will override the containerInsights value set with put_account_setting or put_account_setting_default.

Request syntax

svc$update_cluster_settings(
  cluster = "string",
  settings = list(
    list(
      name = "containerInsights",
      value = "string"
    )
  )
)