aws-sdk-ecs 1.193.0 → 1.195.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87c40760ea45c679271d1afac3dda39cf978f54202b3e5abde8a9f1656448002
4
- data.tar.gz: d3742aeb3ba24251dded9a117f1ea98b613130112d05d44884a7d2e1981282d2
3
+ metadata.gz: ec6e9824b56a4055b13741daee1e518aab7e4442be76c43981eb2e2eb759b75e
4
+ data.tar.gz: 989f0c5accc4666d89689c900568b0760b3dab11de88b3cbaa8debf2219ab141
5
5
  SHA512:
6
- metadata.gz: 13cc472445993c3bfcbc09b54971ba8105a595b80df567cfe2397805b197117deeb2770c28f213f0aebca6e11ec90e48aab7c00a9bdd8962a7d4d46a5105d32f
7
- data.tar.gz: f0eae285ed5a9dba8fb274f4915526c7c76228381ebf21a603040e97723c928083d638396e129f0e6b65d5b2f363cc0a14e0d70daa8e571f84c2a0dd84495abb
6
+ metadata.gz: d4354be0698ac04e23e29eb3d5ea56882b63530defd0e7977ee0c330423566e7c3a41f86145451a8c38aa0bbb0310d0219139c46562a6b70a5134cada371ec7e
7
+ data.tar.gz: cfcb3ab3710d83b7537f4ee5f83e88792b61b4b21e40203baaa56403e0baabe5b1e1603a3c712bc3eecc828613341c64d07d9c2a9f768fe42806b2807eb9a932
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.195.0 (2025-06-20)
5
+ ------------------
6
+
7
+ * Feature - Add ECS support for Windows Server 2025
8
+
9
+ 1.194.0 (2025-06-12)
10
+ ------------------
11
+
12
+ * Feature - This Amazon ECS release supports updating the capacityProviderStrategy parameter in update-service.
13
+
4
14
  1.193.0 (2025-06-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.193.0
1
+ 1.195.0
@@ -908,7 +908,7 @@ module Aws::ECS
908
908
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
909
909
  # the volume when creating or updating a service. `volumeConfigurations`
910
910
  # is only supported for REPLICA service and not DAEMON service. For more
911
- # infomation, see [Amazon EBS volumes][3] in the *Amazon Elastic
911
+ # information, see [Amazon EBS volumes][3] in the *Amazon Elastic
912
912
  # Container Service Developer Guide*.
913
913
  #
914
914
  # Tasks for services that don't use a load balancer are considered
@@ -3034,7 +3034,7 @@ module Aws::ECS
3034
3034
  # resp.task_definitions[0].compatibilities #=> Array
3035
3035
  # resp.task_definitions[0].compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3036
3036
  # resp.task_definitions[0].runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3037
- # resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "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"
3037
+ # resp.task_definitions[0].runtime_platform.operating_system_family #=> String, one of "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"
3038
3038
  # resp.task_definitions[0].requires_compatibilities #=> Array
3039
3039
  # resp.task_definitions[0].requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3040
3040
  # resp.task_definitions[0].cpu #=> String
@@ -3582,7 +3582,7 @@ module Aws::ECS
3582
3582
  # resp.task_definition.compatibilities #=> Array
3583
3583
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3584
3584
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
3585
- # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "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"
3585
+ # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "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"
3586
3586
  # resp.task_definition.requires_compatibilities #=> Array
3587
3587
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
3588
3588
  # resp.task_definition.cpu #=> String
@@ -4921,7 +4921,7 @@ module Aws::ECS
4921
4921
  # resp.task_definition.compatibilities #=> Array
4922
4922
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4923
4923
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
4924
- # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "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"
4924
+ # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "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"
4925
4925
  # resp.task_definition.requires_compatibilities #=> Array
4926
4926
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
4927
4927
  # resp.task_definition.cpu #=> String
@@ -8426,7 +8426,7 @@ module Aws::ECS
8426
8426
  # },
8427
8427
  # runtime_platform: {
8428
8428
  # cpu_architecture: "X86_64", # accepts X86_64, ARM64
8429
- # operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts 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
8429
+ # operating_system_family: "WINDOWS_SERVER_2019_FULL", # accepts 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
8430
8430
  # },
8431
8431
  # enable_fault_injection: false,
8432
8432
  # })
@@ -8583,7 +8583,7 @@ module Aws::ECS
8583
8583
  # resp.task_definition.compatibilities #=> Array
8584
8584
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8585
8585
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
8586
- # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "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"
8586
+ # resp.task_definition.runtime_platform.operating_system_family #=> String, one of "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"
8587
8587
  # resp.task_definition.requires_compatibilities #=> Array
8588
8588
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8589
8589
  # resp.task_definition.cpu #=> String
@@ -8638,7 +8638,7 @@ module Aws::ECS
8638
8638
  # place tasks manually on specific container instances.
8639
8639
  #
8640
8640
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
8641
- # the volume when creating or updating a service. For more infomation,
8641
+ # the volume when creating or updating a service. For more information,
8642
8642
  # see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
8643
8643
  # Developer Guide*.
8644
8644
  #
@@ -9237,7 +9237,7 @@ module Aws::ECS
9237
9237
  # Container Service Developer Guide*.
9238
9238
  #
9239
9239
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
9240
- # the volume when creating or updating a service. For more infomation,
9240
+ # the volume when creating or updating a service. For more information,
9241
9241
  # see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
9242
9242
  # Developer Guide*.
9243
9243
  #
@@ -11341,13 +11341,13 @@ module Aws::ECS
11341
11341
  #
11342
11342
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
11343
11343
  # the volume when starting or running a task, or when creating or
11344
- # updating a service. For more infomation, see [Amazon EBS volumes][1]
11344
+ # updating a service. For more information, see [Amazon EBS volumes][1]
11345
11345
  # in the *Amazon Elastic Container Service Developer Guide*. You can
11346
11346
  # update your volume configurations and trigger a new deployment.
11347
11347
  # `volumeConfigurations` is only supported for REPLICA service and not
11348
11348
  # DAEMON service. If you leave `volumeConfigurations` `null`, it
11349
- # doesn't trigger a new deployment. For more infomation on volumes, see
11350
- # [Amazon EBS volumes][1] in the *Amazon Elastic Container Service
11349
+ # doesn't trigger a new deployment. For more information on volumes,
11350
+ # see [Amazon EBS volumes][1] in the *Amazon Elastic Container Service
11351
11351
  # Developer Guide*.
11352
11352
  #
11353
11353
  # For services using the blue/green (`CODE_DEPLOY`) deployment
@@ -11373,7 +11373,7 @@ module Aws::ECS
11373
11373
  #
11374
11374
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
11375
11375
  # the volume when starting or running a task, or when creating or
11376
- # updating a service. For more infomation, see [Amazon EBS volumes][1]
11376
+ # updating a service. For more information, see [Amazon EBS volumes][1]
11377
11377
  # in the *Amazon Elastic Container Service Developer Guide*.
11378
11378
  #
11379
11379
  # If you have updated the container image of your application, you can
@@ -11457,31 +11457,20 @@ module Aws::ECS
11457
11457
  # Zone (based on the previous steps), favoring container instances
11458
11458
  # with the largest number of running tasks for this service.
11459
11459
  #
11460
- # <note markdown="1"> You must have a service-linked role when you update any of the
11461
- # following service properties:
11462
- #
11463
- # * `loadBalancers`,
11464
- #
11465
- # * `serviceRegistries`
11466
- #
11467
- # For more information about the role see the `CreateService` request
11468
- # parameter [ `role` ][5].
11469
- #
11470
- # </note>
11471
- #
11472
11460
  #
11473
11461
  #
11474
11462
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
11475
11463
  # [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
11476
11464
  # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
11477
11465
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
11478
- # [5]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11479
11466
  #
11480
11467
  # @option params [String] :cluster
11481
11468
  # The short name or full Amazon Resource Name (ARN) of the cluster that
11482
11469
  # your service runs on. If you do not specify a cluster, the default
11483
11470
  # cluster is assumed.
11484
11471
  #
11472
+ # You can't change the cluster name.
11473
+ #
11485
11474
  # @option params [required, String] :service
11486
11475
  # The name of the service to update.
11487
11476
  #
@@ -11498,41 +11487,42 @@ module Aws::ECS
11498
11487
  # after the new version is running.
11499
11488
  #
11500
11489
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
11501
- # The capacity provider strategy to update the service to use.
11490
+ # The details of a capacity provider strategy. You can set a capacity
11491
+ # provider when you create a cluster, run a task, or update a service.
11502
11492
  #
11503
- # if the service uses the default capacity provider strategy for the
11504
- # cluster, the service can be updated to use one or more capacity
11505
- # providers as opposed to the default capacity provider strategy.
11506
- # However, when a service is using a capacity provider strategy that's
11507
- # not the default capacity provider strategy, the service can't be
11508
- # updated to use the cluster's default capacity provider strategy.
11493
+ # When you use Fargate, the capacity providers are `FARGATE` or
11494
+ # `FARGATE_SPOT`.
11509
11495
  #
11510
- # A capacity provider strategy consists of one or more capacity
11511
- # providers along with the `base` and `weight` to assign to them. A
11512
- # capacity provider must be associated with the cluster to be used in a
11513
- # capacity provider strategy. The [PutClusterCapacityProviders][1] API
11514
- # is used to associate a capacity provider with a cluster. Only capacity
11515
- # providers with an `ACTIVE` or `UPDATING` status can be used.
11496
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
11497
+ # groups.
11516
11498
  #
11517
- # If specifying a capacity provider that uses an Auto Scaling group, the
11518
- # capacity provider must already be created. New capacity providers can
11519
- # be created with the [CreateClusterCapacityProvider][2] API operation.
11499
+ # You can change capacity providers for rolling deployments and
11500
+ # blue/green deployments.
11520
11501
  #
11521
- # To use a Fargate capacity provider, specify either the `FARGATE` or
11522
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
11523
- # available to all accounts and only need to be associated with a
11524
- # cluster to be used.
11502
+ # The following list provides the valid transitions:
11525
11503
  #
11526
- # The [PutClusterCapacityProviders][1]API operation is used to update
11527
- # the list of available capacity providers for a cluster after the
11528
- # cluster is created.
11504
+ # * Update the Fargate launch type to an Auto Scaling group capacity
11505
+ # provider.
11529
11506
  #
11507
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
11530
11508
  #
11509
+ # * Update the Fargate capacity provider to an Auto Scaling group
11510
+ # capacity provider.
11531
11511
  #
11512
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
11513
+ # provider.
11532
11514
  #
11515
+ # * Update the Auto Scaling group or Fargate capacity provider back to
11516
+ # the launch type.
11533
11517
  #
11534
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
11535
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html
11518
+ # Pass an empty list in the `capacityProviderStrategy` parameter.
11519
+ #
11520
+ # For information about Amazon Web Services CDK considerations, see
11521
+ # [Amazon Web Services CDK considerations][1].
11522
+ #
11523
+ #
11524
+ #
11525
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html
11536
11526
  #
11537
11527
  # @option params [Types::DeploymentConfiguration] :deployment_configuration
11538
11528
  # Optional deployment parameters that control how many tasks run during
@@ -11629,6 +11619,10 @@ module Aws::ECS
11629
11619
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
11630
11620
  #
11631
11621
  # @option params [Array<Types::LoadBalancer>] :load_balancers
11622
+ # <note markdown="1"> You must have a service-linked role when you update this property
11623
+ #
11624
+ # </note>
11625
+ #
11632
11626
  # A list of Elastic Load Balancing load balancer objects. It contains
11633
11627
  # the load balancer name, the container name, and the container port to
11634
11628
  # access from the load balancer. The container name is as it appears in
@@ -11675,8 +11669,15 @@ module Aws::ECS
11675
11669
  # that Amazon ECS starts new tasks with the updated tags.
11676
11670
  #
11677
11671
  # @option params [Array<Types::ServiceRegistry>] :service_registries
11672
+ # <note markdown="1"> You must have a service-linked role when you update this property.
11673
+ #
11674
+ # For more information about the role see the `CreateService` request
11675
+ # parameter [ `role` ][1].
11676
+ #
11677
+ # </note>
11678
+ #
11678
11679
  # The details for the service discovery registries to assign to this
11679
- # service. For more information, see [Service Discovery][1].
11680
+ # service. For more information, see [Service Discovery][2].
11680
11681
  #
11681
11682
  # When you add, update, or remove the service registries configuration,
11682
11683
  # Amazon ECS starts new tasks with the updated service registries
@@ -11687,7 +11688,8 @@ module Aws::ECS
11687
11688
  #
11688
11689
  #
11689
11690
  #
11690
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
11691
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11692
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
11691
11693
  #
11692
11694
  # @option params [Types::ServiceConnectConfiguration] :service_connect_configuration
11693
11695
  # The configuration for this service to discover and connect to
@@ -12563,7 +12565,7 @@ module Aws::ECS
12563
12565
  tracer: tracer
12564
12566
  )
12565
12567
  context[:gem_name] = 'aws-sdk-ecs'
12566
- context[:gem_version] = '1.193.0'
12568
+ context[:gem_version] = '1.195.0'
12567
12569
  Seahorse::Client::Request.new(handlers, context)
12568
12570
  end
12569
12571
 
@@ -1053,11 +1053,18 @@ module Aws::ECS
1053
1053
  # The image used to start a container. This string is passed directly
1054
1054
  # to the Docker daemon. By default, images in the Docker Hub registry
1055
1055
  # are available. Other repositories are specified with either `
1056
- # repository-url/image:tag ` or ` repository-url/image@digest `. Up to
1057
- # 255 letters (uppercase and lowercase), numbers, hyphens,
1058
- # underscores, colons, periods, forward slashes, and number signs are
1059
- # allowed. This parameter maps to `Image` in the docker container
1060
- # create command and the `IMAGE` parameter of docker run.
1056
+ # repository-url/image:tag ` or ` repository-url/image@digest `. For
1057
+ # images using tags (repository-url/image:tag), up to 255 characters
1058
+ # total are allowed, including letters (uppercase and lowercase),
1059
+ # numbers, hyphens, underscores, colons, periods, forward slashes, and
1060
+ # number signs (#). For images using digests
1061
+ # (repository-url/image@digest), the 255 character limit applies only
1062
+ # to the repository URL and image name (everything before the @ sign).
1063
+ # The only supported hash function is sha256, and the hash value after
1064
+ # sha256: must be exactly 64 characters (only letters A-F, a-f, and
1065
+ # numbers 0-9 are allowed). This parameter maps to `Image` in the
1066
+ # docker container create command and the `IMAGE` parameter of docker
1067
+ # run.
1061
1068
  #
1062
1069
  # * When a new task starts, the Amazon ECS container agent pulls the
1063
1070
  # latest version of the specified image and tag for the container to
@@ -5382,6 +5389,45 @@ module Aws::ECS
5382
5389
  # are part of a service, if the task reports as unhealthy then the task
5383
5390
  # will be stopped and the service scheduler will replace it.
5384
5391
  #
5392
+ # When a container health check fails for a task that is part of a
5393
+ # service, the following process occurs:
5394
+ #
5395
+ # 1. The task is marked as `UNHEALTHY`.
5396
+ #
5397
+ # 2. The unhealthy task will be stopped, and during the stopping
5398
+ # process, it will go through the following states:
5399
+ #
5400
+ # * `DEACTIVATING` - In this state, Amazon ECS performs additional
5401
+ # steps before stopping the task. For example, for tasks that are
5402
+ # part of services configured to use Elastic Load Balancing target
5403
+ # groups, target groups will be deregistered in this state.
5404
+ #
5405
+ # * `STOPPING` - The task is in the process of being stopped.
5406
+ #
5407
+ # * `DEPROVISIONING` - Resources associated with the task are being
5408
+ # cleaned up.
5409
+ #
5410
+ # * `STOPPED` - The task has been completely stopped.
5411
+ # 3. After the old task stops, a new task will be launched to ensure
5412
+ # service operation, and the new task will go through the following
5413
+ # lifecycle:
5414
+ #
5415
+ # * `PROVISIONING` - Resources required for the task are being
5416
+ # provisioned.
5417
+ #
5418
+ # * `PENDING` - The task is waiting to be placed on a container
5419
+ # instance.
5420
+ #
5421
+ # * `ACTIVATING` - In this state, Amazon ECS pulls container images,
5422
+ # creates containers, configures task networking, registers load
5423
+ # balancer target groups, and configures service discovery status.
5424
+ #
5425
+ # * `RUNNING` - The task is running and performing its work.
5426
+ #
5427
+ # For more detailed information about task lifecycle states, see [Task
5428
+ # lifecycle][1] in the *Amazon Elastic Container Service Developer
5429
+ # Guide*.
5430
+ #
5385
5431
  # The following are notes about container health check support:
5386
5432
  #
5387
5433
  # * If the Amazon ECS container agent becomes disconnected from the
@@ -5396,25 +5442,26 @@ module Aws::ECS
5396
5442
  #
5397
5443
  # * Container health checks require version `1.17.0` or greater of the
5398
5444
  # Amazon ECS container agent. For more information, see [Updating the
5399
- # Amazon ECS container agent][1].
5445
+ # Amazon ECS container agent][2].
5400
5446
  #
5401
5447
  # * Container health checks are supported for Fargate tasks if you're
5402
5448
  # using platform version `1.1.0` or greater. For more information, see
5403
- # [Fargate platform versions][2].
5449
+ # [Fargate platform versions][3].
5404
5450
  #
5405
5451
  # * Container health checks aren't supported for tasks that are part of
5406
5452
  # a service that's configured to use a Classic Load Balancer.
5407
5453
  #
5408
5454
  # For an example of how to specify a task definition with multiple
5409
5455
  # containers where container dependency is specified, see [Container
5410
- # dependency][3] in the *Amazon Elastic Container Service Developer
5456
+ # dependency][4] in the *Amazon Elastic Container Service Developer
5411
5457
  # Guide*.
5412
5458
  #
5413
5459
  #
5414
5460
  #
5415
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
5416
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
5417
- # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
5461
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-lifecycle-explanation.html
5462
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
5463
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
5464
+ # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
5418
5465
  #
5419
5466
  # @!attribute [rw] command
5420
5467
  # A string array representing the command that the container runs to
@@ -13352,6 +13399,8 @@ module Aws::ECS
13352
13399
  # The short name or full Amazon Resource Name (ARN) of the cluster
13353
13400
  # that your service runs on. If you do not specify a cluster, the
13354
13401
  # default cluster is assumed.
13402
+ #
13403
+ # You can't change the cluster name.
13355
13404
  # @return [String]
13356
13405
  #
13357
13406
  # @!attribute [rw] service
@@ -13373,44 +13422,42 @@ module Aws::ECS
13373
13422
  # @return [String]
13374
13423
  #
13375
13424
  # @!attribute [rw] capacity_provider_strategy
13376
- # The capacity provider strategy to update the service to use.
13425
+ # The details of a capacity provider strategy. You can set a capacity
13426
+ # provider when you create a cluster, run a task, or update a service.
13377
13427
  #
13378
- # if the service uses the default capacity provider strategy for the
13379
- # cluster, the service can be updated to use one or more capacity
13380
- # providers as opposed to the default capacity provider strategy.
13381
- # However, when a service is using a capacity provider strategy
13382
- # that's not the default capacity provider strategy, the service
13383
- # can't be updated to use the cluster's default capacity provider
13384
- # strategy.
13428
+ # When you use Fargate, the capacity providers are `FARGATE` or
13429
+ # `FARGATE_SPOT`.
13385
13430
  #
13386
- # A capacity provider strategy consists of one or more capacity
13387
- # providers along with the `base` and `weight` to assign to them. A
13388
- # capacity provider must be associated with the cluster to be used in
13389
- # a capacity provider strategy. The [PutClusterCapacityProviders][1]
13390
- # API is used to associate a capacity provider with a cluster. Only
13391
- # capacity providers with an `ACTIVE` or `UPDATING` status can be
13392
- # used.
13431
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
13432
+ # groups.
13393
13433
  #
13394
- # If specifying a capacity provider that uses an Auto Scaling group,
13395
- # the capacity provider must already be created. New capacity
13396
- # providers can be created with the [CreateClusterCapacityProvider][2]
13397
- # API operation.
13434
+ # You can change capacity providers for rolling deployments and
13435
+ # blue/green deployments.
13398
13436
  #
13399
- # To use a Fargate capacity provider, specify either the `FARGATE` or
13400
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers
13401
- # are available to all accounts and only need to be associated with a
13402
- # cluster to be used.
13437
+ # The following list provides the valid transitions:
13403
13438
  #
13404
- # The [PutClusterCapacityProviders][1]API operation is used to update
13405
- # the list of available capacity providers for a cluster after the
13406
- # cluster is created.
13439
+ # * Update the Fargate launch type to an Auto Scaling group capacity
13440
+ # provider.
13407
13441
  #
13442
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
13408
13443
  #
13444
+ # * Update the Fargate capacity provider to an Auto Scaling group
13445
+ # capacity provider.
13409
13446
  #
13447
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
13448
+ # provider.
13410
13449
  #
13450
+ # * Update the Auto Scaling group or Fargate capacity provider back to
13451
+ # the launch type.
13411
13452
  #
13412
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
13413
- # [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html
13453
+ # Pass an empty list in the `capacityProviderStrategy` parameter.
13454
+ #
13455
+ # For information about Amazon Web Services CDK considerations, see
13456
+ # [Amazon Web Services CDK considerations][1].
13457
+ #
13458
+ #
13459
+ #
13460
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/update-service-parameters.html
13414
13461
  # @return [Array<Types::CapacityProviderStrategyItem>]
13415
13462
  #
13416
13463
  # @!attribute [rw] deployment_configuration
@@ -13522,6 +13569,10 @@ module Aws::ECS
13522
13569
  # @return [Boolean]
13523
13570
  #
13524
13571
  # @!attribute [rw] load_balancers
13572
+ # <note markdown="1"> You must have a service-linked role when you update this property
13573
+ #
13574
+ # </note>
13575
+ #
13525
13576
  # A list of Elastic Load Balancing load balancer objects. It contains
13526
13577
  # the load balancer name, the container name, and the container port
13527
13578
  # to access from the load balancer. The container name is as it
@@ -13570,8 +13621,15 @@ module Aws::ECS
13570
13621
  # @return [String]
13571
13622
  #
13572
13623
  # @!attribute [rw] service_registries
13624
+ # <note markdown="1"> You must have a service-linked role when you update this property.
13625
+ #
13626
+ # For more information about the role see the `CreateService` request
13627
+ # parameter [ `role` ][1].
13628
+ #
13629
+ # </note>
13630
+ #
13573
13631
  # The details for the service discovery registries to assign to this
13574
- # service. For more information, see [Service Discovery][1].
13632
+ # service. For more information, see [Service Discovery][2].
13575
13633
  #
13576
13634
  # When you add, update, or remove the service registries
13577
13635
  # configuration, Amazon ECS starts new tasks with the updated service
@@ -13583,7 +13641,8 @@ module Aws::ECS
13583
13641
  #
13584
13642
  #
13585
13643
  #
13586
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
13644
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
13645
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html
13587
13646
  # @return [Array<Types::ServiceRegistry>]
13588
13647
  #
13589
13648
  # @!attribute [rw] service_connect_configuration
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.193.0'
58
+ GEM_VERSION = '1.195.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1146,7 +1146,7 @@ module Aws
1146
1146
  },
1147
1147
  ?runtime_platform: {
1148
1148
  cpu_architecture: ("X86_64" | "ARM64")?,
1149
- operating_system_family: ("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")?
1149
+ operating_system_family: ("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")?
1150
1150
  },
1151
1151
  ?enable_fault_injection: bool
1152
1152
  ) -> _RegisterTaskDefinitionResponseSuccess
data/sig/types.rbs CHANGED
@@ -1296,7 +1296,7 @@ module Aws::ECS
1296
1296
 
1297
1297
  class RuntimePlatform
1298
1298
  attr_accessor cpu_architecture: ("X86_64" | "ARM64")
1299
- attr_accessor operating_system_family: ("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")
1299
+ attr_accessor operating_system_family: ("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")
1300
1300
  SENSITIVE: []
1301
1301
  end
1302
1302
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.193.0
4
+ version: 1.195.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services