Skip to content

Commit c382ce6

Browse files
author
awstools
committed
feat(client-ecs): Add ECS support for Windows Server 2025
1 parent 3cb0a72 commit c382ce6

11 files changed

+36
-22
lines changed

clients/client-ecs/src/commands/CreateServiceCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export interface CreateServiceCommandOutput extends CreateServiceResponse, __Met
4444
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service load balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4545
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
4646
* updating a service. <code>volumeConfigurations</code> is only supported for REPLICA
47-
* service and not DAEMON service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
47+
* service and not DAEMON service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4848
* <p>Tasks for services that don't use a load balancer are considered healthy if they're in
4949
* the <code>RUNNING</code> state. Tasks for services that use a load balancer are
5050
* considered healthy if they're in the <code>RUNNING</code> state and are reported as

clients/client-ecs/src/commands/DeleteTaskDefinitionsCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export interface DeleteTaskDefinitionsCommandOutput extends DeleteTaskDefinition
302302
* // ],
303303
* // runtimePlatform: { // RuntimePlatform
304304
* // cpuArchitecture: "X86_64" || "ARM64",
305-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
305+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
306306
* // },
307307
* // requiresCompatibilities: [
308308
* // "EC2" || "FARGATE" || "EXTERNAL",

clients/client-ecs/src/commands/DeregisterTaskDefinitionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ export interface DeregisterTaskDefinitionCommandOutput extends DeregisterTaskDef
297297
* // ],
298298
* // runtimePlatform: { // RuntimePlatform
299299
* // cpuArchitecture: "X86_64" || "ARM64",
300-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
300+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
301301
* // },
302302
* // requiresCompatibilities: [
303303
* // "EC2" || "FARGATE" || "EXTERNAL",

clients/client-ecs/src/commands/DescribeTaskDefinitionCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export interface DescribeTaskDefinitionCommandOutput extends DescribeTaskDefinit
290290
* // ],
291291
* // runtimePlatform: { // RuntimePlatform
292292
* // cpuArchitecture: "X86_64" || "ARM64",
293-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
293+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
294294
* // },
295295
* // requiresCompatibilities: [
296296
* // "EC2" || "FARGATE" || "EXTERNAL",

clients/client-ecs/src/commands/RegisterTaskDefinitionCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
307307
* },
308308
* runtimePlatform: { // RuntimePlatform
309309
* cpuArchitecture: "X86_64" || "ARM64",
310-
* operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
310+
* operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
311311
* },
312312
* enableFaultInjection: true || false,
313313
* };
@@ -553,7 +553,7 @@ export interface RegisterTaskDefinitionCommandOutput extends RegisterTaskDefinit
553553
* // ],
554554
* // runtimePlatform: { // RuntimePlatform
555555
* // cpuArchitecture: "X86_64" || "ARM64",
556-
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
556+
* // operatingSystemFamily: "WINDOWS_SERVER_2019_FULL" || "WINDOWS_SERVER_2019_CORE" || "WINDOWS_SERVER_2016_FULL" || "WINDOWS_SERVER_2004_CORE" || "WINDOWS_SERVER_2022_CORE" || "WINDOWS_SERVER_2022_FULL" || "WINDOWS_SERVER_2025_CORE" || "WINDOWS_SERVER_2025_FULL" || "WINDOWS_SERVER_20H2_CORE" || "LINUX",
557557
* // },
558558
* // requiresCompatibilities: [
559559
* // "EC2" || "FARGATE" || "EXTERNAL",

clients/client-ecs/src/commands/RunTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
4141
* <p>Alternatively, you can use <code>StartTask</code> to use your own scheduler or place
4242
* tasks manually on specific container instances.</p>
4343
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
44-
* updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
44+
* updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4545
* <p>The Amazon ECS API follows an eventual consistency model. This is because of the
4646
* distributed nature of the system supporting the API. This means that the result of an
4747
* API command you run that affects your Amazon ECS resources might not be immediately visible

clients/client-ecs/src/commands/StartTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface StartTaskCommandOutput extends StartTaskResponse, __MetadataBea
3939
* <p>Alternatively, you can use<code>RunTask</code> to place tasks for you. For more
4040
* information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html">Scheduling Tasks</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4141
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when creating or
42-
* updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
42+
* updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4343
* @example
4444
* Use a bare-bones client and the command you need to make an API call.
4545
* ```javascript

clients/client-ecs/src/commands/UpdateServiceCommand.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
3838
* constraints and strategies, and task definition. When you update any of these
3939
* parameters, Amazon ECS starts new tasks with the new configuration. </p>
4040
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or
41-
* running a task, or when creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You can update
41+
* running a task, or when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You can update
4242
* your volume configurations and trigger a new deployment.
4343
* <code>volumeConfigurations</code> is only supported for REPLICA service and not
4444
* DAEMON service. If you leave <code>volumeConfigurations</code>
45-
* <code>null</code>, it doesn't trigger a new deployment. For more infomation on volumes,
45+
* <code>null</code>, it doesn't trigger a new deployment. For more information on volumes,
4646
* see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
4747
* <p>For services using the blue/green (<code>CODE_DEPLOY</code>) deployment controller,
4848
* only the desired count, deployment configuration, health check grace period, task
@@ -59,7 +59,7 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
5959
* service by specifying the cluster that the service is running in and a new
6060
* <code>desiredCount</code> parameter.</p>
6161
* <p>You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when starting or
62-
* running a task, or when creating or updating a service. For more infomation, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
62+
* running a task, or when creating or updating a service. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
6363
* <p>If you have updated the container image of your application, you can create a new task
6464
* definition with that image and deploy it to your service. The service scheduler uses the
6565
* minimum healthy percent and maximum percent parameters (in the service's deployment

clients/client-ecs/src/models/models_0.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6000,7 +6000,7 @@ export interface ContainerDefinition {
60006000
* <i>repository-url</i>/<i>image</i>:<i>tag</i>
60016001
* </code> or <code>
60026002
* <i>repository-url</i>/<i>image</i>@<i>digest</i>
6003-
* </code>. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to <code>Image</code> in the docker
6003+
* </code>. For images using tags (repository-url/image:tag), up to 255 characters total are allowed, including letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs (#). For images using digests (repository-url/image@digest), the 255 character limit applies only to the repository URL and image name (everything before the @ sign). The only supported hash function is sha256, and the hash value after sha256: must be exactly 64 characters (only letters A-F, a-f, and numbers 0-9 are allowed). This parameter maps to <code>Image</code> in the docker
60046004
* container create command and the <code>IMAGE</code> parameter of docker run.</p>
60056005
* <ul>
60066006
* <li>
@@ -6978,6 +6978,8 @@ export const OSFamily = {
69786978
WINDOWS_SERVER_2019_FULL: "WINDOWS_SERVER_2019_FULL",
69796979
WINDOWS_SERVER_2022_CORE: "WINDOWS_SERVER_2022_CORE",
69806980
WINDOWS_SERVER_2022_FULL: "WINDOWS_SERVER_2022_FULL",
6981+
WINDOWS_SERVER_2025_CORE: "WINDOWS_SERVER_2025_CORE",
6982+
WINDOWS_SERVER_2025_FULL: "WINDOWS_SERVER_2025_FULL",
69816983
WINDOWS_SERVER_20H2_CORE: "WINDOWS_SERVER_20H2_CORE",
69826984
} as const;
69836985

clients/client-ecs/src/models/models_1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,20 +445,20 @@ export interface UpdateServiceRequest {
445445
* <p>The following list provides the valid transitions:</p>
446446
* <ul>
447447
* <li>
448-
* <p>Update the Fargate launch type to an EC2 capacity provider.</p>
448+
* <p>Update the Fargate launch type to an Auto Scaling group capacity provider.</p>
449449
* </li>
450450
* <li>
451451
* <p>Update the Amazon EC2 launch type to a Fargate capacity provider.</p>
452452
* </li>
453453
* <li>
454-
* <p>Update the Fargate capacity provider to an EC2 capacity provider.</p>
454+
* <p>Update the Fargate capacity provider to an Auto Scaling group capacity provider.</p>
455455
* </li>
456456
* <li>
457457
* <p>Update the Amazon EC2 capacity provider to a Fargate capacity provider. </p>
458458
* </li>
459459
* <li>
460-
* <p>Update the EC2 or Fargate capacity provider back to the launch type.</p>
461-
* <p>Pass an empty list in the <code>capacityProvider</code> parameter.</p>
460+
* <p>Update the Auto Scaling group or Fargate capacity provider back to the launch type.</p>
461+
* <p>Pass an empty list in the <code>capacityProviderStrategy</code> parameter.</p>
462462
* </li>
463463
* </ul>
464464
* <p>For information about Amazon Web Services CDK considerations, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html">Amazon Web Services CDK considerations</a>.</p>

0 commit comments

Comments
 (0)