Skip to content

Commit 248ad6f

Browse files
Add ECS support for Windows Server 2025
1 parent 84e6fb8 commit 248ad6f

13 files changed

+79
-62
lines changed

generator/ServiceModels/ecs/ecs-2014-11-13.api.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,6 +2812,8 @@
28122812
"WINDOWS_SERVER_2004_CORE",
28132813
"WINDOWS_SERVER_2022_CORE",
28142814
"WINDOWS_SERVER_2022_FULL",
2815+
"WINDOWS_SERVER_2025_CORE",
2816+
"WINDOWS_SERVER_2025_FULL",
28152817
"WINDOWS_SERVER_20H2_CORE",
28162818
"LINUX"
28172819
]

generator/ServiceModels/ecs/ecs-2014-11-13.docs.json

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

generator/ServiceModels/ecs/ecs-2014-11-13.normal.json

Lines changed: 8 additions & 6 deletions
Large diffs are not rendered by default.

sdk/src/Services/ECS/Generated/Model/ContainerDefinition.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -701,10 +701,15 @@ internal bool IsSetHostname()
701701
/// The image used to start a container. This string is passed directly to the Docker
702702
/// daemon. By default, images in the Docker Hub registry are available. Other repositories
703703
/// are specified with either <c> <i>repository-url</i>/<i>image</i>:<i>tag</i> </c> or
704-
/// <c> <i>repository-url</i>/<i>image</i>@<i>digest</i> </c>. Up to 255 letters (uppercase
705-
/// and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and
706-
/// number signs are allowed. This parameter maps to <c>Image</c> in the docker container
707-
/// create command and the <c>IMAGE</c> parameter of docker run.
704+
/// <c> <i>repository-url</i>/<i>image</i>@<i>digest</i> </c>. For images using tags (repository-url/image:tag),
705+
/// up to 255 characters total are allowed, including letters (uppercase and lowercase),
706+
/// numbers, hyphens, underscores, colons, periods, forward slashes, and number signs
707+
/// (#). For images using digests (repository-url/image@digest), the 255 character limit
708+
/// applies only to the repository URL and image name (everything before the @ sign).
709+
/// The only supported hash function is sha256, and the hash value after sha256: must
710+
/// be exactly 64 characters (only letters A-F, a-f, and numbers 0-9 are allowed). This
711+
/// parameter maps to <c>Image</c> in the docker container create command and the <c>IMAGE</c>
712+
/// parameter of docker run.
708713
/// </para>
709714
/// <ul> <li>
710715
/// <para>

sdk/src/Services/ECS/Generated/Model/CreateServiceRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace Amazon.ECS.Model
5858
/// <para>
5959
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
6060
/// creating or updating a service. <c>volumeConfigurations</c> is only supported for
61-
/// REPLICA 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
61+
/// REPLICA 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
6262
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
6363
/// </para>
6464
///

sdk/src/Services/ECS/Generated/Model/RunTaskRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ namespace Amazon.ECS.Model
5858
///
5959
/// <para>
6060
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
61-
/// 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
61+
/// 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
6262
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
6363
/// </para>
6464
///

sdk/src/Services/ECS/Generated/Model/StartTaskRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace Amazon.ECS.Model
5353
///
5454
/// <para>
5555
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
56-
/// 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
56+
/// 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
5757
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
5858
/// </para>
5959
/// </summary>

sdk/src/Services/ECS/Generated/Model/UpdateServiceRequest.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ namespace Amazon.ECS.Model
5050
///
5151
/// <para>
5252
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
53-
/// starting or running a task, or when creating or updating a service. For more infomation,
53+
/// starting or running a task, or when creating or updating a service. For more information,
5454
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
5555
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You
5656
/// can update your volume configurations and trigger a new deployment. <c>volumeConfigurations</c>
5757
/// is only supported for REPLICA service and not DAEMON service. If you leave <c>volumeConfigurations</c>
58-
/// <c>null</c>, it doesn't trigger a new deployment. For more infomation on volumes,
58+
/// <c>null</c>, it doesn't trigger a new deployment. For more information on volumes,
5959
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
6060
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
6161
/// </para>
@@ -86,7 +86,7 @@ namespace Amazon.ECS.Model
8686
///
8787
/// <para>
8888
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
89-
/// starting or running a task, or when creating or updating a service. For more infomation,
89+
/// starting or running a task, or when creating or updating a service. For more information,
9090
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
9191
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
9292
/// </para>
@@ -260,27 +260,27 @@ internal bool IsSetAvailabilityZoneRebalancing()
260260
/// </para>
261261
/// <ul> <li>
262262
/// <para>
263-
/// Update the Fargate launch type to an EC2 capacity provider.
263+
/// Update the Fargate launch type to an Auto Scaling group capacity provider.
264264
/// </para>
265265
/// </li> <li>
266266
/// <para>
267267
/// Update the Amazon EC2 launch type to a Fargate capacity provider.
268268
/// </para>
269269
/// </li> <li>
270270
/// <para>
271-
/// Update the Fargate capacity provider to an EC2 capacity provider.
271+
/// Update the Fargate capacity provider to an Auto Scaling group capacity provider.
272272
/// </para>
273273
/// </li> <li>
274274
/// <para>
275275
/// Update the Amazon EC2 capacity provider to a Fargate capacity provider.
276276
/// </para>
277277
/// </li> <li>
278278
/// <para>
279-
/// Update the EC2 or Fargate capacity provider back to the launch type.
279+
/// Update the Auto Scaling group or Fargate capacity provider back to the launch type.
280280
/// </para>
281281
///
282282
/// <para>
283-
/// Pass an empty list in the <c>capacityProvider</c> parameter.
283+
/// Pass an empty list in the <c>capacityProviderStrategy</c> parameter.
284284
/// </para>
285285
/// </li> </ul>
286286
/// <para>

sdk/src/Services/ECS/Generated/ServiceEnumerations.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,6 +1979,14 @@ public class OSFamily : ConstantClass
19791979
/// </summary>
19801980
public static readonly OSFamily WINDOWS_SERVER_2022_FULL = new OSFamily("WINDOWS_SERVER_2022_FULL");
19811981
/// <summary>
1982+
/// Constant WINDOWS_SERVER_2025_CORE for OSFamily
1983+
/// </summary>
1984+
public static readonly OSFamily WINDOWS_SERVER_2025_CORE = new OSFamily("WINDOWS_SERVER_2025_CORE");
1985+
/// <summary>
1986+
/// Constant WINDOWS_SERVER_2025_FULL for OSFamily
1987+
/// </summary>
1988+
public static readonly OSFamily WINDOWS_SERVER_2025_FULL = new OSFamily("WINDOWS_SERVER_2025_FULL");
1989+
/// <summary>
19821990
/// Constant WINDOWS_SERVER_20H2_CORE for OSFamily
19831991
/// </summary>
19841992
public static readonly OSFamily WINDOWS_SERVER_20H2_CORE = new OSFamily("WINDOWS_SERVER_20H2_CORE");

sdk/src/Services/ECS/Generated/_bcl/AmazonECSClient.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ public virtual CreateClusterResponse CreateCluster(CreateClusterRequest request)
538538
/// <para>
539539
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
540540
/// creating or updating a service. <c>volumeConfigurations</c> is only supported for
541-
/// REPLICA 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
541+
/// REPLICA 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
542542
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
543543
/// </para>
544544
///
@@ -714,7 +714,7 @@ public virtual CreateServiceResponse CreateService(CreateServiceRequest request)
714714
/// <para>
715715
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
716716
/// creating or updating a service. <c>volumeConfigurations</c> is only supported for
717-
/// REPLICA 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
717+
/// REPLICA 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
718718
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
719719
/// </para>
720720
///
@@ -4770,7 +4770,7 @@ public virtual RegisterTaskDefinitionResponse RegisterTaskDefinition(RegisterTas
47704770
///
47714771
/// <para>
47724772
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
4773-
/// 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
4773+
/// 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
47744774
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
47754775
/// </para>
47764776
///
@@ -4911,7 +4911,7 @@ public virtual RunTaskResponse RunTask(RunTaskRequest request)
49114911
///
49124912
/// <para>
49134913
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
4914-
/// 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
4914+
/// 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
49154915
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
49164916
/// </para>
49174917
///
@@ -5054,7 +5054,7 @@ public virtual RunTaskResponse RunTask(RunTaskRequest request)
50545054
///
50555055
/// <para>
50565056
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
5057-
/// 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
5057+
/// 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
50585058
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
50595059
/// </para>
50605060
/// </summary>
@@ -5119,7 +5119,7 @@ public virtual StartTaskResponse StartTask(StartTaskRequest request)
51195119
///
51205120
/// <para>
51215121
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
5122-
/// 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
5122+
/// 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
51235123
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
51245124
/// </para>
51255125
/// </summary>
@@ -6382,12 +6382,12 @@ public virtual UpdateContainerInstancesStateResponse UpdateContainerInstancesSta
63826382
///
63836383
/// <para>
63846384
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
6385-
/// starting or running a task, or when creating or updating a service. For more infomation,
6385+
/// starting or running a task, or when creating or updating a service. For more information,
63866386
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
63876387
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You
63886388
/// can update your volume configurations and trigger a new deployment. <c>volumeConfigurations</c>
63896389
/// is only supported for REPLICA service and not DAEMON service. If you leave <c>volumeConfigurations</c>
6390-
/// <c>null</c>, it doesn't trigger a new deployment. For more infomation on volumes,
6390+
/// <c>null</c>, it doesn't trigger a new deployment. For more information on volumes,
63916391
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
63926392
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
63936393
/// </para>
@@ -6418,7 +6418,7 @@ public virtual UpdateContainerInstancesStateResponse UpdateContainerInstancesSta
64186418
///
64196419
/// <para>
64206420
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
6421-
/// starting or running a task, or when creating or updating a service. For more infomation,
6421+
/// starting or running a task, or when creating or updating a service. For more information,
64226422
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
64236423
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
64246424
/// </para>
@@ -6599,12 +6599,12 @@ public virtual UpdateServiceResponse UpdateService(UpdateServiceRequest request)
65996599
///
66006600
/// <para>
66016601
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
6602-
/// starting or running a task, or when creating or updating a service. For more infomation,
6602+
/// starting or running a task, or when creating or updating a service. For more information,
66036603
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
66046604
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. You
66056605
/// can update your volume configurations and trigger a new deployment. <c>volumeConfigurations</c>
66066606
/// is only supported for REPLICA service and not DAEMON service. If you leave <c>volumeConfigurations</c>
6607-
/// <c>null</c>, it doesn't trigger a new deployment. For more infomation on volumes,
6607+
/// <c>null</c>, it doesn't trigger a new deployment. For more information on volumes,
66086608
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
66096609
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
66106610
/// </para>
@@ -6635,7 +6635,7 @@ public virtual UpdateServiceResponse UpdateService(UpdateServiceRequest request)
66356635
///
66366636
/// <para>
66376637
/// You can attach Amazon EBS volumes to Amazon ECS tasks by configuring the volume when
6638-
/// starting or running a task, or when creating or updating a service. For more infomation,
6638+
/// starting or running a task, or when creating or updating a service. For more information,
66396639
/// see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types">Amazon
66406640
/// EBS volumes</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.
66416641
/// </para>

0 commit comments

Comments
 (0)