aws-sdk-ecs 1.192.0 → 1.196.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: 98c19597f8dbe1de1f1618fbda56f0469479eb6b08970d15407276f5746cf703
4
- data.tar.gz: 4bedccfd80a9695b0b55e84de17b0d60e3c7df2ceadba83ecb8828da29a9f1fa
3
+ metadata.gz: b03afafe381980714c7792a1994c93ce0df58ea7973e8d1ac47a50a7c7cdcda9
4
+ data.tar.gz: 693a2bd31645ab103e569b93174dc1307ea43c79b7070027494166d2c67e4b34
5
5
  SHA512:
6
- metadata.gz: 3a08f10c4dccebd955cfceee551589e7ce896078bd89e6bec1a5b6f7b3e9eae159e212d3a40d78b58f7ddeddeea67caf999ce5d60d92f4821bfc0241524f0bd7
7
- data.tar.gz: 89778af0c0cf3f7e1b8e8d98259d62dcb3466d9d2210da184be20696a7c0a150b4d2fba1616dacd36a0f0e73a920daf8a9c1f62fc1acd92e8aaef9ac371b0b38
6
+ metadata.gz: 39b2e3dc8dacb00e5c93d636df3b03c105129740ccc9abc6d14bf81d16c5435d9ccf7059f146d609a2862bbd00ae39764799a1d01af81383c9543fbe063647ec
7
+ data.tar.gz: d665c206e42ca7c76a4c998c4fe6720adf67fb9e0945b54839775fe6a7769772c5a9c0113212077b61609b68d7611d30d8a09a4c45b0ee7dcdfce58be59aec24
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.196.0 (2025-06-25)
5
+ ------------------
6
+
7
+ * Feature - Updates for change to Amazon ECS default log driver mode from blocking to non-blocking
8
+
9
+ 1.195.0 (2025-06-20)
10
+ ------------------
11
+
12
+ * Feature - Add ECS support for Windows Server 2025
13
+
14
+ 1.194.0 (2025-06-12)
15
+ ------------------
16
+
17
+ * Feature - This Amazon ECS release supports updating the capacityProviderStrategy parameter in update-service.
18
+
19
+ 1.193.0 (2025-06-02)
20
+ ------------------
21
+
22
+ * Feature - Updates Amazon ECS documentation to include note for upcoming default log driver mode change.
23
+
4
24
  1.192.0 (2025-05-16)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.192.0
1
+ 1.196.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
@@ -6789,6 +6789,18 @@ module Aws::ECS
6789
6789
  # using this account setting will be used as the default. For more
6790
6790
  # information about log delivery modes, see [LogConfiguration][7].
6791
6791
  #
6792
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
6793
+ # from `blocking` to `non-blocking` to prioritize task availability
6794
+ # over logging. To continue using the `blocking` mode after this
6795
+ # change, do one of the following:
6796
+ #
6797
+ # * Set the `mode` option in your container definition's
6798
+ # `logConfiguration` as `blocking`.
6799
+ #
6800
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
6801
+ #
6802
+ # </note>
6803
+ #
6792
6804
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
6793
6805
  # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
6794
6806
  # enabled or disabled by your security administrator in your Amazon
@@ -7016,6 +7028,18 @@ module Aws::ECS
7016
7028
  # using this account setting will be used as the default. For more
7017
7029
  # information about log delivery modes, see [LogConfiguration][7].
7018
7030
  #
7031
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
7032
+ # from `blocking` to `non-blocking` to prioritize task availability
7033
+ # over logging. To continue using the `blocking` mode after this
7034
+ # change, do one of the following:
7035
+ #
7036
+ # * Set the `mode` option in your container definition's
7037
+ # `logConfiguration` as `blocking`.
7038
+ #
7039
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
7040
+ #
7041
+ # </note>
7042
+ #
7019
7043
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is read-only
7020
7044
  # in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is
7021
7045
  # enabled or disabled by your security administrator in your Amazon
@@ -8402,7 +8426,7 @@ module Aws::ECS
8402
8426
  # },
8403
8427
  # runtime_platform: {
8404
8428
  # cpu_architecture: "X86_64", # accepts X86_64, ARM64
8405
- # 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
8406
8430
  # },
8407
8431
  # enable_fault_injection: false,
8408
8432
  # })
@@ -8559,7 +8583,7 @@ module Aws::ECS
8559
8583
  # resp.task_definition.compatibilities #=> Array
8560
8584
  # resp.task_definition.compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8561
8585
  # resp.task_definition.runtime_platform.cpu_architecture #=> String, one of "X86_64", "ARM64"
8562
- # 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"
8563
8587
  # resp.task_definition.requires_compatibilities #=> Array
8564
8588
  # resp.task_definition.requires_compatibilities[0] #=> String, one of "EC2", "FARGATE", "EXTERNAL"
8565
8589
  # resp.task_definition.cpu #=> String
@@ -8614,7 +8638,7 @@ module Aws::ECS
8614
8638
  # place tasks manually on specific container instances.
8615
8639
  #
8616
8640
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
8617
- # the volume when creating or updating a service. For more infomation,
8641
+ # the volume when creating or updating a service. For more information,
8618
8642
  # see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
8619
8643
  # Developer Guide*.
8620
8644
  #
@@ -9213,7 +9237,7 @@ module Aws::ECS
9213
9237
  # Container Service Developer Guide*.
9214
9238
  #
9215
9239
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
9216
- # the volume when creating or updating a service. For more infomation,
9240
+ # the volume when creating or updating a service. For more information,
9217
9241
  # see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
9218
9242
  # Developer Guide*.
9219
9243
  #
@@ -11317,13 +11341,13 @@ module Aws::ECS
11317
11341
  #
11318
11342
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
11319
11343
  # the volume when starting or running a task, or when creating or
11320
- # updating a service. For more infomation, see [Amazon EBS volumes][1]
11344
+ # updating a service. For more information, see [Amazon EBS volumes][1]
11321
11345
  # in the *Amazon Elastic Container Service Developer Guide*. You can
11322
11346
  # update your volume configurations and trigger a new deployment.
11323
11347
  # `volumeConfigurations` is only supported for REPLICA service and not
11324
11348
  # DAEMON service. If you leave `volumeConfigurations` `null`, it
11325
- # doesn't trigger a new deployment. For more infomation on volumes, see
11326
- # [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
11327
11351
  # Developer Guide*.
11328
11352
  #
11329
11353
  # For services using the blue/green (`CODE_DEPLOY`) deployment
@@ -11349,7 +11373,7 @@ module Aws::ECS
11349
11373
  #
11350
11374
  # You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
11351
11375
  # the volume when starting or running a task, or when creating or
11352
- # updating a service. For more infomation, see [Amazon EBS volumes][1]
11376
+ # updating a service. For more information, see [Amazon EBS volumes][1]
11353
11377
  # in the *Amazon Elastic Container Service Developer Guide*.
11354
11378
  #
11355
11379
  # If you have updated the container image of your application, you can
@@ -11433,31 +11457,20 @@ module Aws::ECS
11433
11457
  # Zone (based on the previous steps), favoring container instances
11434
11458
  # with the largest number of running tasks for this service.
11435
11459
  #
11436
- # <note markdown="1"> You must have a service-linked role when you update any of the
11437
- # following service properties:
11438
- #
11439
- # * `loadBalancers`,
11440
- #
11441
- # * `serviceRegistries`
11442
- #
11443
- # For more information about the role see the `CreateService` request
11444
- # parameter [ `role` ][5].
11445
- #
11446
- # </note>
11447
- #
11448
11460
  #
11449
11461
  #
11450
11462
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
11451
11463
  # [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
11452
11464
  # [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateTaskSet.html
11453
11465
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
11454
- # [5]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
11455
11466
  #
11456
11467
  # @option params [String] :cluster
11457
11468
  # The short name or full Amazon Resource Name (ARN) of the cluster that
11458
11469
  # your service runs on. If you do not specify a cluster, the default
11459
11470
  # cluster is assumed.
11460
11471
  #
11472
+ # You can't change the cluster name.
11473
+ #
11461
11474
  # @option params [required, String] :service
11462
11475
  # The name of the service to update.
11463
11476
  #
@@ -11474,41 +11487,42 @@ module Aws::ECS
11474
11487
  # after the new version is running.
11475
11488
  #
11476
11489
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
11477
- # 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.
11478
11492
  #
11479
- # if the service uses the default capacity provider strategy for the
11480
- # cluster, the service can be updated to use one or more capacity
11481
- # providers as opposed to the default capacity provider strategy.
11482
- # However, when a service is using a capacity provider strategy that's
11483
- # not the default capacity provider strategy, the service can't be
11484
- # updated to use the cluster's default capacity provider strategy.
11493
+ # When you use Fargate, the capacity providers are `FARGATE` or
11494
+ # `FARGATE_SPOT`.
11485
11495
  #
11486
- # A capacity provider strategy consists of one or more capacity
11487
- # providers along with the `base` and `weight` to assign to them. A
11488
- # capacity provider must be associated with the cluster to be used in a
11489
- # capacity provider strategy. The [PutClusterCapacityProviders][1] API
11490
- # is used to associate a capacity provider with a cluster. Only capacity
11491
- # providers with an `ACTIVE` or `UPDATING` status can be used.
11496
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
11497
+ # groups.
11492
11498
  #
11493
- # If specifying a capacity provider that uses an Auto Scaling group, the
11494
- # capacity provider must already be created. New capacity providers can
11495
- # be created with the [CreateClusterCapacityProvider][2] API operation.
11499
+ # You can change capacity providers for rolling deployments and
11500
+ # blue/green deployments.
11496
11501
  #
11497
- # To use a Fargate capacity provider, specify either the `FARGATE` or
11498
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
11499
- # available to all accounts and only need to be associated with a
11500
- # cluster to be used.
11502
+ # The following list provides the valid transitions:
11501
11503
  #
11502
- # The [PutClusterCapacityProviders][1]API operation is used to update
11503
- # the list of available capacity providers for a cluster after the
11504
- # cluster is created.
11504
+ # * Update the Fargate launch type to an Auto Scaling group capacity
11505
+ # provider.
11505
11506
  #
11507
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
11506
11508
  #
11509
+ # * Update the Fargate capacity provider to an Auto Scaling group
11510
+ # capacity provider.
11507
11511
  #
11512
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
11513
+ # provider.
11508
11514
  #
11515
+ # * Update the Auto Scaling group or Fargate capacity provider back to
11516
+ # the launch type.
11509
11517
  #
11510
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
11511
- # [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
11512
11526
  #
11513
11527
  # @option params [Types::DeploymentConfiguration] :deployment_configuration
11514
11528
  # Optional deployment parameters that control how many tasks run during
@@ -11605,6 +11619,10 @@ module Aws::ECS
11605
11619
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
11606
11620
  #
11607
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
+ #
11608
11626
  # A list of Elastic Load Balancing load balancer objects. It contains
11609
11627
  # the load balancer name, the container name, and the container port to
11610
11628
  # access from the load balancer. The container name is as it appears in
@@ -11651,8 +11669,15 @@ module Aws::ECS
11651
11669
  # that Amazon ECS starts new tasks with the updated tags.
11652
11670
  #
11653
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
+ #
11654
11679
  # The details for the service discovery registries to assign to this
11655
- # service. For more information, see [Service Discovery][1].
11680
+ # service. For more information, see [Service Discovery][2].
11656
11681
  #
11657
11682
  # When you add, update, or remove the service registries configuration,
11658
11683
  # Amazon ECS starts new tasks with the updated service registries
@@ -11663,7 +11688,8 @@ module Aws::ECS
11663
11688
  #
11664
11689
  #
11665
11690
  #
11666
- # [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
11667
11693
  #
11668
11694
  # @option params [Types::ServiceConnectConfiguration] :service_connect_configuration
11669
11695
  # The configuration for this service to discover and connect to
@@ -12539,7 +12565,7 @@ module Aws::ECS
12539
12565
  tracer: tracer
12540
12566
  )
12541
12567
  context[:gem_name] = 'aws-sdk-ecs'
12542
- context[:gem_version] = '1.192.0'
12568
+ context[:gem_version] = '1.196.0'
12543
12569
  Seahorse::Client::Request.new(handlers, context)
12544
12570
  end
12545
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
@@ -7023,9 +7070,21 @@ module Aws::ECS
7023
7070
  # Amazon Web Services Region by using the `defaultLogDriverMode`
7024
7071
  # account setting. If you don't specify the `mode` option or
7025
7072
  # configure the account setting, Amazon ECS will default to the
7026
- # `blocking` mode. For more information about the account setting,
7027
- # see [Default log driver mode][4] in the *Amazon Elastic Container
7028
- # Service Developer Guide*.
7073
+ # `non-blocking` mode. For more information about the account
7074
+ # setting, see [Default log driver mode][4] in the *Amazon Elastic
7075
+ # Container Service Developer Guide*.
7076
+ #
7077
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
7078
+ # from `blocking` to `non-blocking` to prioritize task availability
7079
+ # over logging. To continue using the `blocking` mode after this
7080
+ # change, do one of the following:
7081
+ #
7082
+ # * Set the `mode` option in your container definition's
7083
+ # `logConfiguration` as `blocking`.
7084
+ #
7085
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
7086
+ #
7087
+ # </note>
7029
7088
  #
7030
7089
  # max-buffer-size
7031
7090
  #
@@ -8017,6 +8076,18 @@ module Aws::ECS
8017
8076
  # using this account setting will be used as the default. For more
8018
8077
  # information about log delivery modes, see [LogConfiguration][7].
8019
8078
  #
8079
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
8080
+ # from `blocking` to `non-blocking` to prioritize task availability
8081
+ # over logging. To continue using the `blocking` mode after this
8082
+ # change, do one of the following:
8083
+ #
8084
+ # * Set the `mode` option in your container definition's
8085
+ # `logConfiguration` as `blocking`.
8086
+ #
8087
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
8088
+ #
8089
+ # </note>
8090
+ #
8020
8091
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is
8021
8092
  # read-only in Amazon ECS and indicates whether Amazon ECS Runtime
8022
8093
  # Monitoring is enabled or disabled by your security administrator
@@ -8172,6 +8243,18 @@ module Aws::ECS
8172
8243
  # using this account setting will be used as the default. For more
8173
8244
  # information about log delivery modes, see [LogConfiguration][7].
8174
8245
  #
8246
+ # <note markdown="1"> On June 25, 2025, Amazon ECS changed the default log driver mode
8247
+ # from `blocking` to `non-blocking` to prioritize task availability
8248
+ # over logging. To continue using the `blocking` mode after this
8249
+ # change, do one of the following:
8250
+ #
8251
+ # * Set the `mode` option in your container definition's
8252
+ # `logConfiguration` as `blocking`.
8253
+ #
8254
+ # * Set the `defaultLogDriverMode` account setting to `blocking`.
8255
+ #
8256
+ # </note>
8257
+ #
8175
8258
  # * `guardDutyActivate` - The `guardDutyActivate` parameter is
8176
8259
  # read-only in Amazon ECS and indicates whether Amazon ECS Runtime
8177
8260
  # Monitoring is enabled or disabled by your security administrator
@@ -13316,6 +13399,8 @@ module Aws::ECS
13316
13399
  # The short name or full Amazon Resource Name (ARN) of the cluster
13317
13400
  # that your service runs on. If you do not specify a cluster, the
13318
13401
  # default cluster is assumed.
13402
+ #
13403
+ # You can't change the cluster name.
13319
13404
  # @return [String]
13320
13405
  #
13321
13406
  # @!attribute [rw] service
@@ -13337,44 +13422,42 @@ module Aws::ECS
13337
13422
  # @return [String]
13338
13423
  #
13339
13424
  # @!attribute [rw] capacity_provider_strategy
13340
- # 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.
13341
13427
  #
13342
- # if the service uses the default capacity provider strategy for the
13343
- # cluster, the service can be updated to use one or more capacity
13344
- # providers as opposed to the default capacity provider strategy.
13345
- # However, when a service is using a capacity provider strategy
13346
- # that's not the default capacity provider strategy, the service
13347
- # can't be updated to use the cluster's default capacity provider
13348
- # strategy.
13428
+ # When you use Fargate, the capacity providers are `FARGATE` or
13429
+ # `FARGATE_SPOT`.
13349
13430
  #
13350
- # A capacity provider strategy consists of one or more capacity
13351
- # providers along with the `base` and `weight` to assign to them. A
13352
- # capacity provider must be associated with the cluster to be used in
13353
- # a capacity provider strategy. The [PutClusterCapacityProviders][1]
13354
- # API is used to associate a capacity provider with a cluster. Only
13355
- # capacity providers with an `ACTIVE` or `UPDATING` status can be
13356
- # used.
13431
+ # When you use Amazon EC2, the capacity providers are Auto Scaling
13432
+ # groups.
13357
13433
  #
13358
- # If specifying a capacity provider that uses an Auto Scaling group,
13359
- # the capacity provider must already be created. New capacity
13360
- # providers can be created with the [CreateClusterCapacityProvider][2]
13361
- # API operation.
13434
+ # You can change capacity providers for rolling deployments and
13435
+ # blue/green deployments.
13362
13436
  #
13363
- # To use a Fargate capacity provider, specify either the `FARGATE` or
13364
- # `FARGATE_SPOT` capacity providers. The Fargate capacity providers
13365
- # are available to all accounts and only need to be associated with a
13366
- # cluster to be used.
13437
+ # The following list provides the valid transitions:
13367
13438
  #
13368
- # The [PutClusterCapacityProviders][1]API operation is used to update
13369
- # the list of available capacity providers for a cluster after the
13370
- # cluster is created.
13439
+ # * Update the Fargate launch type to an Auto Scaling group capacity
13440
+ # provider.
13371
13441
  #
13442
+ # * Update the Amazon EC2 launch type to a Fargate capacity provider.
13372
13443
  #
13444
+ # * Update the Fargate capacity provider to an Auto Scaling group
13445
+ # capacity provider.
13373
13446
  #
13447
+ # * Update the Amazon EC2 capacity provider to a Fargate capacity
13448
+ # provider.
13374
13449
  #
13450
+ # * Update the Auto Scaling group or Fargate capacity provider back to
13451
+ # the launch type.
13375
13452
  #
13376
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html
13377
- # [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
13378
13461
  # @return [Array<Types::CapacityProviderStrategyItem>]
13379
13462
  #
13380
13463
  # @!attribute [rw] deployment_configuration
@@ -13486,6 +13569,10 @@ module Aws::ECS
13486
13569
  # @return [Boolean]
13487
13570
  #
13488
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
+ #
13489
13576
  # A list of Elastic Load Balancing load balancer objects. It contains
13490
13577
  # the load balancer name, the container name, and the container port
13491
13578
  # to access from the load balancer. The container name is as it
@@ -13534,8 +13621,15 @@ module Aws::ECS
13534
13621
  # @return [String]
13535
13622
  #
13536
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
+ #
13537
13631
  # The details for the service discovery registries to assign to this
13538
- # service. For more information, see [Service Discovery][1].
13632
+ # service. For more information, see [Service Discovery][2].
13539
13633
  #
13540
13634
  # When you add, update, or remove the service registries
13541
13635
  # configuration, Amazon ECS starts new tasks with the updated service
@@ -13547,7 +13641,8 @@ module Aws::ECS
13547
13641
  #
13548
13642
  #
13549
13643
  #
13550
- # [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
13551
13646
  # @return [Array<Types::ServiceRegistry>]
13552
13647
  #
13553
13648
  # @!attribute [rw] service_connect_configuration
@@ -13747,7 +13842,7 @@ module Aws::ECS
13747
13842
  #
13748
13843
  #
13749
13844
  #
13750
- # [1]: https://github.com/aws/amazon-ecs-agent/commits/master
13845
+ # [1]: https://github.com/aws/amazon-ecs-agent
13751
13846
  # @return [String]
13752
13847
  #
13753
13848
  # @!attribute [rw] docker_version
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.192.0'
58
+ GEM_VERSION = '1.196.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.192.0
4
+ version: 1.196.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.216.0
21
+ version: 3.225.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.216.0
31
+ version: 3.225.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '2.5'
87
+ version: '2.7'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="