aws-sdk-ecs 1.127.0 → 1.128.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be19bad5e5c9a653ec7741bc5504596fba18fa3412aadc1bc9c221d03d024ce8
4
- data.tar.gz: c46d0060da3110f6fda12a3c39763f2a9e2751beb8738b6cd550bfd00d6de7a0
3
+ metadata.gz: 9302d1f06b4be5977e3b3831e539026885625d3faa878ecb0f52c232db705d34
4
+ data.tar.gz: 3b51621802cd54762d8d93d66194dbbcf9e4fe470e9db1803d44a4aebc676b9a
5
5
  SHA512:
6
- metadata.gz: c6345f4afabbd40bb6683b5e43370c94510720f9a6d30aa02ab048d18b42bc382375d3fb23bd56eed442ba6647110ae163075e2ffb9b93e3aab08cfc31670afb
7
- data.tar.gz: 406c373f515f15827e31d4a47121f41f3a9dbb6dab4a6683decd3b28af6950205bf0ee240df6dccc03738551473099f46061fc9365ebef5905d65ffa5bef804a
6
+ metadata.gz: 544c0b1885aeb3f71e5f03a38a3bf5cacb733a4fea30e54b10e7777620286bae78f28359c7e07d2edf03a700725ada83822c942044d1db9681c173a1d328652e
7
+ data.tar.gz: 45b59876e6a5868fbb6f72075087e4c6272d6072e9fde52321cbfc5e143b2aab7eba78f5d983fc746f32a0c1bddf53f41f395b7c52fea6d07dd4558e95ec6de6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.128.0 (2023-08-31)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for an account-level setting that you can use to configure the number of days for AWS Fargate task retirement.
8
+
4
9
  1.127.0 (2023-08-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.127.0
1
+ 1.128.0
@@ -1913,13 +1913,13 @@ module Aws::ECS
1913
1913
  # @example Request syntax with placeholder values
1914
1914
  #
1915
1915
  # resp = client.delete_account_setting({
1916
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
1916
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
1917
1917
  # principal_arn: "String",
1918
1918
  # })
1919
1919
  #
1920
1920
  # @example Response structure
1921
1921
  #
1922
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
1922
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
1923
1923
  # resp.setting.value #=> String
1924
1924
  # resp.setting.principal_arn #=> String
1925
1925
  #
@@ -4579,7 +4579,7 @@ module Aws::ECS
4579
4579
  # @example Request syntax with placeholder values
4580
4580
  #
4581
4581
  # resp = client.list_account_settings({
4582
- # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
4582
+ # name: "serviceLongArnFormat", # accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
4583
4583
  # value: "String",
4584
4584
  # principal_arn: "String",
4585
4585
  # effective_settings: false,
@@ -4590,7 +4590,7 @@ module Aws::ECS
4590
4590
  # @example Response structure
4591
4591
  #
4592
4592
  # resp.settings #=> Array
4593
- # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
4593
+ # resp.settings[0].name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
4594
4594
  # resp.settings[0].value #=> String
4595
4595
  # resp.settings[0].principal_arn #=> String
4596
4596
  # resp.next_token #=> String
@@ -5457,25 +5457,24 @@ module Aws::ECS
5457
5457
  # account settings. For more information, see [Account Settings][1] in
5458
5458
  # the *Amazon Elastic Container Service Developer Guide*.
5459
5459
  #
5460
- # When `serviceLongArnFormat`, `taskLongArnFormat`, or
5461
- # `containerInstanceLongArnFormat` are specified, the Amazon Resource
5462
- # Name (ARN) and resource ID format of the resource type for a specified
5463
- # user, role, or the root user for an account is affected. The opt-in
5464
- # and opt-out account setting must be set for each Amazon ECS resource
5465
- # separately. The ARN and resource ID format of a resource is defined by
5466
- # the opt-in status of the user or role that created the resource. You
5467
- # must turn on this setting to use Amazon ECS features such as resource
5468
- # tagging.
5469
- #
5470
- # When `awsvpcTrunking` is specified, the elastic network interface
5471
- # (ENI) limit for any new container instances that support the feature
5472
- # is changed. If `awsvpcTrunking` is turned on, any new container
5473
- # instances that support the feature are launched have the increased ENI
5474
- # limits available to them. For more information, see [Elastic Network
5460
+ # When you specify `serviceLongArnFormat`, `taskLongArnFormat`, or
5461
+ # `containerInstanceLongArnFormat`, the Amazon Resource Name (ARN) and
5462
+ # resource ID format of the resource type for a specified user, role, or
5463
+ # the root user for an account is affected. The opt-in and opt-out
5464
+ # account setting must be set for each Amazon ECS resource separately.
5465
+ # The ARN and resource ID format of a resource is defined by the opt-in
5466
+ # status of the user or role that created the resource. You must turn on
5467
+ # this setting to use Amazon ECS features such as resource tagging.
5468
+ #
5469
+ # When you specify `awsvpcTrunking`, the elastic network interface (ENI)
5470
+ # limit for any new container instances that support the feature is
5471
+ # changed. If `awsvpcTrunking` is turned on, any new container instances
5472
+ # that support the feature are launched have the increased ENI limits
5473
+ # available to them. For more information, see [Elastic Network
5475
5474
  # Interface Trunking][2] in the *Amazon Elastic Container Service
5476
5475
  # Developer Guide*.
5477
5476
  #
5478
- # When `containerInsights` is specified, the default setting indicating
5477
+ # When you specify `containerInsights`, the default setting indicating
5479
5478
  # whether Amazon Web Services CloudWatch Container Insights is turned on
5480
5479
  # for your clusters is changed. If `containerInsights` is turned on, any
5481
5480
  # new clusters that are created will have Container Insights turned on
@@ -5492,29 +5491,39 @@ module Aws::ECS
5492
5491
  # action. For more information, see [Grant permission to tag resources
5493
5492
  # on creation][4] in the *Amazon ECS Developer Guide*.
5494
5493
  #
5494
+ # When Amazon Web Services determines that a security or infrastructure
5495
+ # update is needed for an Amazon ECS task hosted on Fargate, the tasks
5496
+ # need to be stopped and new tasks launched to replace them. Use
5497
+ # `fargateTaskRetirementWaitPeriod` to configure the wait time to retire
5498
+ # a Fargate task. For information about the Fargate tasks maintenance,
5499
+ # see [Amazon Web Services Fargate task maintenance][5] in the *Amazon
5500
+ # ECS Developer Guide*.
5501
+ #
5495
5502
  #
5496
5503
  #
5497
5504
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html
5498
5505
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html
5499
5506
  # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html
5500
5507
  # [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/supported-iam-actions-tagging.html
5508
+ # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
5501
5509
  #
5502
5510
  # @option params [required, String] :name
5503
5511
  # The Amazon ECS resource name for which to modify the account setting.
5504
- # If `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
5505
- # services is affected. If `taskLongArnFormat` is specified, the ARN and
5506
- # resource ID for your Amazon ECS tasks is affected. If
5507
- # `containerInstanceLongArnFormat` is specified, the ARN and resource ID
5508
- # for your Amazon ECS container instances is affected. If
5509
- # `awsvpcTrunking` is specified, the elastic network interface (ENI)
5510
- # limit for your Amazon ECS container instances is affected. If
5511
- # `containerInsights` is specified, the default setting for Amazon Web
5512
- # Services CloudWatch Container Insights for your clusters is affected.
5513
- # If `fargateFIPSMode` is specified, Fargate FIPS 140 compliance is
5514
- # affected. If `tagResourceAuthorization` is specified, the opt-in
5515
- # option for tagging resources on creation is affected. For information
5516
- # about the opt-in timeline, see [Tagging authorization timeline][1] in
5517
- # the *Amazon ECS Developer Guide*.
5512
+ # If you specify `serviceLongArnFormat`, the ARN for your Amazon ECS
5513
+ # services is affected. If you specify `taskLongArnFormat`, the ARN and
5514
+ # resource ID for your Amazon ECS tasks is affected. If you specify
5515
+ # `containerInstanceLongArnFormat`, the ARN and resource ID for your
5516
+ # Amazon ECS container instances is affected. If you specify
5517
+ # `awsvpcTrunking`, the elastic network interface (ENI) limit for your
5518
+ # Amazon ECS container instances is affected. If you specify
5519
+ # `containerInsights`, the default setting for Amazon Web Services
5520
+ # CloudWatch Container Insights for your clusters is affected. If you
5521
+ # specify `fargateFIPSMode`, Fargate FIPS 140 compliance is affected. If
5522
+ # you specify `tagResourceAuthorization`, the opt-in option for tagging
5523
+ # resources on creation is affected. For information about the opt-in
5524
+ # timeline, see [Tagging authorization timeline][1] in the *Amazon ECS
5525
+ # Developer Guide*. If you specify `fargateTaskRetirementWaitPeriod`,
5526
+ # the wait time to retire a Fargate task is affected.
5518
5527
  #
5519
5528
  #
5520
5529
  #
@@ -5524,6 +5533,18 @@ module Aws::ECS
5524
5533
  # The account setting value for the specified principal ARN. Accepted
5525
5534
  # values are `enabled`, `disabled`, `on`, and `off`.
5526
5535
  #
5536
+ # When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
5537
+ # following are the valid values:
5538
+ #
5539
+ # * `0` - immediately retire the tasks and patch Fargate
5540
+ #
5541
+ # There is no advanced notification. Your tasks are retired
5542
+ # immediately, and Fargate is patched without any notification.
5543
+ #
5544
+ # * `7` -wait 7 calendar days to retire the tasks and patch Fargate
5545
+ #
5546
+ # * `14` - wait 14 calendar days to retire the tasks and patch Fargate
5547
+ #
5527
5548
  # @option params [String] :principal_arn
5528
5549
  # The ARN of the principal, which can be a user, role, or the root user.
5529
5550
  # If you specify the root user, it modifies the account setting for all
@@ -5531,7 +5552,10 @@ module Aws::ECS
5531
5552
  # explicitly overrides these settings. If this field is omitted, the
5532
5553
  # setting is changed only for the authenticated user.
5533
5554
  #
5534
- # <note markdown="1"> Federated users assume the account setting of the root user and can't
5555
+ # <note markdown="1"> You must use the root user when you set the Fargate wait time
5556
+ # (`fargateTaskRetirementWaitPeriod`).
5557
+ #
5558
+ # Federated users assume the account setting of the root user and can't
5535
5559
  # have explicit account settings set for them.
5536
5560
  #
5537
5561
  # </note>
@@ -5585,14 +5609,14 @@ module Aws::ECS
5585
5609
  # @example Request syntax with placeholder values
5586
5610
  #
5587
5611
  # resp = client.put_account_setting({
5588
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
5612
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
5589
5613
  # value: "String", # required
5590
5614
  # principal_arn: "String",
5591
5615
  # })
5592
5616
  #
5593
5617
  # @example Response structure
5594
5618
  #
5595
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
5619
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
5596
5620
  # resp.setting.value #=> String
5597
5621
  # resp.setting.principal_arn #=> String
5598
5622
  #
@@ -5610,19 +5634,21 @@ module Aws::ECS
5610
5634
  # set on a per-Region basis.
5611
5635
  #
5612
5636
  # @option params [required, String] :name
5613
- # The resource name for which to modify the account setting. If
5614
- # `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
5615
- # services is affected. If `taskLongArnFormat` is specified, the ARN and
5616
- # resource ID for your Amazon ECS tasks is affected. If
5617
- # `containerInstanceLongArnFormat` is specified, the ARN and resource ID
5618
- # for your Amazon ECS container instances is affected. If
5619
- # `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
5620
- # container instances is affected. If `containerInsights` is specified,
5621
- # the default setting for Amazon Web Services CloudWatch Container
5622
- # Insights for your clusters is affected. If `tagResourceAuthorization`
5623
- # is specified, the opt-in option for tagging resources on creation is
5624
- # affected. For information about the opt-in timeline, see [Tagging
5625
- # authorization timeline][1] in the *Amazon ECS Developer Guide*.
5637
+ # The resource name for which to modify the account setting. If you
5638
+ # specify `serviceLongArnFormat`, the ARN for your Amazon ECS services
5639
+ # is affected. If you specify `taskLongArnFormat`, the ARN and resource
5640
+ # ID for your Amazon ECS tasks is affected. If you specify
5641
+ # `containerInstanceLongArnFormat`, the ARN and resource ID for your
5642
+ # Amazon ECS container instances is affected. If you specify
5643
+ # `awsvpcTrunking`, the ENI limit for your Amazon ECS container
5644
+ # instances is affected. If you specify `containerInsights`, the default
5645
+ # setting for Amazon Web Services CloudWatch Container Insights for your
5646
+ # clusters is affected. If you specify `tagResourceAuthorization`, the
5647
+ # opt-in option for tagging resources on creation is affected. For
5648
+ # information about the opt-in timeline, see [Tagging authorization
5649
+ # timeline][1] in the *Amazon ECS Developer Guide*. If you specify
5650
+ # `fargateTaskRetirementWaitPeriod`, the default wait time to retire a
5651
+ # Fargate task due to required maintenance is affected.
5626
5652
  #
5627
5653
  # When you specify `fargateFIPSMode` for the `name` and `enabled` for
5628
5654
  # the `value`, Fargate uses FIPS-140 compliant cryptographic algorithms
@@ -5631,15 +5657,36 @@ module Aws::ECS
5631
5657
  # Processing Standard (FIPS) 140-2 compliance][2] in the *Amazon Elastic
5632
5658
  # Container Service Developer Guide*.
5633
5659
  #
5660
+ # When Amazon Web Services determines that a security or infrastructure
5661
+ # update is needed for an Amazon ECS task hosted on Fargate, the tasks
5662
+ # need to be stopped and new tasks launched to replace them. Use
5663
+ # `fargateTaskRetirementWaitPeriod` to set the wait time to retire a
5664
+ # Fargate task to the default. For information about the Fargate tasks
5665
+ # maintenance, see [Amazon Web Services Fargate task maintenance][3] in
5666
+ # the *Amazon ECS Developer Guide*.
5667
+ #
5634
5668
  #
5635
5669
  #
5636
5670
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
5637
5671
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
5672
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
5638
5673
  #
5639
5674
  # @option params [required, String] :value
5640
5675
  # The account setting value for the specified principal ARN. Accepted
5641
5676
  # values are `enabled`, `disabled`, `on`, and `off`.
5642
5677
  #
5678
+ # When you specify `fargateTaskRetirementWaitPeriod` for the `name`, the
5679
+ # following are the valid values:
5680
+ #
5681
+ # * `0` - immediately retire the tasks and patch Fargate
5682
+ #
5683
+ # There is no advanced notification. Your tasks are retired
5684
+ # immediately, and Fargate is patched without any notification.
5685
+ #
5686
+ # * `7` -wait 7 calendar days to retire the tasks and patch Fargate
5687
+ #
5688
+ # * `14` - wait 14 calendar days to retire the tasks and patch Fargate
5689
+ #
5643
5690
  # @return [Types::PutAccountSettingDefaultResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5644
5691
  #
5645
5692
  # * {Types::PutAccountSettingDefaultResponse#setting #setting} => Types::Setting
@@ -5668,13 +5715,13 @@ module Aws::ECS
5668
5715
  # @example Request syntax with placeholder values
5669
5716
  #
5670
5717
  # resp = client.put_account_setting_default({
5671
- # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization
5718
+ # name: "serviceLongArnFormat", # required, accepts serviceLongArnFormat, taskLongArnFormat, containerInstanceLongArnFormat, awsvpcTrunking, containerInsights, fargateFIPSMode, tagResourceAuthorization, fargateTaskRetirementWaitPeriod
5672
5719
  # value: "String", # required
5673
5720
  # })
5674
5721
  #
5675
5722
  # @example Response structure
5676
5723
  #
5677
- # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization"
5724
+ # resp.setting.name #=> String, one of "serviceLongArnFormat", "taskLongArnFormat", "containerInstanceLongArnFormat", "awsvpcTrunking", "containerInsights", "fargateFIPSMode", "tagResourceAuthorization", "fargateTaskRetirementWaitPeriod"
5678
5725
  # resp.setting.value #=> String
5679
5726
  # resp.setting.principal_arn #=> String
5680
5727
  #
@@ -6306,20 +6353,33 @@ module Aws::ECS
6306
6353
  #
6307
6354
  # @option params [String] :pid_mode
6308
6355
  # The process namespace to use for the containers in the task. The valid
6309
- # values are `host` or `task`. If `host` is specified, then all
6310
- # containers within the tasks that specified the `host` PID mode on the
6311
- # same container instance share the same process namespace with the host
6312
- # Amazon EC2 instance. If `task` is specified, all containers within the
6313
- # specified task share the same process namespace. If no value is
6314
- # specified, the default is a private namespace. For more information,
6315
- # see [PID settings][1] in the *Docker run reference*.
6316
- #
6317
- # If the `host` PID mode is used, be aware that there is a heightened
6318
- # risk of undesired process namespace expose. For more information, see
6356
+ # values are `host` or `task`. On Fargate for Linux containers, the only
6357
+ # valid value is `task`. For example, monitoring sidecars might need
6358
+ # `pidMode` to access information about other containers running in the
6359
+ # same task.
6360
+ #
6361
+ # If `host` is specified, all containers within the tasks that specified
6362
+ # the `host` PID mode on the same container instance share the same
6363
+ # process namespace with the host Amazon EC2 instance.
6364
+ #
6365
+ # If `task` is specified, all containers within the specified task share
6366
+ # the same process namespace.
6367
+ #
6368
+ # If no value is specified, the default is a private namespace for each
6369
+ # container. For more information, see [PID settings][1] in the *Docker
6370
+ # run reference*.
6371
+ #
6372
+ # If the `host` PID mode is used, there's a heightened risk of
6373
+ # undesired process namespace exposure. For more information, see
6319
6374
  # [Docker security][2].
6320
6375
  #
6321
- # <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
6322
- # Fargate.
6376
+ # <note markdown="1"> This parameter is not supported for Windows containers.
6377
+ #
6378
+ # </note>
6379
+ #
6380
+ # <note markdown="1"> This parameter is only supported for tasks that are hosted on Fargate
6381
+ # if the tasks are using platform version `1.4.0` or later (Linux). This
6382
+ # isn't supported for Windows containers on Fargate.
6323
6383
  #
6324
6384
  # </note>
6325
6385
  #
@@ -9748,7 +9808,7 @@ module Aws::ECS
9748
9808
  params: params,
9749
9809
  config: config)
9750
9810
  context[:gem_name] = 'aws-sdk-ecs'
9751
- context[:gem_version] = '1.127.0'
9811
+ context[:gem_version] = '1.128.0'
9752
9812
  Seahorse::Client::Request.new(handlers, context)
9753
9813
  end
9754
9814
 
@@ -131,7 +131,7 @@ module Aws::ECS
131
131
  # @return [String]
132
132
  #
133
133
  # @!attribute [rw] managed_scaling
134
- # he managed scaling settings for the Auto Scaling group capacity
134
+ # The managed scaling settings for the Auto Scaling group capacity
135
135
  # provider.
136
136
  # @return [Types::ManagedScaling]
137
137
  #
@@ -1805,7 +1805,9 @@ module Aws::ECS
1805
1805
  # A list of namespaced kernel parameters to set in the container. This
1806
1806
  # parameter maps to `Sysctls` in the [Create a container][1] section
1807
1807
  # of the [Docker Remote API][2] and the `--sysctl` option to [docker
1808
- # run][3].
1808
+ # run][3]. For example, you can configure
1809
+ # `net.ipv4.tcp_keepalive_time` setting to maintain longer lived
1810
+ # connections.
1809
1811
  #
1810
1812
  # <note markdown="1"> We don't recommended that you specify network-related
1811
1813
  # `systemControls` parameters for multiple containers in a single task
@@ -1818,6 +1820,16 @@ module Aws::ECS
1818
1820
  #
1819
1821
  # </note>
1820
1822
  #
1823
+ # <note markdown="1"> This parameter is not supported for Windows containers.
1824
+ #
1825
+ # </note>
1826
+ #
1827
+ # <note markdown="1"> This parameter is only supported for tasks that are hosted on
1828
+ # Fargate if the tasks are using platform version `1.4.0` or later
1829
+ # (Linux). This isn't supported for Windows containers on Fargate.
1830
+ #
1831
+ # </note>
1832
+ #
1821
1833
  #
1822
1834
  #
1823
1835
  # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
@@ -2107,8 +2119,8 @@ module Aws::ECS
2107
2119
  # @return [Boolean]
2108
2120
  #
2109
2121
  # @!attribute [rw] running_tasks_count
2110
- # The number of tasks on the container instance that are in the
2111
- # `RUNNING` status.
2122
+ # The number of tasks on the container instance that have a desired
2123
+ # status (`desiredStatus`) of `RUNNING`.
2112
2124
  # @return [Integer]
2113
2125
  #
2114
2126
  # @!attribute [rw] pending_tasks_count
@@ -7234,20 +7246,22 @@ module Aws::ECS
7234
7246
  end
7235
7247
 
7236
7248
  # @!attribute [rw] name
7237
- # The resource name for which to modify the account setting. If
7238
- # `serviceLongArnFormat` is specified, the ARN for your Amazon ECS
7239
- # services is affected. If `taskLongArnFormat` is specified, the ARN
7240
- # and resource ID for your Amazon ECS tasks is affected. If
7241
- # `containerInstanceLongArnFormat` is specified, the ARN and resource
7242
- # ID for your Amazon ECS container instances is affected. If
7243
- # `awsvpcTrunking` is specified, the ENI limit for your Amazon ECS
7244
- # container instances is affected. If `containerInsights` is
7245
- # specified, the default setting for Amazon Web Services CloudWatch
7246
- # Container Insights for your clusters is affected. If
7247
- # `tagResourceAuthorization` is specified, the opt-in option for
7248
- # tagging resources on creation is affected. For information about the
7249
- # opt-in timeline, see [Tagging authorization timeline][1] in the
7250
- # *Amazon ECS Developer Guide*.
7249
+ # The resource name for which to modify the account setting. If you
7250
+ # specify `serviceLongArnFormat`, the ARN for your Amazon ECS services
7251
+ # is affected. If you specify `taskLongArnFormat`, the ARN and
7252
+ # resource ID for your Amazon ECS tasks is affected. If you specify
7253
+ # `containerInstanceLongArnFormat`, the ARN and resource ID for your
7254
+ # Amazon ECS container instances is affected. If you specify
7255
+ # `awsvpcTrunking`, the ENI limit for your Amazon ECS container
7256
+ # instances is affected. If you specify `containerInsights`, the
7257
+ # default setting for Amazon Web Services CloudWatch Container
7258
+ # Insights for your clusters is affected. If you specify
7259
+ # `tagResourceAuthorization`, the opt-in option for tagging resources
7260
+ # on creation is affected. For information about the opt-in timeline,
7261
+ # see [Tagging authorization timeline][1] in the *Amazon ECS Developer
7262
+ # Guide*. If you specify `fargateTaskRetirementWaitPeriod`, the
7263
+ # default wait time to retire a Fargate task due to required
7264
+ # maintenance is affected.
7251
7265
  #
7252
7266
  # When you specify `fargateFIPSMode` for the `name` and `enabled` for
7253
7267
  # the `value`, Fargate uses FIPS-140 compliant cryptographic
@@ -7256,15 +7270,36 @@ module Aws::ECS
7256
7270
  # Information Processing Standard (FIPS) 140-2 compliance][2] in the
7257
7271
  # *Amazon Elastic Container Service Developer Guide*.
7258
7272
  #
7273
+ # When Amazon Web Services determines that a security or
7274
+ # infrastructure update is needed for an Amazon ECS task hosted on
7275
+ # Fargate, the tasks need to be stopped and new tasks launched to
7276
+ # replace them. Use `fargateTaskRetirementWaitPeriod` to set the wait
7277
+ # time to retire a Fargate task to the default. For information about
7278
+ # the Fargate tasks maintenance, see [Amazon Web Services Fargate task
7279
+ # maintenance][3] in the *Amazon ECS Developer Guide*.
7280
+ #
7259
7281
  #
7260
7282
  #
7261
7283
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#tag-resources
7262
7284
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-fips-compliance.html
7285
+ # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-maintenance.html
7263
7286
  # @return [String]
7264
7287
  #
7265
7288
  # @!attribute [rw] value
7266
7289
  # The account setting value for the specified principal ARN. Accepted
7267
7290
  # values are `enabled`, `disabled`, `on`, and `off`.
7291
+ #
7292
+ # When you specify `fargateTaskRetirementWaitPeriod` for the `name`,
7293
+ # the following are the valid values:
7294
+ #
7295
+ # * `0` - immediately retire the tasks and patch Fargate
7296
+ #
7297
+ # There is no advanced notification. Your tasks are retired
7298
+ # immediately, and Fargate is patched without any notification.
7299
+ #
7300
+ # * `7` -wait 7 calendar days to retire the tasks and patch Fargate
7301
+ #
7302
+ # * `14` - wait 14 calendar days to retire the tasks and patch Fargate
7268
7303
  # @return [String]
7269
7304
  #
7270
7305
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/PutAccountSettingDefaultRequest AWS API Documentation
@@ -7290,20 +7325,22 @@ module Aws::ECS
7290
7325
 
7291
7326
  # @!attribute [rw] name
7292
7327
  # The Amazon ECS resource name for which to modify the account
7293
- # setting. If `serviceLongArnFormat` is specified, the ARN for your
7294
- # Amazon ECS services is affected. If `taskLongArnFormat` is
7295
- # specified, the ARN and resource ID for your Amazon ECS tasks is
7296
- # affected. If `containerInstanceLongArnFormat` is specified, the ARN
7297
- # and resource ID for your Amazon ECS container instances is affected.
7298
- # If `awsvpcTrunking` is specified, the elastic network interface
7299
- # (ENI) limit for your Amazon ECS container instances is affected. If
7300
- # `containerInsights` is specified, the default setting for Amazon Web
7301
- # Services CloudWatch Container Insights for your clusters is
7302
- # affected. If `fargateFIPSMode` is specified, Fargate FIPS 140
7303
- # compliance is affected. If `tagResourceAuthorization` is specified,
7304
- # the opt-in option for tagging resources on creation is affected. For
7305
- # information about the opt-in timeline, see [Tagging authorization
7306
- # timeline][1] in the *Amazon ECS Developer Guide*.
7328
+ # setting. If you specify `serviceLongArnFormat`, the ARN for your
7329
+ # Amazon ECS services is affected. If you specify `taskLongArnFormat`,
7330
+ # the ARN and resource ID for your Amazon ECS tasks is affected. If
7331
+ # you specify `containerInstanceLongArnFormat`, the ARN and resource
7332
+ # ID for your Amazon ECS container instances is affected. If you
7333
+ # specify `awsvpcTrunking`, the elastic network interface (ENI) limit
7334
+ # for your Amazon ECS container instances is affected. If you specify
7335
+ # `containerInsights`, the default setting for Amazon Web Services
7336
+ # CloudWatch Container Insights for your clusters is affected. If you
7337
+ # specify `fargateFIPSMode`, Fargate FIPS 140 compliance is affected.
7338
+ # If you specify `tagResourceAuthorization`, the opt-in option for
7339
+ # tagging resources on creation is affected. For information about the
7340
+ # opt-in timeline, see [Tagging authorization timeline][1] in the
7341
+ # *Amazon ECS Developer Guide*. If you specify
7342
+ # `fargateTaskRetirementWaitPeriod`, the wait time to retire a Fargate
7343
+ # task is affected.
7307
7344
  #
7308
7345
  #
7309
7346
  #
@@ -7313,6 +7350,18 @@ module Aws::ECS
7313
7350
  # @!attribute [rw] value
7314
7351
  # The account setting value for the specified principal ARN. Accepted
7315
7352
  # values are `enabled`, `disabled`, `on`, and `off`.
7353
+ #
7354
+ # When you specify `fargateTaskRetirementWaitPeriod` for the `name`,
7355
+ # the following are the valid values:
7356
+ #
7357
+ # * `0` - immediately retire the tasks and patch Fargate
7358
+ #
7359
+ # There is no advanced notification. Your tasks are retired
7360
+ # immediately, and Fargate is patched without any notification.
7361
+ #
7362
+ # * `7` -wait 7 calendar days to retire the tasks and patch Fargate
7363
+ #
7364
+ # * `14` - wait 14 calendar days to retire the tasks and patch Fargate
7316
7365
  # @return [String]
7317
7366
  #
7318
7367
  # @!attribute [rw] principal_arn
@@ -7322,7 +7371,10 @@ module Aws::ECS
7322
7371
  # or role explicitly overrides these settings. If this field is
7323
7372
  # omitted, the setting is changed only for the authenticated user.
7324
7373
  #
7325
- # <note markdown="1"> Federated users assume the account setting of the root user and
7374
+ # <note markdown="1"> You must use the root user when you set the Fargate wait time
7375
+ # (`fargateTaskRetirementWaitPeriod`).
7376
+ #
7377
+ # Federated users assume the account setting of the root user and
7326
7378
  # can't have explicit account settings set for them.
7327
7379
  #
7328
7380
  # </note>
@@ -7788,20 +7840,33 @@ module Aws::ECS
7788
7840
  #
7789
7841
  # @!attribute [rw] pid_mode
7790
7842
  # The process namespace to use for the containers in the task. The
7791
- # valid values are `host` or `task`. If `host` is specified, then all
7792
- # containers within the tasks that specified the `host` PID mode on
7793
- # the same container instance share the same process namespace with
7794
- # the host Amazon EC2 instance. If `task` is specified, all containers
7795
- # within the specified task share the same process namespace. If no
7796
- # value is specified, the default is a private namespace. For more
7797
- # information, see [PID settings][1] in the *Docker run reference*.
7798
- #
7799
- # If the `host` PID mode is used, be aware that there is a heightened
7800
- # risk of undesired process namespace expose. For more information,
7801
- # see [Docker security][2].
7843
+ # valid values are `host` or `task`. On Fargate for Linux containers,
7844
+ # the only valid value is `task`. For example, monitoring sidecars
7845
+ # might need `pidMode` to access information about other containers
7846
+ # running in the same task.
7802
7847
  #
7803
- # <note markdown="1"> This parameter is not supported for Windows containers or tasks run
7804
- # on Fargate.
7848
+ # If `host` is specified, all containers within the tasks that
7849
+ # specified the `host` PID mode on the same container instance share
7850
+ # the same process namespace with the host Amazon EC2 instance.
7851
+ #
7852
+ # If `task` is specified, all containers within the specified task
7853
+ # share the same process namespace.
7854
+ #
7855
+ # If no value is specified, the default is a private namespace for
7856
+ # each container. For more information, see [PID settings][1] in the
7857
+ # *Docker run reference*.
7858
+ #
7859
+ # If the `host` PID mode is used, there's a heightened risk of
7860
+ # undesired process namespace exposure. For more information, see
7861
+ # [Docker security][2].
7862
+ #
7863
+ # <note markdown="1"> This parameter is not supported for Windows containers.
7864
+ #
7865
+ # </note>
7866
+ #
7867
+ # <note markdown="1"> This parameter is only supported for tasks that are hosted on
7868
+ # Fargate if the tasks are using platform version `1.4.0` or later
7869
+ # (Linux). This isn't supported for Windows containers on Fargate.
7805
7870
  #
7806
7871
  # </note>
7807
7872
  #
@@ -9562,8 +9627,16 @@ module Aws::ECS
9562
9627
  # @return [String]
9563
9628
  #
9564
9629
  # @!attribute [rw] value
9565
- # The value for the namespaced kernel parameter that's specified in
9566
- # `namespace`.
9630
+ # The namespaced kernel parameter to set a `value` for.
9631
+ #
9632
+ # Valid IPC namespace values: `"kernel.msgmax" | "kernel.msgmnb" |
9633
+ # "kernel.msgmni" | "kernel.sem" | "kernel.shmall" | "kernel.shmmax" |
9634
+ # "kernel.shmmni" | "kernel.shm_rmid_forced"`, and `Sysctls` that
9635
+ # start with `"fs.mqueue.*"`
9636
+ #
9637
+ # Valid network namespace values: `Sysctls` that start with `"net.*"`
9638
+ #
9639
+ # All of these values are supported by Fargate.
9567
9640
  # @return [String]
9568
9641
  #
9569
9642
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SystemControl AWS API Documentation
@@ -10366,20 +10439,33 @@ module Aws::ECS
10366
10439
  #
10367
10440
  # @!attribute [rw] pid_mode
10368
10441
  # The process namespace to use for the containers in the task. The
10369
- # valid values are `host` or `task`. If `host` is specified, then all
10370
- # containers within the tasks that specified the `host` PID mode on
10371
- # the same container instance share the same process namespace with
10372
- # the host Amazon EC2 instance. If `task` is specified, all containers
10373
- # within the specified task share the same process namespace. If no
10374
- # value is specified, the default is a private namespace. For more
10375
- # information, see [PID settings][1] in the *Docker run reference*.
10376
- #
10377
- # If the `host` PID mode is used, be aware that there is a heightened
10378
- # risk of undesired process namespace expose. For more information,
10379
- # see [Docker security][2].
10442
+ # valid values are `host` or `task`. On Fargate for Linux containers,
10443
+ # the only valid value is `task`. For example, monitoring sidecars
10444
+ # might need `pidMode` to access information about other containers
10445
+ # running in the same task.
10380
10446
  #
10381
- # <note markdown="1"> This parameter is not supported for Windows containers or tasks run
10382
- # on Fargate.
10447
+ # If `host` is specified, all containers within the tasks that
10448
+ # specified the `host` PID mode on the same container instance share
10449
+ # the same process namespace with the host Amazon EC2 instance.
10450
+ #
10451
+ # If `task` is specified, all containers within the specified task
10452
+ # share the same process namespace.
10453
+ #
10454
+ # If no value is specified, the default is a private namespace for
10455
+ # each container. For more information, see [PID settings][1] in the
10456
+ # *Docker run reference*.
10457
+ #
10458
+ # If the `host` PID mode is used, there's a heightened risk of
10459
+ # undesired process namespace exposure. For more information, see
10460
+ # [Docker security][2].
10461
+ #
10462
+ # <note markdown="1"> This parameter is not supported for Windows containers.
10463
+ #
10464
+ # </note>
10465
+ #
10466
+ # <note markdown="1"> This parameter is only supported for tasks that are hosted on
10467
+ # Fargate if the tasks are using platform version `1.4.0` or later
10468
+ # (Linux). This isn't supported for Windows containers on Fargate.
10383
10469
  #
10384
10470
  # </note>
10385
10471
  #
data/lib/aws-sdk-ecs.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-ecs/customizations'
53
53
  # @!group service
54
54
  module Aws::ECS
55
55
 
56
- GEM_VERSION = '1.127.0'
56
+ GEM_VERSION = '1.128.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.127.0
4
+ version: 1.128.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-04 00:00:00.000000000 Z
11
+ date: 2023-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core