From 9b5b5f0e13f9f48e77b08d7dc2a4e00c4635c972 Mon Sep 17 00:00:00 2001 From: AWS <> Date: Wed, 26 May 2021 18:07:13 +0000 Subject: [PATCH] Amazon EC2 Container Service Update: The release adds support for registering External instances to your Amazon ECS clusters. --- ...ure-AmazonEC2ContainerService-b87cda9.json | 6 ++++ .../codegen-resources/service-2.json | 36 ++++++++++--------- 2 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 .changes/next-release/feature-AmazonEC2ContainerService-b87cda9.json diff --git a/.changes/next-release/feature-AmazonEC2ContainerService-b87cda9.json b/.changes/next-release/feature-AmazonEC2ContainerService-b87cda9.json new file mode 100644 index 000000000000..79a79bba9edd --- /dev/null +++ b/.changes/next-release/feature-AmazonEC2ContainerService-b87cda9.json @@ -0,0 +1,6 @@ +{ + "type": "feature", + "category": "Amazon EC2 Container Service", + "contributor": "", + "description": "The release adds support for registering External instances to your Amazon ECS clusters." +} diff --git a/services/ecs/src/main/resources/codegen-resources/service-2.json b/services/ecs/src/main/resources/codegen-resources/service-2.json index fb0d54002036..a8df8fb77253 100644 --- a/services/ecs/src/main/resources/codegen-resources/service-2.json +++ b/services/ecs/src/main/resources/codegen-resources/service-2.json @@ -440,7 +440,7 @@ {"shape":"InvalidParameterException"}, {"shape":"ClusterNotFoundException"} ], - "documentation":"

Lists the services that are running in a specified cluster.

" + "documentation":"

Returns a list of services. You can filter the results by cluster, launch type, and scheduling strategy.

" }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -503,7 +503,7 @@ {"shape":"ClusterNotFoundException"}, {"shape":"ServiceNotFoundException"} ], - "documentation":"

Returns a list of tasks for a specified cluster. You can filter the results by family name, by a particular container instance, or by the desired status of the task with the family, containerInstance, and desiredStatus parameters.

Recently stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour.

" + "documentation":"

Returns a list of tasks. You can filter the results by cluster, task definition family, container instance, launch type, what IAM principal started the task, or by the desired status of the task.

Recently stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour.

" }, "PutAccountSetting":{ "name":"PutAccountSetting", @@ -1312,7 +1312,8 @@ "type":"string", "enum":[ "EC2", - "FARGATE" + "FARGATE", + "EXTERNAL" ] }, "CompatibilityList":{ @@ -1879,7 +1880,7 @@ }, "launchType":{ "shape":"LaunchType", - "documentation":"

The launch type on which to run your service. The accepted values are FARGATE and EC2. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

When a value of FARGATE is specified, your tasks are launched on AWS Fargate On-Demand infrastructure. To use Fargate Spot, you must use a capacity provider strategy with the FARGATE_SPOT capacity provider.

When a value of EC2 is specified, your tasks are launched on Amazon EC2 instances registered to your cluster.

If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

" + "documentation":"

The infrastructure on which to run your service. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

The FARGATE launch type runs your tasks on AWS Fargate On-Demand infrastructure.

Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see AWS Fargate capacity providers in the Amazon ECS User Guide for AWS Fargate.

The EC2 launch type runs your tasks on Amazon EC2 instances registered to your cluster.

The EXTERNAL launch type runs your tasks on your on-premise server or virtual machine (VM) capacity registered to your cluster.

A service can use either a launch type or a capacity provider strategy. If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

" }, "capacityProviderStrategy":{ "shape":"CapacityProviderStrategy", @@ -3123,7 +3124,8 @@ "type":"string", "enum":[ "EC2", - "FARGATE" + "FARGATE", + "EXTERNAL" ] }, "LimitExceededException":{ @@ -3321,7 +3323,7 @@ "members":{ "cluster":{ "shape":"String", - "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the services to list. If you do not specify a cluster, the default cluster is assumed.

" + "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the ListServices results. If you do not specify a cluster, the default cluster is assumed.

" }, "nextToken":{ "shape":"String", @@ -3333,11 +3335,11 @@ }, "launchType":{ "shape":"LaunchType", - "documentation":"

The launch type for the services to list.

" + "documentation":"

The launch type to use when filtering the ListServices results.

" }, "schedulingStrategy":{ "shape":"SchedulingStrategy", - "documentation":"

The scheduling strategy for services to list.

" + "documentation":"

The scheduling strategy to use when filtering the ListServices results.

" } } }, @@ -3450,15 +3452,15 @@ "members":{ "cluster":{ "shape":"String", - "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster that hosts the tasks to list. If you do not specify a cluster, the default cluster is assumed.

" + "documentation":"

The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the ListTasks results. If you do not specify a cluster, the default cluster is assumed.

" }, "containerInstance":{ "shape":"String", - "documentation":"

The container instance ID or full ARN of the container instance with which to filter the ListTasks results. Specifying a containerInstance limits the results to tasks that belong to that container instance.

" + "documentation":"

The container instance ID or full ARN of the container instance to use when filtering the ListTasks results. Specifying a containerInstance limits the results to tasks that belong to that container instance.

" }, "family":{ "shape":"String", - "documentation":"

The name of the family with which to filter the ListTasks results. Specifying a family limits the results to tasks that belong to that family.

" + "documentation":"

The name of the task definition family to use when filtering the ListTasks results. Specifying a family limits the results to tasks that belong to that family.

" }, "nextToken":{ "shape":"String", @@ -3474,15 +3476,15 @@ }, "serviceName":{ "shape":"String", - "documentation":"

The name of the service with which to filter the ListTasks results. Specifying a serviceName limits the results to tasks that belong to that service.

" + "documentation":"

The name of the service to use when filtering the ListTasks results. Specifying a serviceName limits the results to tasks that belong to that service.

" }, "desiredStatus":{ "shape":"DesiredStatus", - "documentation":"

The task desired status with which to filter the ListTasks results. Specifying a desiredStatus of STOPPED limits the results to tasks that Amazon ECS has set the desired status to STOPPED. This can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is RUNNING, which shows tasks that Amazon ECS has set the desired status to RUNNING.

Although you can filter results based on a desired status of PENDING, this does not return any results. Amazon ECS never sets the desired status of a task to that value (only a task's lastStatus may have a value of PENDING).

" + "documentation":"

The task desired status to use when filtering the ListTasks results. Specifying a desiredStatus of STOPPED limits the results to tasks that Amazon ECS has set the desired status to STOPPED. This can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is RUNNING, which shows tasks that Amazon ECS has set the desired status to RUNNING.

Although you can filter results based on a desired status of PENDING, this does not return any results. Amazon ECS never sets the desired status of a task to that value (only a task's lastStatus may have a value of PENDING).

" }, "launchType":{ "shape":"LaunchType", - "documentation":"

The launch type for services to list.

" + "documentation":"

The launch type to use when filtering the ListTasks results.

" } } }, @@ -4304,7 +4306,7 @@ }, "launchType":{ "shape":"LaunchType", - "documentation":"

The launch type on which to run your task. The accepted values are FARGATE and EC2. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

When a value of FARGATE is specified, your tasks are launched on AWS Fargate On-Demand infrastructure. To use Fargate Spot, you must use a capacity provider strategy with the FARGATE_SPOT capacity provider.

When a value of EC2 is specified, your tasks are launched on Amazon EC2 instances registered to your cluster.

If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

" + "documentation":"

The infrastructure on which to run your standalone task. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

The FARGATE launch type runs your tasks on AWS Fargate On-Demand infrastructure.

Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see AWS Fargate capacity providers in the Amazon ECS User Guide for AWS Fargate.

The EC2 launch type runs your tasks on Amazon EC2 instances registered to your cluster.

The EXTERNAL launch type runs your tasks on your on-premise server or virtual machine (VM) capacity registered to your cluster.

A task can use either a launch type or a capacity provider strategy. If a launchType is specified, the capacityProviderStrategy parameter must be omitted.

" }, "networkConfiguration":{ "shape":"NetworkConfiguration", @@ -4469,7 +4471,7 @@ }, "launchType":{ "shape":"LaunchType", - "documentation":"

The launch type on which your service is running. If no value is specified, it will default to EC2. Valid values include EC2 and FARGATE. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

" + "documentation":"

The infrastructure on which your service is running. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

" }, "capacityProviderStrategy":{ "shape":"CapacityProviderStrategy", @@ -5097,7 +5099,7 @@ }, "launchType":{ "shape":"LaunchType", - "documentation":"

The launch type on which your task is running. For more information, see Amazon ECS Launch Types in the Amazon Elastic Container Service Developer Guide.

" + "documentation":"

The infrastructure on which your task is running. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.

" }, "memory":{ "shape":"String",