Skip to content

Commit

Permalink
Amazon EC2 Container Service Update: The release adds support for reg…
Browse files Browse the repository at this point in the history
…istering External instances to your Amazon ECS clusters.
  • Loading branch information
AWS committed May 26, 2021
1 parent 7041e3b commit 9b5b5f0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -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."
}
36 changes: 19 additions & 17 deletions services/ecs/src/main/resources/codegen-resources/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
{"shape":"InvalidParameterException"},
{"shape":"ClusterNotFoundException"}
],
"documentation":"<p>Lists the services that are running in a specified cluster.</p>"
"documentation":"<p>Returns a list of services. You can filter the results by cluster, launch type, and scheduling strategy.</p>"
},
"ListTagsForResource":{
"name":"ListTagsForResource",
Expand Down Expand Up @@ -503,7 +503,7 @@
{"shape":"ClusterNotFoundException"},
{"shape":"ServiceNotFoundException"}
],
"documentation":"<p>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 <code>family</code>, <code>containerInstance</code>, and <code>desiredStatus</code> parameters.</p> <p>Recently stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour. </p>"
"documentation":"<p>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.</p> <p>Recently stopped tasks might appear in the returned results. Currently, stopped tasks appear in the returned results for at least one hour.</p>"
},
"PutAccountSetting":{
"name":"PutAccountSetting",
Expand Down Expand Up @@ -1312,7 +1312,8 @@
"type":"string",
"enum":[
"EC2",
"FARGATE"
"FARGATE",
"EXTERNAL"
]
},
"CompatibilityList":{
Expand Down Expand Up @@ -1879,7 +1880,7 @@
},
"launchType":{
"shape":"LaunchType",
"documentation":"<p>The launch type on which to run your service. The accepted values are <code>FARGATE</code> and <code>EC2</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS launch types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>When a value of <code>FARGATE</code> 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 <code>FARGATE_SPOT</code> capacity provider.</p> <p>When a value of <code>EC2</code> is specified, your tasks are launched on Amazon EC2 instances registered to your cluster.</p> <p>If a <code>launchType</code> is specified, the <code>capacityProviderStrategy</code> parameter must be omitted.</p>"
"documentation":"<p>The infrastructure on which to run your service. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS launch types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>The <code>FARGATE</code> launch type runs your tasks on AWS Fargate On-Demand infrastructure.</p> <note> <p>Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html\">AWS Fargate capacity providers</a> in the <i>Amazon ECS User Guide for AWS Fargate</i>.</p> </note> <p>The <code>EC2</code> launch type runs your tasks on Amazon EC2 instances registered to your cluster.</p> <p>The <code>EXTERNAL</code> launch type runs your tasks on your on-premise server or virtual machine (VM) capacity registered to your cluster.</p> <p>A service can use either a launch type or a capacity provider strategy. If a <code>launchType</code> is specified, the <code>capacityProviderStrategy</code> parameter must be omitted.</p>"
},
"capacityProviderStrategy":{
"shape":"CapacityProviderStrategy",
Expand Down Expand Up @@ -3123,7 +3124,8 @@
"type":"string",
"enum":[
"EC2",
"FARGATE"
"FARGATE",
"EXTERNAL"
]
},
"LimitExceededException":{
Expand Down Expand Up @@ -3321,7 +3323,7 @@
"members":{
"cluster":{
"shape":"String",
"documentation":"<p>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.</p>"
"documentation":"<p>The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the <code>ListServices</code> results. If you do not specify a cluster, the default cluster is assumed.</p>"
},
"nextToken":{
"shape":"String",
Expand All @@ -3333,11 +3335,11 @@
},
"launchType":{
"shape":"LaunchType",
"documentation":"<p>The launch type for the services to list.</p>"
"documentation":"<p>The launch type to use when filtering the <code>ListServices</code> results.</p>"
},
"schedulingStrategy":{
"shape":"SchedulingStrategy",
"documentation":"<p>The scheduling strategy for services to list.</p>"
"documentation":"<p>The scheduling strategy to use when filtering the <code>ListServices</code> results.</p>"
}
}
},
Expand Down Expand Up @@ -3450,15 +3452,15 @@
"members":{
"cluster":{
"shape":"String",
"documentation":"<p>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.</p>"
"documentation":"<p>The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the <code>ListTasks</code> results. If you do not specify a cluster, the default cluster is assumed.</p>"
},
"containerInstance":{
"shape":"String",
"documentation":"<p>The container instance ID or full ARN of the container instance with which to filter the <code>ListTasks</code> results. Specifying a <code>containerInstance</code> limits the results to tasks that belong to that container instance.</p>"
"documentation":"<p>The container instance ID or full ARN of the container instance to use when filtering the <code>ListTasks</code> results. Specifying a <code>containerInstance</code> limits the results to tasks that belong to that container instance.</p>"
},
"family":{
"shape":"String",
"documentation":"<p>The name of the family with which to filter the <code>ListTasks</code> results. Specifying a <code>family</code> limits the results to tasks that belong to that family.</p>"
"documentation":"<p>The name of the task definition family to use when filtering the <code>ListTasks</code> results. Specifying a <code>family</code> limits the results to tasks that belong to that family.</p>"
},
"nextToken":{
"shape":"String",
Expand All @@ -3474,15 +3476,15 @@
},
"serviceName":{
"shape":"String",
"documentation":"<p>The name of the service with which to filter the <code>ListTasks</code> results. Specifying a <code>serviceName</code> limits the results to tasks that belong to that service.</p>"
"documentation":"<p>The name of the service to use when filtering the <code>ListTasks</code> results. Specifying a <code>serviceName</code> limits the results to tasks that belong to that service.</p>"
},
"desiredStatus":{
"shape":"DesiredStatus",
"documentation":"<p>The task desired status with which to filter the <code>ListTasks</code> results. Specifying a <code>desiredStatus</code> of <code>STOPPED</code> limits the results to tasks that Amazon ECS has set the desired status to <code>STOPPED</code>. This can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is <code>RUNNING</code>, which shows tasks that Amazon ECS has set the desired status to <code>RUNNING</code>.</p> <note> <p>Although you can filter results based on a desired status of <code>PENDING</code>, this does not return any results. Amazon ECS never sets the desired status of a task to that value (only a task's <code>lastStatus</code> may have a value of <code>PENDING</code>).</p> </note>"
"documentation":"<p>The task desired status to use when filtering the <code>ListTasks</code> results. Specifying a <code>desiredStatus</code> of <code>STOPPED</code> limits the results to tasks that Amazon ECS has set the desired status to <code>STOPPED</code>. This can be useful for debugging tasks that are not starting properly or have died or finished. The default status filter is <code>RUNNING</code>, which shows tasks that Amazon ECS has set the desired status to <code>RUNNING</code>.</p> <note> <p>Although you can filter results based on a desired status of <code>PENDING</code>, this does not return any results. Amazon ECS never sets the desired status of a task to that value (only a task's <code>lastStatus</code> may have a value of <code>PENDING</code>).</p> </note>"
},
"launchType":{
"shape":"LaunchType",
"documentation":"<p>The launch type for services to list.</p>"
"documentation":"<p>The launch type to use when filtering the <code>ListTasks</code> results.</p>"
}
}
},
Expand Down Expand Up @@ -4304,7 +4306,7 @@
},
"launchType":{
"shape":"LaunchType",
"documentation":"<p>The launch type on which to run your task. The accepted values are <code>FARGATE</code> and <code>EC2</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS Launch Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>When a value of <code>FARGATE</code> 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 <code>FARGATE_SPOT</code> capacity provider.</p> <p>When a value of <code>EC2</code> is specified, your tasks are launched on Amazon EC2 instances registered to your cluster.</p> <p>If a <code>launchType</code> is specified, the <code>capacityProviderStrategy</code> parameter must be omitted.</p>"
"documentation":"<p>The infrastructure on which to run your standalone task. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS launch types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p> <p>The <code>FARGATE</code> launch type runs your tasks on AWS Fargate On-Demand infrastructure.</p> <note> <p>Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html\">AWS Fargate capacity providers</a> in the <i>Amazon ECS User Guide for AWS Fargate</i>.</p> </note> <p>The <code>EC2</code> launch type runs your tasks on Amazon EC2 instances registered to your cluster.</p> <p>The <code>EXTERNAL</code> launch type runs your tasks on your on-premise server or virtual machine (VM) capacity registered to your cluster.</p> <p>A task can use either a launch type or a capacity provider strategy. If a <code>launchType</code> is specified, the <code>capacityProviderStrategy</code> parameter must be omitted.</p>"
},
"networkConfiguration":{
"shape":"NetworkConfiguration",
Expand Down Expand Up @@ -4469,7 +4471,7 @@
},
"launchType":{
"shape":"LaunchType",
"documentation":"<p>The launch type on which your service is running. If no value is specified, it will default to <code>EC2</code>. Valid values include <code>EC2</code> and <code>FARGATE</code>. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS Launch Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
"documentation":"<p>The infrastructure on which your service is running. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS launch types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
},
"capacityProviderStrategy":{
"shape":"CapacityProviderStrategy",
Expand Down Expand Up @@ -5097,7 +5099,7 @@
},
"launchType":{
"shape":"LaunchType",
"documentation":"<p>The launch type on which your task is running. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS Launch Types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
"documentation":"<p>The infrastructure on which your task is running. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html\">Amazon ECS launch types</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
},
"memory":{
"shape":"String",
Expand Down

0 comments on commit 9b5b5f0

Please sign in to comment.