--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_ecs_service Resource - terraform-provider-awscc" subcategory: "" description: |- Resource Type definition for AWS::ECS::Service --- # awscc_ecs_service (Resource) Resource Type definition for AWS::ECS::Service ## Schema ### Optional - `capacity_provider_strategy` (Attributes List) (see [below for nested schema](#nestedatt--capacity_provider_strategy)) - `cluster` (String) - `deployment_configuration` (Attributes) (see [below for nested schema](#nestedatt--deployment_configuration)) - `deployment_controller` (Attributes) (see [below for nested schema](#nestedatt--deployment_controller)) - `desired_count` (Number) - `enable_ecs_managed_tags` (Boolean) - `enable_execute_command` (Boolean) - `health_check_grace_period_seconds` (Number) - `launch_type` (String) - `load_balancers` (Attributes List) (see [below for nested schema](#nestedatt--load_balancers)) - `network_configuration` (Attributes) (see [below for nested schema](#nestedatt--network_configuration)) - `placement_constraints` (Attributes List) (see [below for nested schema](#nestedatt--placement_constraints)) - `placement_strategies` (Attributes List) (see [below for nested schema](#nestedatt--placement_strategies)) - `platform_version` (String) - `propagate_tags` (String) - `role` (String) - `scheduling_strategy` (String) - `service_name` (String) - `service_registries` (Attributes List) (see [below for nested schema](#nestedatt--service_registries)) - `tags` (Attributes List) (see [below for nested schema](#nestedatt--tags)) - `task_definition` (String) ### Read-Only - `id` (String) Uniquely identifies the resource. - `name` (String) - `service_arn` (String) ### Nested Schema for `capacity_provider_strategy` Optional: - `base` (Number) - `capacity_provider` (String) - `weight` (Number) ### Nested Schema for `deployment_configuration` Optional: - `deployment_circuit_breaker` (Attributes) (see [below for nested schema](#nestedatt--deployment_configuration--deployment_circuit_breaker)) - `maximum_percent` (Number) - `minimum_healthy_percent` (Number) ### Nested Schema for `deployment_configuration.deployment_circuit_breaker` Optional: - `enable` (Boolean) - `rollback` (Boolean) ### Nested Schema for `deployment_controller` Optional: - `type` (String) ### Nested Schema for `load_balancers` Optional: - `container_name` (String) - `container_port` (Number) - `load_balancer_name` (String) - `target_group_arn` (String) ### Nested Schema for `network_configuration` Optional: - `awsvpc_configuration` (Attributes) (see [below for nested schema](#nestedatt--network_configuration--awsvpc_configuration)) ### Nested Schema for `network_configuration.awsvpc_configuration` Optional: - `assign_public_ip` (String) - `security_groups` (List of String) - `subnets` (List of String) ### Nested Schema for `placement_constraints` Optional: - `expression` (String) - `type` (String) ### Nested Schema for `placement_strategies` Optional: - `field` (String) - `type` (String) ### Nested Schema for `service_registries` Optional: - `container_name` (String) - `container_port` (Number) - `port` (Number) - `registry_arn` (String) ### Nested Schema for `tags` Optional: - `key` (String) - `value` (String) ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_ecs_service.example ```