--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_ecs_cluster Resource - terraform-provider-awscc" subcategory: "" description: |- Create an Elastic Container Service (ECS) cluster. --- # awscc_ecs_cluster (Resource) Create an Elastic Container Service (ECS) cluster. ## Schema ### Optional - `capacity_providers` (List of String) - `cluster_name` (String) A user-generated string that you use to identify your cluster. If you don't specify a name, AWS CloudFormation generates a unique physical ID for the name. - `cluster_settings` (Attributes List) (see [below for nested schema](#nestedatt--cluster_settings)) - `configuration` (Attributes) The configurations to be set at cluster level. (see [below for nested schema](#nestedatt--configuration)) - `default_capacity_provider_strategy` (Attributes List) (see [below for nested schema](#nestedatt--default_capacity_provider_strategy)) - `tags` (Attributes List) (see [below for nested schema](#nestedatt--tags)) ### Read-Only - `arn` (String) The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster. - `id` (String) Uniquely identifies the resource. ### Nested Schema for `cluster_settings` Optional: - `name` (String) - `value` (String) ### Nested Schema for `configuration` Optional: - `execute_command_configuration` (Attributes) The configuration for ExecuteCommand. (see [below for nested schema](#nestedatt--configuration--execute_command_configuration)) ### Nested Schema for `configuration.execute_command_configuration` Optional: - `kms_key_id` (String) - `log_configuration` (Attributes) The session logging configuration for ExecuteCommand. (see [below for nested schema](#nestedatt--configuration--execute_command_configuration--log_configuration)) - `logging` (String) ### Nested Schema for `configuration.execute_command_configuration.log_configuration` Optional: - `cloudwatch_encryption_enabled` (Boolean) - `cloudwatch_log_group_name` (String) - `s3_bucket_name` (String) - `s3_encryption_enabled` (Boolean) - `s3_key_prefix` (String) ### Nested Schema for `default_capacity_provider_strategy` Optional: - `base` (Number) - `capacity_provider` (String) - `weight` (Number) ### Nested Schema for `tags` Optional: - `key` (String) - `value` (String) ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_ecs_cluster.example ```