aws-sdk-ecs 1.79.0 → 1.83.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 +128 -149
- data/lib/aws-sdk-ecs/types.rb +248 -279
- 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: ab404640a1f150e494084151eb4d45b04c5fa4f9e287fa64f6a123606a731d09
|
|
4
|
+
data.tar.gz: ad558d877ffd8019b0dde90c009fb240a6df18d830113e3c264dac2a5dfa5d35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 760f45efe302f6c912220c13b7dbd4cddabd545067e2554dc0534b863ff8dfc83a11a47872b2d9d36f64b473bfbc12e9ff7f7912304b541d2e851aa906519b37
|
|
7
|
+
data.tar.gz: 0fae3b5ba47b9fedc758b70d57e57532c164ee119b5f65e678aa501abcb7a430ed3ffe89fb27040d0b461f95c1b91a81e5feb758c21443294f4a5e1d78d4fac1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.83.0 (2021-07-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.82.0 (2021-07-28)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.81.0 (2021-07-15)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Documentation updates for support of awsvpc mode on Windows.
|
|
18
|
+
|
|
19
|
+
1.80.0 (2021-06-02)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Documentation updates for Amazon ECS.
|
|
23
|
+
|
|
4
24
|
1.79.0 (2021-05-26)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.83.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
|
|
@@ -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
|
#
|
|
@@ -916,9 +917,8 @@ module Aws::ECS
|
|
|
916
917
|
# The platform version that your tasks in the service are running on. A
|
|
917
918
|
# platform version is specified only for tasks using the Fargate launch
|
|
918
919
|
# type. If one isn't specified, the `LATEST` platform version is used
|
|
919
|
-
# by default. For more information, see [
|
|
920
|
-
#
|
|
921
|
-
# Guide*.
|
|
920
|
+
# by default. For more information, see [Fargate platform versions][1]
|
|
921
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
|
922
922
|
#
|
|
923
923
|
#
|
|
924
924
|
#
|
|
@@ -1056,10 +1056,10 @@ module Aws::ECS
|
|
|
1056
1056
|
# * Tag keys and values are case-sensitive.
|
|
1057
1057
|
#
|
|
1058
1058
|
# * 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.
|
|
1059
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
1060
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
1061
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
1062
|
+
# your tags per resource limit.
|
|
1063
1063
|
#
|
|
1064
1064
|
# @option params [Boolean] :enable_ecs_managed_tags
|
|
1065
1065
|
# Specifies whether to enable Amazon ECS managed tags for the tasks
|
|
@@ -1435,7 +1435,7 @@ module Aws::ECS
|
|
|
1435
1435
|
# An optional non-unique tag that identifies this task set in external
|
|
1436
1436
|
# systems. If the task set is associated with a service discovery
|
|
1437
1437
|
# registry, the tasks in this task set will have the
|
|
1438
|
-
# `ECS_TASK_SET_EXTERNAL_ID`
|
|
1438
|
+
# `ECS_TASK_SET_EXTERNAL_ID` Cloud Map attribute set to the provided
|
|
1439
1439
|
# value.
|
|
1440
1440
|
#
|
|
1441
1441
|
# @option params [required, String] :task_definition
|
|
@@ -1488,10 +1488,10 @@ module Aws::ECS
|
|
|
1488
1488
|
# capacity provider must already be created. New capacity providers can
|
|
1489
1489
|
# be created with the CreateCapacityProvider API operation.
|
|
1490
1490
|
#
|
|
1491
|
-
# To use a
|
|
1492
|
-
#
|
|
1493
|
-
#
|
|
1494
|
-
#
|
|
1491
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
1492
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
1493
|
+
# available to all accounts and only need to be associated with a
|
|
1494
|
+
# cluster to be used.
|
|
1495
1495
|
#
|
|
1496
1496
|
# The PutClusterCapacityProviders API operation is used to update the
|
|
1497
1497
|
# list of available capacity providers for a cluster after the cluster
|
|
@@ -1537,10 +1537,10 @@ module Aws::ECS
|
|
|
1537
1537
|
# * Tag keys and values are case-sensitive.
|
|
1538
1538
|
#
|
|
1539
1539
|
# * 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.
|
|
1540
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
1541
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
1542
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
1543
|
+
# your tags per resource limit.
|
|
1544
1544
|
#
|
|
1545
1545
|
# @return [Types::CreateTaskSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1546
1546
|
#
|
|
@@ -2252,9 +2252,9 @@ module Aws::ECS
|
|
|
2252
2252
|
# @option params [required, String] :container_instance
|
|
2253
2253
|
# The container instance ID or full ARN of the container instance to
|
|
2254
2254
|
# deregister. The ARN contains the `arn:aws:ecs` namespace, followed by
|
|
2255
|
-
# the Region of the container instance, the
|
|
2256
|
-
#
|
|
2257
|
-
#
|
|
2255
|
+
# the Region of the container instance, the account ID of the container
|
|
2256
|
+
# instance owner, the `container-instance` namespace, and then the
|
|
2257
|
+
# container instance ID. For example,
|
|
2258
2258
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
|
2259
2259
|
#
|
|
2260
2260
|
# @option params [Boolean] :force
|
|
@@ -2653,33 +2653,16 @@ module Aws::ECS
|
|
|
2653
2653
|
# assumed.
|
|
2654
2654
|
#
|
|
2655
2655
|
# @option params [Array<String>] :include
|
|
2656
|
-
# Whether to include additional information about
|
|
2657
|
-
# response. If this field is omitted,
|
|
2658
|
-
# tags are not included.
|
|
2656
|
+
# Whether to include additional information about the clusters in the
|
|
2657
|
+
# response. If this field is omitted, this information isn't included.
|
|
2659
2658
|
#
|
|
2660
2659
|
# If `ATTACHMENTS` is specified, the attachments for the container
|
|
2661
2660
|
# instances or tasks within the cluster are included.
|
|
2662
2661
|
#
|
|
2663
2662
|
# If `SETTINGS` is specified, the settings for the cluster are included.
|
|
2664
2663
|
#
|
|
2665
|
-
# If `STATISTICS` is specified, the
|
|
2666
|
-
# separated by launch type
|
|
2667
|
-
#
|
|
2668
|
-
# * runningEC2TasksCount
|
|
2669
|
-
#
|
|
2670
|
-
# * runningFargateTasksCount
|
|
2671
|
-
#
|
|
2672
|
-
# * pendingEC2TasksCount
|
|
2673
|
-
#
|
|
2674
|
-
# * pendingFargateTasksCount
|
|
2675
|
-
#
|
|
2676
|
-
# * activeEC2ServiceCount
|
|
2677
|
-
#
|
|
2678
|
-
# * activeFargateServiceCount
|
|
2679
|
-
#
|
|
2680
|
-
# * drainingEC2ServiceCount
|
|
2681
|
-
#
|
|
2682
|
-
# * drainingFargateServiceCount
|
|
2664
|
+
# If `STATISTICS` is specified, the task and service count is included,
|
|
2665
|
+
# separated by launch type.
|
|
2683
2666
|
#
|
|
2684
2667
|
# If `TAGS` is specified, the metadata tags associated with the cluster
|
|
2685
2668
|
# are included.
|
|
@@ -2774,8 +2757,7 @@ module Aws::ECS
|
|
|
2774
2757
|
req.send_request(options)
|
|
2775
2758
|
end
|
|
2776
2759
|
|
|
2777
|
-
# Describes
|
|
2778
|
-
# Returns metadata about registered and remaining resources on each
|
|
2760
|
+
# Describes one or more container instances. Returns metadata about each
|
|
2779
2761
|
# container instance requested.
|
|
2780
2762
|
#
|
|
2781
2763
|
# @option params [String] :cluster
|
|
@@ -3764,7 +3746,7 @@ module Aws::ECS
|
|
|
3764
3746
|
# @option params [String] :container_instance
|
|
3765
3747
|
# The container instance ID or full ARN of the container instance. The
|
|
3766
3748
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
|
3767
|
-
# the container instance, the
|
|
3749
|
+
# the container instance, the account ID of the container instance
|
|
3768
3750
|
# owner, the `container-instance` namespace, and then the container
|
|
3769
3751
|
# instance ID. For example,
|
|
3770
3752
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
|
@@ -5065,10 +5047,10 @@ module Aws::ECS
|
|
|
5065
5047
|
# capacity provider must already be created. New capacity providers can
|
|
5066
5048
|
# be created with the CreateCapacityProvider API operation.
|
|
5067
5049
|
#
|
|
5068
|
-
# To use a
|
|
5069
|
-
#
|
|
5070
|
-
#
|
|
5071
|
-
#
|
|
5050
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
5051
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
5052
|
+
# available to all accounts and only need to be associated with a
|
|
5053
|
+
# cluster to be used.
|
|
5072
5054
|
#
|
|
5073
5055
|
# @option params [required, Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
|
|
5074
5056
|
# The capacity provider strategy to use by default for the cluster.
|
|
@@ -5088,10 +5070,10 @@ module Aws::ECS
|
|
|
5088
5070
|
# capacity provider must already be created. New capacity providers can
|
|
5089
5071
|
# be created with the CreateCapacityProvider API operation.
|
|
5090
5072
|
#
|
|
5091
|
-
# To use a
|
|
5092
|
-
#
|
|
5093
|
-
#
|
|
5094
|
-
#
|
|
5073
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
5074
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
5075
|
+
# available to all accounts and only need to be associated with a
|
|
5076
|
+
# cluster to be used.
|
|
5095
5077
|
#
|
|
5096
5078
|
# @return [Types::PutClusterCapacityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5097
5079
|
#
|
|
@@ -5228,10 +5210,10 @@ module Aws::ECS
|
|
|
5228
5210
|
# * Tag keys and values are case-sensitive.
|
|
5229
5211
|
#
|
|
5230
5212
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
5231
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
5232
|
-
# use. You cannot edit or delete tag keys or
|
|
5233
|
-
# Tags with this prefix do not count against
|
|
5234
|
-
# limit.
|
|
5213
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
5214
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
5215
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
5216
|
+
# your tags per resource limit.
|
|
5235
5217
|
#
|
|
5236
5218
|
# @return [Types::RegisterContainerInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5237
5219
|
#
|
|
@@ -5347,10 +5329,11 @@ module Aws::ECS
|
|
|
5347
5329
|
#
|
|
5348
5330
|
# You can specify an IAM role for your task with the `taskRoleArn`
|
|
5349
5331
|
# parameter. When you specify an IAM role for a task, its containers can
|
|
5350
|
-
# then use the latest versions of the
|
|
5351
|
-
#
|
|
5352
|
-
# associated with the role. For more information, see [IAM Roles
|
|
5353
|
-
# Tasks][2] in the *Amazon Elastic Container Service Developer
|
|
5332
|
+
# then use the latest versions of the CLI or SDKs to make API requests
|
|
5333
|
+
# to the Amazon Web Services services that are specified in the IAM
|
|
5334
|
+
# policy associated with the role. For more information, see [IAM Roles
|
|
5335
|
+
# for Tasks][2] in the *Amazon Elastic Container Service Developer
|
|
5336
|
+
# Guide*.
|
|
5354
5337
|
#
|
|
5355
5338
|
# You can specify a Docker networking mode for the containers in your
|
|
5356
5339
|
# task definition with the `networkMode` parameter. The available
|
|
@@ -5388,11 +5371,11 @@ module Aws::ECS
|
|
|
5388
5371
|
#
|
|
5389
5372
|
# @option params [String] :execution_role_arn
|
|
5390
5373
|
# The Amazon Resource Name (ARN) of the task execution role that grants
|
|
5391
|
-
# the Amazon ECS container agent permission to make
|
|
5392
|
-
# your behalf. The task execution IAM role is required
|
|
5393
|
-
# requirements of your task. For more information, see
|
|
5394
|
-
# execution IAM role][1] in the *Amazon Elastic
|
|
5395
|
-
# Developer Guide*.
|
|
5374
|
+
# the Amazon ECS container agent permission to make Amazon Web Services
|
|
5375
|
+
# API calls on your behalf. The task execution IAM role is required
|
|
5376
|
+
# depending on the requirements of your task. For more information, see
|
|
5377
|
+
# [Amazon ECS task execution IAM role][1] in the *Amazon Elastic
|
|
5378
|
+
# Container Service Developer Guide*.
|
|
5396
5379
|
#
|
|
5397
5380
|
#
|
|
5398
5381
|
#
|
|
@@ -5404,13 +5387,15 @@ module Aws::ECS
|
|
|
5404
5387
|
# mode is specified, the default is `bridge`.
|
|
5405
5388
|
#
|
|
5406
5389
|
# For Amazon ECS tasks on Fargate, the `awsvpc` network mode is
|
|
5407
|
-
# required. For Amazon ECS tasks on Amazon EC2 instances, any
|
|
5408
|
-
# mode can be used.
|
|
5409
|
-
#
|
|
5410
|
-
#
|
|
5411
|
-
#
|
|
5412
|
-
#
|
|
5413
|
-
#
|
|
5390
|
+
# required. For Amazon ECS tasks on Amazon EC2 Linux instances, any
|
|
5391
|
+
# network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows
|
|
5392
|
+
# instances, `<default>` or `awsvpc` can be used. If the network mode is
|
|
5393
|
+
# set to `none`, you cannot specify port mappings in your container
|
|
5394
|
+
# definitions, and the tasks containers do not have external
|
|
5395
|
+
# connectivity. The `host` and `awsvpc` network modes offer the highest
|
|
5396
|
+
# networking performance for containers because they use the EC2 network
|
|
5397
|
+
# stack instead of the virtualized network stack provided by the
|
|
5398
|
+
# `bridge` mode.
|
|
5414
5399
|
#
|
|
5415
5400
|
# With the `host` and `awsvpc` network modes, exposed container ports
|
|
5416
5401
|
# are mapped directly to the corresponding host port (for the `host`
|
|
@@ -5428,22 +5413,10 @@ module Aws::ECS
|
|
|
5428
5413
|
# more information, see [Task Networking][1] in the *Amazon Elastic
|
|
5429
5414
|
# Container Service Developer Guide*.
|
|
5430
5415
|
#
|
|
5431
|
-
# <note markdown="1"> Currently, only Amazon ECS-optimized AMIs, other Amazon Linux variants
|
|
5432
|
-
# with the `ecs-init` package, or AWS Fargate infrastructure support the
|
|
5433
|
-
# `awsvpc` network mode.
|
|
5434
|
-
#
|
|
5435
|
-
# </note>
|
|
5436
|
-
#
|
|
5437
5416
|
# If the network mode is `host`, you cannot run multiple instantiations
|
|
5438
5417
|
# of the same task on a single container instance when port mappings are
|
|
5439
5418
|
# used.
|
|
5440
5419
|
#
|
|
5441
|
-
# Docker for Windows uses different network modes than Docker for Linux.
|
|
5442
|
-
# When you register a task definition with Windows containers, you must
|
|
5443
|
-
# not specify a network mode. If you use the console to register a task
|
|
5444
|
-
# definition with Windows containers, you must choose the `<default>`
|
|
5445
|
-
# network mode object.
|
|
5446
|
-
#
|
|
5447
5420
|
# For more information, see [Network settings][2] in the *Docker run
|
|
5448
5421
|
# reference*.
|
|
5449
5422
|
#
|
|
@@ -5566,10 +5539,10 @@ module Aws::ECS
|
|
|
5566
5539
|
# * Tag keys and values are case-sensitive.
|
|
5567
5540
|
#
|
|
5568
5541
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
5569
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
5570
|
-
# use. You cannot edit or delete tag keys or
|
|
5571
|
-
# Tags with this prefix do not count against
|
|
5572
|
-
# limit.
|
|
5542
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
5543
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
5544
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
5545
|
+
# your tags per resource limit.
|
|
5573
5546
|
#
|
|
5574
5547
|
# @option params [String] :pid_mode
|
|
5575
5548
|
# The process namespace to use for the containers in the task. The valid
|
|
@@ -5586,7 +5559,7 @@ module Aws::ECS
|
|
|
5586
5559
|
# [Docker security][2].
|
|
5587
5560
|
#
|
|
5588
5561
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
|
|
5589
|
-
#
|
|
5562
|
+
# Fargate.
|
|
5590
5563
|
#
|
|
5591
5564
|
# </note>
|
|
5592
5565
|
#
|
|
@@ -5625,7 +5598,7 @@ module Aws::ECS
|
|
|
5625
5598
|
# `systemControls` will apply to all containers within a task.
|
|
5626
5599
|
#
|
|
5627
5600
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
|
|
5628
|
-
#
|
|
5601
|
+
# Fargate.
|
|
5629
5602
|
#
|
|
5630
5603
|
# </note>
|
|
5631
5604
|
#
|
|
@@ -5658,11 +5631,11 @@ module Aws::ECS
|
|
|
5658
5631
|
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
|
5659
5632
|
# The amount of ephemeral storage to allocate for the task. This
|
|
5660
5633
|
# parameter is used to expand the total amount of ephemeral storage
|
|
5661
|
-
# available, beyond the default amount, for tasks hosted on
|
|
5662
|
-
#
|
|
5663
|
-
# User Guide for
|
|
5634
|
+
# available, beyond the default amount, for tasks hosted on Fargate. For
|
|
5635
|
+
# more information, see [Fargate task storage][1] in the *Amazon ECS
|
|
5636
|
+
# User Guide for Fargate*.
|
|
5664
5637
|
#
|
|
5665
|
-
# <note markdown="1"> This parameter is only supported for tasks hosted on
|
|
5638
|
+
# <note markdown="1"> This parameter is only supported for tasks hosted on Fargate using
|
|
5666
5639
|
# platform version `1.4.0` or later.
|
|
5667
5640
|
#
|
|
5668
5641
|
# </note>
|
|
@@ -6180,6 +6153,9 @@ module Aws::ECS
|
|
|
6180
6153
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
|
6181
6154
|
# the cluster is used.
|
|
6182
6155
|
#
|
|
6156
|
+
# When you use cluster auto scaling, you must specify
|
|
6157
|
+
# `capacityProviderStrategy` and not `launchType`.
|
|
6158
|
+
#
|
|
6183
6159
|
# @option params [String] :cluster
|
|
6184
6160
|
# The short name or full Amazon Resource Name (ARN) of the cluster on
|
|
6185
6161
|
# which to run your task. If you do not specify a cluster, the default
|
|
@@ -6213,12 +6189,12 @@ module Aws::ECS
|
|
|
6213
6189
|
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
|
6214
6190
|
# Container Service Developer Guide*.
|
|
6215
6191
|
#
|
|
6216
|
-
# The `FARGATE` launch type runs your tasks on
|
|
6192
|
+
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
|
6217
6193
|
# infrastructure.
|
|
6218
6194
|
#
|
|
6219
6195
|
# <note markdown="1"> Fargate Spot infrastructure is available for use but a capacity
|
|
6220
|
-
# provider strategy must be used. For more information, see [
|
|
6221
|
-
# capacity providers][2] in the *Amazon ECS User Guide for
|
|
6196
|
+
# provider strategy must be used. For more information, see [Fargate
|
|
6197
|
+
# capacity providers][2] in the *Amazon ECS User Guide for Fargate*.
|
|
6222
6198
|
#
|
|
6223
6199
|
# </note>
|
|
6224
6200
|
#
|
|
@@ -6232,6 +6208,9 @@ module Aws::ECS
|
|
|
6232
6208
|
# If a `launchType` is specified, the `capacityProviderStrategy`
|
|
6233
6209
|
# parameter must be omitted.
|
|
6234
6210
|
#
|
|
6211
|
+
# When you use cluster auto scaling, you must specify
|
|
6212
|
+
# `capacityProviderStrategy` and not `launchType`.
|
|
6213
|
+
#
|
|
6235
6214
|
#
|
|
6236
6215
|
#
|
|
6237
6216
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
|
@@ -6276,8 +6255,8 @@ module Aws::ECS
|
|
|
6276
6255
|
# The platform version the task should run. A platform version is only
|
|
6277
6256
|
# specified for tasks using the Fargate launch type. If one is not
|
|
6278
6257
|
# specified, the `LATEST` platform version is used by default. For more
|
|
6279
|
-
# information, see [
|
|
6280
|
-
#
|
|
6258
|
+
# information, see [Fargate Platform Versions][1] in the *Amazon Elastic
|
|
6259
|
+
# Container Service Developer Guide*.
|
|
6281
6260
|
#
|
|
6282
6261
|
#
|
|
6283
6262
|
#
|
|
@@ -6334,10 +6313,10 @@ module Aws::ECS
|
|
|
6334
6313
|
# * Tag keys and values are case-sensitive.
|
|
6335
6314
|
#
|
|
6336
6315
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
6337
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
6338
|
-
# use. You cannot edit or delete tag keys or
|
|
6339
|
-
# Tags with this prefix do not count against
|
|
6340
|
-
# limit.
|
|
6316
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
6317
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
6318
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
6319
|
+
# your tags per resource limit.
|
|
6341
6320
|
#
|
|
6342
6321
|
# @option params [required, String] :task_definition
|
|
6343
6322
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
|
@@ -6700,10 +6679,10 @@ module Aws::ECS
|
|
|
6700
6679
|
# * Tag keys and values are case-sensitive.
|
|
6701
6680
|
#
|
|
6702
6681
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
6703
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
6704
|
-
# use. You cannot edit or delete tag keys or
|
|
6705
|
-
# Tags with this prefix do not count against
|
|
6706
|
-
# limit.
|
|
6682
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
6683
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
6684
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
6685
|
+
# your tags per resource limit.
|
|
6707
6686
|
#
|
|
6708
6687
|
# @option params [required, String] :task_definition
|
|
6709
6688
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
|
@@ -7307,10 +7286,10 @@ module Aws::ECS
|
|
|
7307
7286
|
# * Tag keys and values are case-sensitive.
|
|
7308
7287
|
#
|
|
7309
7288
|
# * Do not use `aws:`, `AWS:`, or any upper or lowercase combination of
|
|
7310
|
-
# such as a prefix for either keys or values as it is reserved for
|
|
7311
|
-
# use. You cannot edit or delete tag keys or
|
|
7312
|
-
# Tags with this prefix do not count against
|
|
7313
|
-
# limit.
|
|
7289
|
+
# such as a prefix for either keys or values as it is reserved for
|
|
7290
|
+
# Amazon Web Services use. You cannot edit or delete tag keys or
|
|
7291
|
+
# values with this prefix. Tags with this prefix do not count against
|
|
7292
|
+
# your tags per resource limit.
|
|
7314
7293
|
#
|
|
7315
7294
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
7316
7295
|
#
|
|
@@ -7889,9 +7868,9 @@ module Aws::ECS
|
|
|
7889
7868
|
# controller, only the desired count, deployment configuration, task
|
|
7890
7869
|
# placement constraints and strategies, and health check grace period
|
|
7891
7870
|
# can be updated using this API. If the network configuration, platform
|
|
7892
|
-
# version, or task definition need to be updated, a new
|
|
7871
|
+
# version, or task definition need to be updated, a new CodeDeploy
|
|
7893
7872
|
# deployment should be created. For more information, see
|
|
7894
|
-
# [CreateDeployment][2] in the *
|
|
7873
|
+
# [CreateDeployment][2] in the *CodeDeploy API Reference*.
|
|
7895
7874
|
#
|
|
7896
7875
|
# For services using an external deployment controller, you can update
|
|
7897
7876
|
# only the desired count, task placement constraints and strategies, and
|
|
@@ -8032,10 +8011,10 @@ module Aws::ECS
|
|
|
8032
8011
|
# capacity provider must already be created. New capacity providers can
|
|
8033
8012
|
# be created with the CreateCapacityProvider API operation.
|
|
8034
8013
|
#
|
|
8035
|
-
# To use a
|
|
8036
|
-
#
|
|
8037
|
-
#
|
|
8038
|
-
#
|
|
8014
|
+
# To use a Fargate capacity provider, specify either the `FARGATE` or
|
|
8015
|
+
# `FARGATE_SPOT` capacity providers. The Fargate capacity providers are
|
|
8016
|
+
# available to all accounts and only need to be associated with a
|
|
8017
|
+
# cluster to be used.
|
|
8039
8018
|
#
|
|
8040
8019
|
# The PutClusterCapacityProviders API operation is used to update the
|
|
8041
8020
|
# list of available capacity providers for a cluster after the cluster
|
|
@@ -8072,7 +8051,7 @@ module Aws::ECS
|
|
|
8072
8051
|
# The platform version on which your tasks in the service are running. A
|
|
8073
8052
|
# platform version is only specified for tasks using the Fargate launch
|
|
8074
8053
|
# type. If a platform version is not specified, the `LATEST` platform
|
|
8075
|
-
# version is used by default. For more information, see [
|
|
8054
|
+
# version is used by default. For more information, see [Fargate
|
|
8076
8055
|
# Platform Versions][1] in the *Amazon Elastic Container Service
|
|
8077
8056
|
# Developer Guide*.
|
|
8078
8057
|
#
|
|
@@ -8512,7 +8491,7 @@ module Aws::ECS
|
|
|
8512
8491
|
params: params,
|
|
8513
8492
|
config: config)
|
|
8514
8493
|
context[:gem_name] = 'aws-sdk-ecs'
|
|
8515
|
-
context[:gem_version] = '1.
|
|
8494
|
+
context[:gem_version] = '1.83.0'
|
|
8516
8495
|
Seahorse::Client::Request.new(handlers, context)
|
|
8517
8496
|
end
|
|
8518
8497
|
|