Update Cluster Settings
ecs_update_cluster_settings | R Documentation |
Modifies the settings to use for a cluster¶
Description¶
Modifies the settings to use for a cluster.
Usage¶
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 turn on CloudWatch Container Insights for a cluster. If this value is specified, it overrides the
containerInsights
value set withput_account_setting
orput_account_setting_default
.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.
Value¶
A list with the following syntax:
list(
cluster = list(
clusterArn = "string",
clusterName = "string",
configuration = list(
executeCommandConfiguration = list(
kmsKeyId = "string",
logging = "NONE"|"DEFAULT"|"OVERRIDE",
logConfiguration = list(
cloudWatchLogGroupName = "string",
cloudWatchEncryptionEnabled = TRUE|FALSE,
s3BucketName = "string",
s3EncryptionEnabled = TRUE|FALSE,
s3KeyPrefix = "string"
)
),
managedStorageConfiguration = list(
kmsKeyId = "string",
fargateEphemeralStorageKmsKeyId = "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",
serviceConnectDefaults = list(
namespace = "string"
)
)
)