aws-sdk-ecs 1.80.0 → 1.84.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +145 -140
- data/lib/aws-sdk-ecs/types.rb +284 -281
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d78e0eeeb6faf3d55148ef4d32e5b24674a62cbd067f9cc496494f1ad3cefb17
|
|
4
|
+
data.tar.gz: 98cbf5a074ad894e02a5b70a576f258c4cb6660c2549c7c2f75735d4532942f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae6fe3f5b57df0fec9e0bdaed2e08d6645dd426ce5422c1bb679e32907585229b1c93150a60ff2ae9d709f27967c6417336eea680c87c58320e2413e8c9d0414
|
|
7
|
+
data.tar.gz: 521478a2bf843e71186d6abc09f4dc5f30ee295d9df2f3724d25d71870ffeefeeb1c886ab3d45d21002c5399ed3d7738ce7bd51d68dbee3da31bdc3f0296683a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.84.0 (2021-08-11)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Documentation updates for ECS.
|
|
8
|
+
|
|
9
|
+
1.83.0 (2021-07-30)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.82.0 (2021-07-28)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.81.0 (2021-07-15)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Documentation updates for support of awsvpc mode on Windows.
|
|
23
|
+
|
|
4
24
|
1.80.0 (2021-06-02)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.84.0
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
|
@@ -342,9 +342,9 @@ module Aws::ECS
|
|
|
342
342
|
# strategies to facilitate cluster auto scaling.
|
|
343
343
|
#
|
|
344
344
|
# Only capacity providers using an Auto Scaling group can be created.
|
|
345
|
-
# Amazon ECS tasks on
|
|
345
|
+
# Amazon ECS tasks on Fargate use the `FARGATE` and `FARGATE_SPOT`
|
|
346
346
|
# capacity providers which are already created and available to all
|
|
347
|
-
# accounts in Regions supported by
|
|
347
|
+
# accounts in Regions supported by Fargate.
|
|
348
348
|
#
|
|
349
349
|
# @option params [required, String] :name
|
|
350
350
|
# The name of the capacity provider. Up to 255 characters are allowed,
|
|
@@ -380,10 +380,10 @@ module Aws::ECS
|
|
|
380
380
|
# * Tag keys and values are case-sensitive.
|
|
381
381
|
#
|
|
382
382
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
383
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
384
|
-
# use. You cannot edit or delete tag keys or
|
|
385
|
-
# Tags with this prefix do not count against
|
|
386
|
-
# limit.
|
|
383
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
384
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
385
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
386
|
+
# your tags per resource limit.
|
|
387
387
|
#
|
|
388
388
|
# @return [Types::CreateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
389
389
|
#
|
|
@@ -446,11 +446,12 @@ module Aws::ECS
|
|
|
446
446
|
#
|
|
447
447
|
# <note markdown="1"> When you call the CreateCluster API operation, Amazon ECS attempts to
|
|
448
448
|
# create the Amazon ECS service-linked role for your account so that
|
|
449
|
-
# required resources in other
|
|
450
|
-
# behalf. However, if the IAM user that makes the call
|
|
451
|
-
# permissions to create the service-linked role, it is not
|
|
452
|
-
# more information, see [Using Service-Linked Roles for
|
|
453
|
-
# in the *Amazon Elastic Container Service Developer
|
|
449
|
+
# required resources in other Amazon Web Services services can be
|
|
450
|
+
# managed on your behalf. However, if the IAM user that makes the call
|
|
451
|
+
# does not have permissions to create the service-linked role, it is not
|
|
452
|
+
# created. For more information, see [Using Service-Linked Roles for
|
|
453
|
+
# Amazon ECS][1] in the *Amazon Elastic Container Service Developer
|
|
454
|
+
# Guide*.
|
|
454
455
|
#
|
|
455
456
|
# </note>
|
|
456
457
|
#
|
|
@@ -489,10 +490,10 @@ module Aws::ECS
|
|
|
489
490
|
# * Tag keys and values are case-sensitive.
|
|
490
491
|
#
|
|
491
492
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
492
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
493
|
-
# use. You cannot edit or delete tag keys or
|
|
494
|
-
# Tags with this prefix do not count against
|
|
495
|
-
# limit.
|
|
493
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
494
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
495
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
496
|
+
# your tags per resource limit.
|
|
496
497
|
#
|
|
497
498
|
# @option params [Array<Types::ClusterSetting>] :settings
|
|
498
499
|
# The setting to use when creating a cluster. This parameter is used to
|
|
@@ -515,10 +516,10 @@ module Aws::ECS
|
|
|
515
516
|
# with another cluster. New Auto Scaling group capacity providers can be
|
|
516
517
|
# created with the CreateCapacityProvider API operation.
|
|
517
518
|
#
|
|
518
|
-
# To use a
|
|
519
|
-
#
|
|
520
|
-
#
|
|
521
|
-
#
|
|
519
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
520
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
521
|
+
# available to all accounts and only need to be associated with a
|
|
522
|
+
# cluster to be used.
|
|
522
523
|
#
|
|
523
524
|
# The PutClusterCapacityProviders API operation is used to update the
|
|
524
525
|
# list of available capacity providers for a cluster after the cluster
|
|
@@ -527,7 +528,7 @@ module Aws::ECS
|
|
|
527
528
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
|
|
528
529
|
# The capacity provider strategy to set as the default for the cluster.
|
|
529
530
|
# When a default capacity provider strategy is set for a cluster, when
|
|
530
|
-
# calling the RunTask or CreateService APIs
|
|
531
|
+
# calling the RunTask or CreateService APIs with no capacity provider
|
|
531
532
|
# strategy or launch type specified, the default capacity provider
|
|
532
533
|
# strategy for the cluster is used.
|
|
533
534
|
#
|
|
@@ -806,15 +807,15 @@ module Aws::ECS
|
|
|
806
807
|
#
|
|
807
808
|
# If the service is using the `CODE_DEPLOY` deployment controller, the
|
|
808
809
|
# service is required to use either an Application Load Balancer or
|
|
809
|
-
# Network Load Balancer. When creating an
|
|
810
|
-
#
|
|
811
|
-
#
|
|
812
|
-
#
|
|
813
|
-
#
|
|
814
|
-
#
|
|
815
|
-
#
|
|
816
|
-
#
|
|
817
|
-
#
|
|
810
|
+
# Network Load Balancer. When creating an CodeDeploy deployment group,
|
|
811
|
+
# you specify two target groups (referred to as a `targetGroupPair`).
|
|
812
|
+
# During a deployment, CodeDeploy determines which task set in your
|
|
813
|
+
# service has the status `PRIMARY` and associates one target group with
|
|
814
|
+
# it, and then associates the other target group with the replacement
|
|
815
|
+
# task set. The load balancer can also have up to two listeners: a
|
|
816
|
+
# required listener for production traffic and an optional listener that
|
|
817
|
+
# allows you perform validation tests with Lambda functions before
|
|
818
|
+
# routing production traffic to it.
|
|
818
819
|
#
|
|
819
820
|
# After you create a service using the `ECS` deployment controller, the
|
|
820
821
|
# load balancer name or target group ARN, container name, and container
|
|
@@ -880,12 +881,12 @@ module Aws::ECS
|
|
|
880
881
|
# see [Amazon ECS launch types][1] in the *Amazon Elastic Container
|
|
881
882
|
# Service Developer Guide*.
|
|
882
883
|
#
|
|
883
|
-
# The `FARGATE` launch type runs your tasks on
|
|
884
|
+
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
884
885
|
# infrastructure.
|
|
885
886
|
#
|
|
886
887
|
# <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
|
|
887
|
-
# provider strategy must be used. For more information, see [
|
|
888
|
-
# capacity providers][2] in the *Amazon ECS User Guide for
|
|
888
|
+
# provider strategy must be used. For more information, see [Fargate
|
|
889
|
+
# capacity providers][2] in the *Amazon ECS User Guide for Fargate*.
|
|
889
890
|
#
|
|
890
891
|
# </note>
|
|
891
892
|
#
|
|
@@ -912,13 +913,15 @@ module Aws::ECS
|
|
|
912
913
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
913
914
|
# the cluster is used.
|
|
914
915
|
#
|
|
916
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
|
917
|
+
# providers.
|
|
918
|
+
#
|
|
915
919
|
# @option params [String] :platform_version
|
|
916
920
|
# The platform version that your tasks in the service are running on. A
|
|
917
921
|
# platform version is specified only for tasks using the Fargate launch
|
|
918
922
|
# type. If one isn't specified, the `LATEST` platform version is used
|
|
919
|
-
# by default. For more information, see [
|
|
920
|
-
#
|
|
921
|
-
# Guide*.
|
|
923
|
+
# by default. For more information, see [Fargate platform versions][1]
|
|
924
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
|
922
925
|
#
|
|
923
926
|
#
|
|
924
927
|
#
|
|
@@ -966,7 +969,7 @@ module Aws::ECS
|
|
|
966
969
|
#
|
|
967
970
|
# @option params [Array<Types::PlacementStrategy>] :placement_strategy
|
|
968
971
|
# The placement strategy objects to use for tasks in your service. You
|
|
969
|
-
# can specify a maximum of
|
|
972
|
+
# can specify a maximum of 5 strategy rules per service.
|
|
970
973
|
#
|
|
971
974
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
|
972
975
|
# The network configuration for the service. This parameter is required
|
|
@@ -1056,10 +1059,10 @@ module Aws::ECS
|
|
|
1056
1059
|
# * Tag keys and values are case-sensitive.
|
|
1057
1060
|
#
|
|
1058
1061
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
1059
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
1060
|
-
# use. You cannot edit or delete tag keys or
|
|
1061
|
-
# Tags with this prefix do not count against
|
|
1062
|
-
# limit.
|
|
1062
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
1063
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
1064
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
1065
|
+
# your tags per resource limit.
|
|
1063
1066
|
#
|
|
1064
1067
|
# @option params [Boolean] :enable_ecs_managed_tags
|
|
1065
1068
|
# Specifies whether to enable Amazon ECS managed tags for the tasks
|
|
@@ -1435,7 +1438,7 @@ module Aws::ECS
|
|
|
1435
1438
|
# An optional non-unique tag that identifies this task set in external
|
|
1436
1439
|
# systems. If the task set is associated with a service discovery
|
|
1437
1440
|
# registry, the tasks in this task set will have the
|
|
1438
|
-
# `ECS_TASK_SET_EXTERNAL_ID`
|
|
1441
|
+
# `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute set to the provided
|
|
1439
1442
|
# value.
|
|
1440
1443
|
#
|
|
1441
1444
|
# @option params [required, String] :task_definition
|
|
@@ -1488,10 +1491,10 @@ module Aws::ECS
|
|
|
1488
1491
|
# capacity provider must already be created. New capacity providers can
|
|
1489
1492
|
# be created with the CreateCapacityProvider API operation.
|
|
1490
1493
|
#
|
|
1491
|
-
# To use a
|
|
1492
|
-
#
|
|
1493
|
-
#
|
|
1494
|
-
#
|
|
1494
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
1495
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
1496
|
+
# available to all accounts and only need to be associated with a
|
|
1497
|
+
# cluster to be used.
|
|
1495
1498
|
#
|
|
1496
1499
|
# The PutClusterCapacityProviders API operation is used to update the
|
|
1497
1500
|
# list of available capacity providers for a cluster after the cluster
|
|
@@ -1537,10 +1540,10 @@ module Aws::ECS
|
|
|
1537
1540
|
# * Tag keys and values are case-sensitive.
|
|
1538
1541
|
#
|
|
1539
1542
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
1540
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
1541
|
-
# use. You cannot edit or delete tag keys or
|
|
1542
|
-
# Tags with this prefix do not count against
|
|
1543
|
-
# limit.
|
|
1543
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
1544
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
1545
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
1546
|
+
# your tags per resource limit.
|
|
1544
1547
|
#
|
|
1545
1548
|
# @return [Types::CreateTaskSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1546
1549
|
#
|
|
@@ -2252,9 +2255,9 @@ module Aws::ECS
|
|
|
2252
2255
|
# @option params [required, String] :container_instance
|
|
2253
2256
|
# The container instance ID or full ARN of the container instance to
|
|
2254
2257
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
|
|
2255
|
-
# the Region of the container instance, the
|
|
2256
|
-
# container instance owner, the `container-instance`
|
|
2257
|
-
# the container instance ID. For example,
|
|
2258
|
+
# the Region of the container instance, the Amazon Web Services account
|
|
2259
|
+
# ID of the container instance owner, the `container-instance`
|
|
2260
|
+
# namespace, and then the container instance ID. For example,
|
|
2258
2261
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
|
2259
2262
|
#
|
|
2260
2263
|
# @option params [Boolean] :force
|
|
@@ -2661,6 +2664,9 @@ module Aws::ECS
|
|
|
2661
2664
|
#
|
|
2662
2665
|
# If `SETTINGS` is specified, the settings for the cluster are included.
|
|
2663
2666
|
#
|
|
2667
|
+
# If `CONFIGURATIONS` is specified, the configuration for the cluster is
|
|
2668
|
+
# included.
|
|
2669
|
+
#
|
|
2664
2670
|
# If `STATISTICS` is specified, the task and service count is included,
|
|
2665
2671
|
# separated by launch type.
|
|
2666
2672
|
#
|
|
@@ -3746,9 +3752,9 @@ module Aws::ECS
|
|
|
3746
3752
|
# @option params [String] :container_instance
|
|
3747
3753
|
# The container instance ID or full ARN of the container instance. The
|
|
3748
3754
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
|
3749
|
-
# the container instance, the
|
|
3750
|
-
# owner, the `container-instance` namespace, and then
|
|
3751
|
-
# instance ID. For example,
|
|
3755
|
+
# the container instance, the Amazon Web Services account ID of the
|
|
3756
|
+
# container instance owner, the `container-instance` namespace, and then
|
|
3757
|
+
# the container instance ID. For example,
|
|
3752
3758
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
|
3753
3759
|
#
|
|
3754
3760
|
# @option params [String] :cluster
|
|
@@ -5047,10 +5053,10 @@ module Aws::ECS
|
|
|
5047
5053
|
# capacity provider must already be created. New capacity providers can
|
|
5048
5054
|
# be created with the CreateCapacityProvider API operation.
|
|
5049
5055
|
#
|
|
5050
|
-
# To use a
|
|
5051
|
-
#
|
|
5052
|
-
#
|
|
5053
|
-
#
|
|
5056
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
5057
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
5058
|
+
# available to all accounts and only need to be associated with a
|
|
5059
|
+
# cluster to be used.
|
|
5054
5060
|
#
|
|
5055
5061
|
# @option params [required, Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
|
|
5056
5062
|
# The capacity provider strategy to use by default for the cluster.
|
|
@@ -5070,10 +5076,10 @@ module Aws::ECS
|
|
|
5070
5076
|
# capacity provider must already be created. New capacity providers can
|
|
5071
5077
|
# be created with the CreateCapacityProvider API operation.
|
|
5072
5078
|
#
|
|
5073
|
-
# To use a
|
|
5074
|
-
#
|
|
5075
|
-
#
|
|
5076
|
-
#
|
|
5079
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
5080
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
5081
|
+
# available to all accounts and only need to be associated with a
|
|
5082
|
+
# cluster to be used.
|
|
5077
5083
|
#
|
|
5078
5084
|
# @return [Types::PutClusterCapacityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5079
5085
|
#
|
|
@@ -5210,10 +5216,10 @@ module Aws::ECS
|
|
|
5210
5216
|
# * Tag keys and values are case-sensitive.
|
|
5211
5217
|
#
|
|
5212
5218
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
5213
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
5214
|
-
# use. You cannot edit or delete tag keys or
|
|
5215
|
-
# Tags with this prefix do not count against
|
|
5216
|
-
# limit.
|
|
5219
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
5220
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
5221
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
5222
|
+
# your tags per resource limit.
|
|
5217
5223
|
#
|
|
5218
5224
|
# @return [Types::RegisterContainerInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5219
5225
|
#
|
|
@@ -5329,10 +5335,11 @@ module Aws::ECS
|
|
|
5329
5335
|
#
|
|
5330
5336
|
# You can specify an IAM role for your task with the `taskRoleArn`
|
|
5331
5337
|
# parameter. When you specify an IAM role for a task, its containers can
|
|
5332
|
-
# then use the latest versions of the
|
|
5333
|
-
#
|
|
5334
|
-
# associated with the role. For more information, see [IAM Roles
|
|
5335
|
-
# Tasks][2] in the *Amazon Elastic Container Service Developer
|
|
5338
|
+
# then use the latest versions of the CLI or SDKs to make API requests
|
|
5339
|
+
# to the Amazon Web Services services that are specified in the IAM
|
|
5340
|
+
# policy associated with the role. For more information, see [IAM Roles
|
|
5341
|
+
# for Tasks][2] in the *Amazon Elastic Container Service Developer
|
|
5342
|
+
# Guide*.
|
|
5336
5343
|
#
|
|
5337
5344
|
# You can specify a Docker networking mode for the containers in your
|
|
5338
5345
|
# task definition with the `networkMode` parameter. The available
|
|
@@ -5370,11 +5377,11 @@ module Aws::ECS
|
|
|
5370
5377
|
#
|
|
5371
5378
|
# @option params [String] :execution_role_arn
|
|
5372
5379
|
# The Amazon Resource Name (ARN) of the task execution role that grants
|
|
5373
|
-
# the Amazon ECS container agent permission to make
|
|
5374
|
-
# your behalf. The task execution IAM role is required
|
|
5375
|
-
# requirements of your task. For more information, see
|
|
5376
|
-
# execution IAM role][1] in the *Amazon Elastic
|
|
5377
|
-
# Developer Guide*.
|
|
5380
|
+
# the Amazon ECS container agent permission to make Amazon Web Services
|
|
5381
|
+
# API calls on your behalf. The task execution IAM role is required
|
|
5382
|
+
# depending on the requirements of your task. For more information, see
|
|
5383
|
+
# [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
|
|
5384
|
+
# Container Service Developer Guide*.
|
|
5378
5385
|
#
|
|
5379
5386
|
#
|
|
5380
5387
|
#
|
|
@@ -5386,13 +5393,15 @@ module Aws::ECS
|
|
|
5386
5393
|
# mode is specified, the default is `bridge`.
|
|
5387
5394
|
#
|
|
5388
5395
|
# For Amazon ECS tasks on Fargate, the `awsvpc` network mode is
|
|
5389
|
-
# required. For Amazon ECS tasks on Amazon EC2 instances, any
|
|
5390
|
-
# mode can be used.
|
|
5391
|
-
#
|
|
5392
|
-
#
|
|
5393
|
-
#
|
|
5394
|
-
#
|
|
5395
|
-
#
|
|
5396
|
+
# required. For Amazon ECS tasks on Amazon EC2 Linux instances, any
|
|
5397
|
+
# network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows
|
|
5398
|
+
# instances, `<default>` or `awsvpc` can be used. If the network mode is
|
|
5399
|
+
# set to `none`, you cannot specify port mappings in your container
|
|
5400
|
+
# definitions, and the tasks containers do not have external
|
|
5401
|
+
# connectivity. The `host` and `awsvpc` network modes offer the highest
|
|
5402
|
+
# networking performance for containers because they use the EC2 network
|
|
5403
|
+
# stack instead of the virtualized network stack provided by the
|
|
5404
|
+
# `bridge` mode.
|
|
5396
5405
|
#
|
|
5397
5406
|
# With the `host` and `awsvpc` network modes, exposed container ports
|
|
5398
5407
|
# are mapped directly to the corresponding host port (for the `host`
|
|
@@ -5410,22 +5419,10 @@ module Aws::ECS
|
|
|
5410
5419
|
# more information, see [Task Networking][1] in the *Amazon Elastic
|
|
5411
5420
|
# Container Service Developer Guide*.
|
|
5412
5421
|
#
|
|
5413
|
-
# <note markdown="1"> Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants
|
|
5414
|
-
# with the `ecs-init` package, or AWS Fargate infrastructure support the
|
|
5415
|
-
# `awsvpc` network mode.
|
|
5416
|
-
#
|
|
5417
|
-
# </note>
|
|
5418
|
-
#
|
|
5419
5422
|
# If the network mode is `host`, you cannot run multiple instantiations
|
|
5420
5423
|
# of the same task on a single container instance when port mappings are
|
|
5421
5424
|
# used.
|
|
5422
5425
|
#
|
|
5423
|
-
# Docker for Windows uses different network modes than Docker for Linux.
|
|
5424
|
-
# When you register a task definition with Windows containers, you must
|
|
5425
|
-
# not specify a network mode. If you use the console to register a task
|
|
5426
|
-
# definition with Windows containers, you must choose the `<default>`
|
|
5427
|
-
# network mode object.
|
|
5428
|
-
#
|
|
5429
5426
|
# For more information, see [Network settings][2] in the *Docker run
|
|
5430
5427
|
# reference*.
|
|
5431
5428
|
#
|
|
@@ -5548,10 +5545,10 @@ module Aws::ECS
|
|
|
5548
5545
|
# * Tag keys and values are case-sensitive.
|
|
5549
5546
|
#
|
|
5550
5547
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
5551
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
5552
|
-
# use. You cannot edit or delete tag keys or
|
|
5553
|
-
# Tags with this prefix do not count against
|
|
5554
|
-
# limit.
|
|
5548
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
5549
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
5550
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
5551
|
+
# your tags per resource limit.
|
|
5555
5552
|
#
|
|
5556
5553
|
# @option params [String] :pid_mode
|
|
5557
5554
|
# The process namespace to use for the containers in the task. The valid
|
|
@@ -5568,7 +5565,7 @@ module Aws::ECS
|
|
|
5568
5565
|
# [Docker security][2].
|
|
5569
5566
|
#
|
|
5570
5567
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
|
|
5571
|
-
#
|
|
5568
|
+
# Fargate.
|
|
5572
5569
|
#
|
|
5573
5570
|
# </note>
|
|
5574
5571
|
#
|
|
@@ -5607,7 +5604,7 @@ module Aws::ECS
|
|
|
5607
5604
|
# `systemControls` will apply to all containers within a task.
|
|
5608
5605
|
#
|
|
5609
5606
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
|
|
5610
|
-
#
|
|
5607
|
+
# Fargate.
|
|
5611
5608
|
#
|
|
5612
5609
|
# </note>
|
|
5613
5610
|
#
|
|
@@ -5640,11 +5637,11 @@ module Aws::ECS
|
|
|
5640
5637
|
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
|
5641
5638
|
# The amount of ephemeral storage to allocate for the task. This
|
|
5642
5639
|
# parameter is used to expand the total amount of ephemeral storage
|
|
5643
|
-
# available, beyond the default amount, for tasks hosted on
|
|
5644
|
-
#
|
|
5645
|
-
# User Guide for
|
|
5640
|
+
# available, beyond the default amount, for tasks hosted on Fargate. For
|
|
5641
|
+
# more information, see [Fargate task storage][1] in the *Amazon ECS
|
|
5642
|
+
# User Guide for Fargate*.
|
|
5646
5643
|
#
|
|
5647
|
-
# <note markdown="1"> This parameter is only supported for tasks hosted on
|
|
5644
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
|
5648
5645
|
# platform version `1.4.0` or later.
|
|
5649
5646
|
#
|
|
5650
5647
|
# </note>
|
|
@@ -6162,6 +6159,12 @@ module Aws::ECS
|
|
|
6162
6159
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
6163
6160
|
# the cluster is used.
|
|
6164
6161
|
#
|
|
6162
|
+
# When you use cluster auto scaling, you must specify
|
|
6163
|
+
# `capacityProviderStrategy` and not `launchType`.
|
|
6164
|
+
#
|
|
6165
|
+
# A capacity provider strategy may contain a maximum of 6 capacity
|
|
6166
|
+
# providers.
|
|
6167
|
+
#
|
|
6165
6168
|
# @option params [String] :cluster
|
|
6166
6169
|
# The short name or full Amazon Resource Name (ARN) of the cluster on
|
|
6167
6170
|
# which to run your task. If you do not specify a cluster, the default
|
|
@@ -6188,19 +6191,19 @@ module Aws::ECS
|
|
|
6188
6191
|
# @option params [String] :group
|
|
6189
6192
|
# The name of the task group to associate with the task. The default
|
|
6190
6193
|
# value is the family name of the task definition (for example,
|
|
6191
|
-
# family:my-family-name).
|
|
6194
|
+
# `family:my-family-name`).
|
|
6192
6195
|
#
|
|
6193
6196
|
# @option params [String] :launch_type
|
|
6194
6197
|
# The infrastructure on which to run your standalone task. For more
|
|
6195
6198
|
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
|
6196
6199
|
# Container Service Developer Guide*.
|
|
6197
6200
|
#
|
|
6198
|
-
# The `FARGATE` launch type runs your tasks on
|
|
6201
|
+
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
6199
6202
|
# infrastructure.
|
|
6200
6203
|
#
|
|
6201
6204
|
# <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
|
|
6202
|
-
# provider strategy must be used. For more information, see [
|
|
6203
|
-
# capacity providers][2] in the *Amazon ECS User Guide for
|
|
6205
|
+
# provider strategy must be used. For more information, see [Fargate
|
|
6206
|
+
# capacity providers][2] in the *Amazon ECS User Guide for Fargate*.
|
|
6204
6207
|
#
|
|
6205
6208
|
# </note>
|
|
6206
6209
|
#
|
|
@@ -6214,6 +6217,9 @@ module Aws::ECS
|
|
|
6214
6217
|
# If a `launchType` is specified, the `capacityProviderStrategy`
|
|
6215
6218
|
# parameter must be omitted.
|
|
6216
6219
|
#
|
|
6220
|
+
# When you use cluster auto scaling, you must specify
|
|
6221
|
+
# `capacityProviderStrategy` and not `launchType`.
|
|
6222
|
+
#
|
|
6217
6223
|
#
|
|
6218
6224
|
#
|
|
6219
6225
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
|
@@ -6223,7 +6229,7 @@ module Aws::ECS
|
|
|
6223
6229
|
# The network configuration for the task. This parameter is required for
|
|
6224
6230
|
# task definitions that use the `awsvpc` network mode to receive their
|
|
6225
6231
|
# own elastic network interface, and it is not supported for other
|
|
6226
|
-
# network modes. For more information, see [Task
|
|
6232
|
+
# network modes. For more information, see [Task networking][1] in the
|
|
6227
6233
|
# *Amazon Elastic Container Service Developer Guide*.
|
|
6228
6234
|
#
|
|
6229
6235
|
#
|
|
@@ -6240,11 +6246,9 @@ module Aws::ECS
|
|
|
6240
6246
|
# on a container or add new environment variables to it with an
|
|
6241
6247
|
# `environment` override.
|
|
6242
6248
|
#
|
|
6243
|
-
#
|
|
6249
|
+
# A total of 8192 characters are allowed for overrides. This limit
|
|
6244
6250
|
# includes the JSON formatting characters of the override structure.
|
|
6245
6251
|
#
|
|
6246
|
-
# </note>
|
|
6247
|
-
#
|
|
6248
6252
|
# @option params [Array<Types::PlacementConstraint>] :placement_constraints
|
|
6249
6253
|
# An array of placement constraint objects to use for the task. You can
|
|
6250
6254
|
# specify up to 10 constraints per task (including constraints in the
|
|
@@ -6252,14 +6256,14 @@ module Aws::ECS
|
|
|
6252
6256
|
#
|
|
6253
6257
|
# @option params [Array<Types::PlacementStrategy>] :placement_strategy
|
|
6254
6258
|
# The placement strategy objects to use for the task. You can specify a
|
|
6255
|
-
# maximum of
|
|
6259
|
+
# maximum of 5 strategy rules per task.
|
|
6256
6260
|
#
|
|
6257
6261
|
# @option params [String] :platform_version
|
|
6258
|
-
# The platform version the task should
|
|
6259
|
-
# specified for tasks
|
|
6260
|
-
#
|
|
6261
|
-
#
|
|
6262
|
-
#
|
|
6262
|
+
# The platform version the task should use. A platform version is only
|
|
6263
|
+
# specified for tasks hosted on Fargate. If one is not specified, the
|
|
6264
|
+
# `LATEST` platform version is used by default. For more information,
|
|
6265
|
+
# see [Fargate platform versions][1] in the *Amazon Elastic Container
|
|
6266
|
+
# Service Developer Guide*.
|
|
6263
6267
|
#
|
|
6264
6268
|
#
|
|
6265
6269
|
#
|
|
@@ -6277,7 +6281,8 @@ module Aws::ECS
|
|
|
6277
6281
|
# </note>
|
|
6278
6282
|
#
|
|
6279
6283
|
# @option params [String] :reference_id
|
|
6280
|
-
# The reference ID to use for the task.
|
|
6284
|
+
# The reference ID to use for the task. The reference ID can have a
|
|
6285
|
+
# maximum length of 1024 characters.
|
|
6281
6286
|
#
|
|
6282
6287
|
# @option params [String] :started_by
|
|
6283
6288
|
# An optional tag specified when a task is started. For example, if you
|
|
@@ -6316,10 +6321,10 @@ module Aws::ECS
|
|
|
6316
6321
|
# * Tag keys and values are case-sensitive.
|
|
6317
6322
|
#
|
|
6318
6323
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
6319
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
6320
|
-
# use. You cannot edit or delete tag keys or
|
|
6321
|
-
# Tags with this prefix do not count against
|
|
6322
|
-
# limit.
|
|
6324
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
6325
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
6326
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
6327
|
+
# your tags per resource limit.
|
|
6323
6328
|
#
|
|
6324
6329
|
# @option params [required, String] :task_definition
|
|
6325
6330
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
|
@@ -6682,10 +6687,10 @@ module Aws::ECS
|
|
|
6682
6687
|
# * Tag keys and values are case-sensitive.
|
|
6683
6688
|
#
|
|
6684
6689
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
6685
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
6686
|
-
# use. You cannot edit or delete tag keys or
|
|
6687
|
-
# Tags with this prefix do not count against
|
|
6688
|
-
# limit.
|
|
6690
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
6691
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
6692
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
6693
|
+
# your tags per resource limit.
|
|
6689
6694
|
#
|
|
6690
6695
|
# @option params [required, String] :task_definition
|
|
6691
6696
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
|
@@ -7289,10 +7294,10 @@ module Aws::ECS
|
|
|
7289
7294
|
# * Tag keys and values are case-sensitive.
|
|
7290
7295
|
#
|
|
7291
7296
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
7292
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
7293
|
-
# use. You cannot edit or delete tag keys or
|
|
7294
|
-
# Tags with this prefix do not count against
|
|
7295
|
-
# limit.
|
|
7297
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
7298
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
7299
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
7300
|
+
# your tags per resource limit.
|
|
7296
7301
|
#
|
|
7297
7302
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
7298
7303
|
#
|
|
@@ -7871,9 +7876,9 @@ module Aws::ECS
|
|
|
7871
7876
|
# controller, only the desired count, deployment configuration, task
|
|
7872
7877
|
# placement constraints and strategies, and health check grace period
|
|
7873
7878
|
# can be updated using this API. If the network configuration, platform
|
|
7874
|
-
# version, or task definition need to be updated, a new
|
|
7879
|
+
# version, or task definition need to be updated, a new CodeDeploy
|
|
7875
7880
|
# deployment should be created. For more information, see
|
|
7876
|
-
# [CreateDeployment][2] in the *
|
|
7881
|
+
# [CreateDeployment][2] in the *CodeDeploy API Reference*.
|
|
7877
7882
|
#
|
|
7878
7883
|
# For services using an external deployment controller, you can update
|
|
7879
7884
|
# only the desired count, task placement constraints and strategies, and
|
|
@@ -8014,10 +8019,10 @@ module Aws::ECS
|
|
|
8014
8019
|
# capacity provider must already be created. New capacity providers can
|
|
8015
8020
|
# be created with the CreateCapacityProvider API operation.
|
|
8016
8021
|
#
|
|
8017
|
-
# To use a
|
|
8018
|
-
#
|
|
8019
|
-
#
|
|
8020
|
-
#
|
|
8022
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
8023
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
8024
|
+
# available to all accounts and only need to be associated with a
|
|
8025
|
+
# cluster to be used.
|
|
8021
8026
|
#
|
|
8022
8027
|
# The PutClusterCapacityProviders API operation is used to update the
|
|
8023
8028
|
# list of available capacity providers for a cluster after the cluster
|
|
@@ -8054,7 +8059,7 @@ module Aws::ECS
|
|
|
8054
8059
|
# The platform version on which your tasks in the service are running. A
|
|
8055
8060
|
# platform version is only specified for tasks using the Fargate launch
|
|
8056
8061
|
# type. If a platform version is not specified, the `LATEST` platform
|
|
8057
|
-
# version is used by default. For more information, see [
|
|
8062
|
+
# version is used by default. For more information, see [Fargate
|
|
8058
8063
|
# Platform Versions][1] in the *Amazon Elastic Container Service
|
|
8059
8064
|
# Developer Guide*.
|
|
8060
8065
|
#
|
|
@@ -8494,7 +8499,7 @@ module Aws::ECS
|
|
|
8494
8499
|
params: params,
|
|
8495
8500
|
config: config)
|
|
8496
8501
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
8497
|
-
context[:gem_version] = '1.
|
|
8502
|
+
context[:gem_version] = '1.84.0'
|
|
8498
8503
|
Seahorse::Client::Request.new(handlers, context)
|
|
8499
8504
|
end
|
|
8500
8505
|
|