ECS (Elastic Container Service)
Implementation details for API ecs
Coverage Overview
Elastic Container Service (ECS)
is supported by LocalStack
only in the pro version.
Availability | Testing* | |||||||
---|---|---|---|---|---|---|---|---|
Operation | Implemented | Edition | Internal Test Suite | External Test Suite | Terraform Validated | AWS Validated | Snapshot Tested | Details |
CreateCapacityProvider | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
CreateCluster | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
CreateService | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
CreateTaskSet | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DeleteAccountSetting | ✔️ | pro | ✔️ | |||||
DeleteAttributes | ✔️ | pro | ||||||
DeleteCapacityProvider | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DeleteCluster | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DeleteService | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DeleteTaskDefinitions | ||||||||
DeleteTaskSet | ✔️ | pro | ||||||
DeregisterContainerInstance | ✔️ | pro | ||||||
DeregisterTaskDefinition | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DescribeCapacityProviders | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DescribeClusters | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DescribeContainerInstances | ✔️ | pro | ||||||
DescribeServices | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DescribeTaskDefinition | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DescribeTaskSets | ✔️ | pro | ||||||
DescribeTasks | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
DiscoverPollEndpoint | ||||||||
ExecuteCommand | ||||||||
GetTaskProtection | ||||||||
ListAccountSettings | ✔️ | pro | ✔️ | |||||
ListAttributes | ✔️ | pro | ||||||
ListClusters | ✔️ | pro | ✔️ | |||||
ListContainerInstances | ✔️ | pro | ✔️ | Show Tests | ||||
ListServices | ✔️ | pro | ✔️ | ✔️ | ✔️ | Show Tests | ||
ListServicesByNamespace | ||||||||
ListTagsForResource | ✔️ | pro | ✔️ | ✔️ | ✔️ | Show Tests | ||
ListTaskDefinitionFamilies | ✔️ | pro | ||||||
ListTaskDefinitions | ✔️ | pro | ✔️ | ✔️ | Show Tests | |||
ListTasks | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
PutAccountSetting | ✔️ | pro | ✔️ | |||||
PutAccountSettingDefault | ||||||||
PutAttributes | ✔️ | pro | ||||||
PutClusterCapacityProviders | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
RegisterContainerInstance | ✔️ | pro | ✔️ | Show Tests | ||||
RegisterTaskDefinition | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
RunTask | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
StartTask | ✔️ | pro | ✔️ | Show Tests | ||||
StopTask | ✔️ | pro | ✔️ | ✔️ | ✔️ | Show Tests | ||
SubmitAttachmentStateChanges | ||||||||
SubmitContainerStateChange | ||||||||
SubmitTaskStateChange | ||||||||
TagResource | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests | |
UntagResource | ✔️ | pro | ✔️ | ✔️ | ||||
UpdateCapacityProvider | ✔️ | pro | ✔️ | |||||
UpdateCluster | ✔️ | pro | ✔️ | ✔️ | ✔️ | Show Tests | ||
UpdateClusterSettings | ||||||||
UpdateContainerAgent | ||||||||
UpdateContainerInstancesState | ✔️ | pro | ||||||
UpdateService | ✔️ | pro | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | Show Tests |
UpdateServicePrimaryTaskSet | ✔️ | pro | ||||||
UpdateTaskProtection | ||||||||
UpdateTaskSet | ✔️ | pro |
Terminology
- Internal Test Suite: tested by LocalStack's internal integration test suite
- External Test Suite: covered by an external integration test suite, that runs against LocalStack
- Terraform Validated: operation tested with Terraform
- AWS Validated: the integration test that includes this operation call was validated against AWS
- Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same
Testing Details
This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.How to read the test details?
For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the exeuction of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.
Those operation calls have been recorded during the exeuction of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.
- Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
- Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
- test name
- status code returned (which is the expected one for the test case)
- information about validation:
- AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
- Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS
CreateCapacityProvider
Parameters: autoScalingGroupProvider, name
- LocalStack Pro
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
CreateCluster
Parameters: - (without any parameters)
- LocalStack Pro
- test_cluster_default_name LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_cluster_default_name HTTP Status Code: 200
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_cluster_capacity_providers LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_cluster_capacity_providers HTTP Status Code: 200
- test_delete_cluster_status LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_delete_cluster_status HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
CreateService
Parameters: cluster, deploymentConfiguration, desiredCount, enableECSManagedTags, healthCheckGracePeriodSeconds, launchType, loadBalancers, networkConfiguration, serviceName, tags, taskDefinition
- LocalStack Pro
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- LocalStack Pro
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- LocalStack Pro
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- LocalStack Pro
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
CreateTaskSet
Parameters: cluster, service, taskDefinition
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
DeleteCapacityProvider
Parameters: capacityProvider
- LocalStack Pro
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
DeleteCluster
Parameters: cluster
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_cluster_capacity_providers LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_cluster_capacity_providers HTTP Status Code: 200
- test_delete_cluster_status LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_delete_cluster_status HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
DeleteService
Parameters: cluster, force, service
- LocalStack Pro
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
DeregisterTaskDefinition
Parameters: taskDefinition
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_describe_undefined_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_undefined_task_definition HTTP Status Code: 200 AWS validated Snapshot Tested
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
DescribeCapacityProviders
Parameters: capacityProviders
- LocalStack Pro
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
DescribeClusters
Parameters: clusters
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_delete_cluster_status LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_delete_cluster_status HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
DescribeServices
Parameters: cluster, services
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
DescribeTaskDefinition
Parameters: taskDefinition
- LocalStack Pro
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_undefined_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_undefined_task_definition HTTP Status Code: 400 (ClientException) AWS validated Snapshot Tested
DescribeTasks
Parameters: cluster, tasks
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- LocalStack Pro
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
ListContainerInstances
Parameters: cluster
- LocalStack Pro
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
ListServices
Parameters: cluster
- LocalStack Pro
- test_cluster_capacity_providers LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_cluster_capacity_providers HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
ListTagsForResource
Parameters: resourceArn
- LocalStack Pro
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
ListTaskDefinitions
Parameters: familyPrefix
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
ListTasks
Parameters: - (without any parameters)
- LocalStack Pro
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_cluster_capacity_providers LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_cluster_capacity_providers HTTP Status Code: 200
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
PutClusterCapacityProviders
Parameters: capacityProviders, cluster, defaultCapacityProviderStrategy
- LocalStack Pro
- test_capacity_providers LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_capacity_providers HTTP Status Code: 200 AWS validated Snapshot Tested
- test_cluster_capacity_providers LocalStack Pro: tests/integration/test_ecs.py::TestClustersCrud::test_cluster_capacity_providers HTTP Status Code: 200
RegisterContainerInstance
Parameters: cluster, instanceIdentityDocument
- LocalStack Pro
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
RegisterTaskDefinition
Parameters: containerDefinitions, cpu, executionRoleArn, family, memory, networkMode, requiresCompatibilities
- LocalStack Pro
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- LocalStack Pro
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- LocalStack Pro
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- LocalStack Pro
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 400 (ClientException) AWS validated Snapshot Tested
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- LocalStack Pro
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_describe_undefined_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_undefined_task_definition HTTP Status Code: 200 AWS validated Snapshot Tested
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
- LocalStack Pro
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
RunTask
Parameters: cluster, count, launchType, overrides, propagateTags, taskDefinition
- LocalStack Pro
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- LocalStack Pro
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 200
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 200 AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- LocalStack Pro
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- LocalStack Pro
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- LocalStack Pro
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- LocalStack Pro
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
StartTask
Parameters: cluster, containerInstances, taskDefinition
- LocalStack Pro
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
StopTask
Parameters: cluster, task
- LocalStack Pro
- test_describe_service_with_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_describe_service_with_task_definition HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 200
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
- test_start_and_stop_task[run_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[run_task] HTTP Status Code: 200
- test_start_and_stop_task[start_task] LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_and_stop_task[start_task] HTTP Status Code: 200
- test_start_task_definition_multiple_times LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_multiple_times HTTP Status Code: 200
- test_start_task_definition_with_cap_drop LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_definition_with_cap_drop HTTP Status Code: 200
- test_start_task_state_failed LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_failed HTTP Status Code: 200
- test_start_task_state_stopped LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_start_task_state_stopped HTTP Status Code: 200
- test_subscribe_ecs_events LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_subscribe_ecs_events HTTP Status Code: 200
- test_task_mount_host_volume LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_mount_host_volume HTTP Status Code: 200
- test_task_produces_logs LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_task_produces_logs HTTP Status Code: 200
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- test_describe_tasks_list_tasks LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_describe_tasks_list_tasks HTTP Status Code: 200
- test_ecs_task_multiple LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_multiple HTTP Status Code: 500 (InternalError)
TagResource
Parameters: resourceArn, tags
- LocalStack Pro
- test_tag_task_definition LocalStack Pro: tests/integration/test_ecs.py::TestTasksCrud::test_tag_task_definition HTTP Status Code: 200 AWS validated
UpdateCluster
Parameters: cluster, settings
- LocalStack Pro
- test_ecs_task_overrides LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_ecs_task_overrides HTTP Status Code: 200
UpdateService
Parameters: cluster, desiredCount, service
- LocalStack Pro
- test_servicediscovery_ecs_integration LocalStack Pro: tests/integration/apigateway/test_http_apis.py::TestHttpApis::test_servicediscovery_ecs_integration HTTP Status Code: 400 (ServiceNotFoundException)
- test_ecs_alb_apigateway_integration LocalStack Pro: tests/integration/cloudformation/resources/test_ecs.py::test_ecs_alb_apigateway_integration HTTP Status Code: 400 (ServiceNotFoundException) AWS validated
- test_create_service_run_task LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_create_service_run_task HTTP Status Code: 400 (ServiceNotFoundException)
- LocalStack Pro
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
- LocalStack Pro
- test_update_service_creates_new_deployment LocalStack Pro: tests/integration/test_ecs.py::TestTaskExecution::test_update_service_creates_new_deployment HTTP Status Code: 200 AWS validated Snapshot Tested
Last modified March 20, 2023: improve Coverage Docs (#505) (46f2fb0c0)