aws-sdk-ecs 1.80.0 → 1.81.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +123 -126
- data/lib/aws-sdk-ecs/types.rb +241 -258
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a86ecac4da16156e153bba9b16fcc43d9ad029fe7562302595bcb400ba8988b
|
4
|
+
data.tar.gz: a076985e82cb9cd84821be3b1e4abb834cdfe1e5966200388d34a417e37a35cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ed593033e593a52c48d39418dc794af28f18a436ce1282d9ab7ae08926cdc82146bec1dfd5aac4ff0d8d855c2c10f240ba8e73fbe9ea59a1ad88120e520016f
|
7
|
+
data.tar.gz: 5ab0a5fd885da6b009c98fe96e5325c7e654530ef6ec3ade12299e0821b65484c622a5a3eb9007d8b694b7187bb4366a87e8353c6897c76bb910f3f8afb913a6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.81.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
|
@@ -3746,7 +3746,7 @@ module Aws::ECS
|
|
3746
3746
|
# @option params [String] :container_instance
|
3747
3747
|
# The container instance ID or full ARN of the container instance. The
|
3748
3748
|
# ARN contains the `arn:aws:ecs` namespace, followed by the Region of
|
3749
|
-
# the container instance, the
|
3749
|
+
# the container instance, the account ID of the container instance
|
3750
3750
|
# owner, the `container-instance` namespace, and then the container
|
3751
3751
|
# instance ID. For example,
|
3752
3752
|
# `arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID`.
|
@@ -5047,10 +5047,10 @@ module Aws::ECS
|
|
5047
5047
|
# capacity provider must already be created. New capacity providers can
|
5048
5048
|
# be created with the CreateCapacityProvider API operation.
|
5049
5049
|
#
|
5050
|
-
# To use a
|
5051
|
-
#
|
5052
|
-
#
|
5053
|
-
#
|
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.
|
5054
5054
|
#
|
5055
5055
|
# @option params [required, Array<Types::CapacityProviderStrategyItem>] :default_capacity_provider_strategy
|
5056
5056
|
# The capacity provider strategy to use by default for the cluster.
|
@@ -5070,10 +5070,10 @@ module Aws::ECS
|
|
5070
5070
|
# capacity provider must already be created. New capacity providers can
|
5071
5071
|
# be created with the CreateCapacityProvider API operation.
|
5072
5072
|
#
|
5073
|
-
# To use a
|
5074
|
-
#
|
5075
|
-
#
|
5076
|
-
#
|
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.
|
5077
5077
|
#
|
5078
5078
|
# @return [Types::PutClusterCapacityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5079
5079
|
#
|
@@ -5210,10 +5210,10 @@ module Aws::ECS
|
|
5210
5210
|
# * Tag keys and values are case-sensitive.
|
5211
5211
|
#
|
5212
5212
|
# * 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.
|
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.
|
5217
5217
|
#
|
5218
5218
|
# @return [Types::RegisterContainerInstanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5219
5219
|
#
|
@@ -5329,10 +5329,11 @@ module Aws::ECS
|
|
5329
5329
|
#
|
5330
5330
|
# You can specify an IAM role for your task with the `taskRoleArn`
|
5331
5331
|
# 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
|
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*.
|
5336
5337
|
#
|
5337
5338
|
# You can specify a Docker networking mode for the containers in your
|
5338
5339
|
# task definition with the `networkMode` parameter. The available
|
@@ -5370,11 +5371,11 @@ module Aws::ECS
|
|
5370
5371
|
#
|
5371
5372
|
# @option params [String] :execution_role_arn
|
5372
5373
|
# 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*.
|
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*.
|
5378
5379
|
#
|
5379
5380
|
#
|
5380
5381
|
#
|
@@ -5386,13 +5387,15 @@ module Aws::ECS
|
|
5386
5387
|
# mode is specified, the default is `bridge`.
|
5387
5388
|
#
|
5388
5389
|
# 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
|
-
#
|
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.
|
5396
5399
|
#
|
5397
5400
|
# With the `host` and `awsvpc` network modes, exposed container ports
|
5398
5401
|
# are mapped directly to the corresponding host port (for the `host`
|
@@ -5410,22 +5413,10 @@ module Aws::ECS
|
|
5410
5413
|
# more information, see [Task Networking][1] in the *Amazon Elastic
|
5411
5414
|
# Container Service Developer Guide*.
|
5412
5415
|
#
|
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
5416
|
# If the network mode is `host`, you cannot run multiple instantiations
|
5420
5417
|
# of the same task on a single container instance when port mappings are
|
5421
5418
|
# used.
|
5422
5419
|
#
|
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
5420
|
# For more information, see [Network settings][2] in the *Docker run
|
5430
5421
|
# reference*.
|
5431
5422
|
#
|
@@ -5548,10 +5539,10 @@ module Aws::ECS
|
|
5548
5539
|
# * Tag keys and values are case-sensitive.
|
5549
5540
|
#
|
5550
5541
|
# * 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.
|
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.
|
5555
5546
|
#
|
5556
5547
|
# @option params [String] :pid_mode
|
5557
5548
|
# The process namespace to use for the containers in the task. The valid
|
@@ -5568,7 +5559,7 @@ module Aws::ECS
|
|
5568
5559
|
# [Docker security][2].
|
5569
5560
|
#
|
5570
5561
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
|
5571
|
-
#
|
5562
|
+
# Fargate.
|
5572
5563
|
#
|
5573
5564
|
# </note>
|
5574
5565
|
#
|
@@ -5607,7 +5598,7 @@ module Aws::ECS
|
|
5607
5598
|
# `systemControls` will apply to all containers within a task.
|
5608
5599
|
#
|
5609
5600
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run on
|
5610
|
-
#
|
5601
|
+
# Fargate.
|
5611
5602
|
#
|
5612
5603
|
# </note>
|
5613
5604
|
#
|
@@ -5640,11 +5631,11 @@ module Aws::ECS
|
|
5640
5631
|
# @option params [Types::EphemeralStorage] :ephemeral_storage
|
5641
5632
|
# The amount of ephemeral storage to allocate for the task. This
|
5642
5633
|
# 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
|
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*.
|
5646
5637
|
#
|
5647
|
-
# <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
|
5648
5639
|
# platform version `1.4.0` or later.
|
5649
5640
|
#
|
5650
5641
|
# </note>
|
@@ -6162,6 +6153,9 @@ module Aws::ECS
|
|
6162
6153
|
# `launchType` is specified, the `defaultCapacityProviderStrategy` for
|
6163
6154
|
# the cluster is used.
|
6164
6155
|
#
|
6156
|
+
# When you use cluster auto scaling, you must specify
|
6157
|
+
# `capacityProviderStrategy` and not `launchType`.
|
6158
|
+
#
|
6165
6159
|
# @option params [String] :cluster
|
6166
6160
|
# The short name or full Amazon Resource Name (ARN) of the cluster on
|
6167
6161
|
# which to run your task. If you do not specify a cluster, the default
|
@@ -6195,12 +6189,12 @@ module Aws::ECS
|
|
6195
6189
|
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
6196
6190
|
# Container Service Developer Guide*.
|
6197
6191
|
#
|
6198
|
-
# The `FARGATE` launch type runs your tasks on
|
6192
|
+
# The `FARGATE` launch type runs your tasks on Fargate On-Demand
|
6199
6193
|
# infrastructure.
|
6200
6194
|
#
|
6201
6195
|
# <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
|
6196
|
+
# provider strategy must be used. For more information, see [Fargate
|
6197
|
+
# capacity providers][2] in the *Amazon ECS User Guide for Fargate*.
|
6204
6198
|
#
|
6205
6199
|
# </note>
|
6206
6200
|
#
|
@@ -6214,6 +6208,9 @@ module Aws::ECS
|
|
6214
6208
|
# If a `launchType` is specified, the `capacityProviderStrategy`
|
6215
6209
|
# parameter must be omitted.
|
6216
6210
|
#
|
6211
|
+
# When you use cluster auto scaling, you must specify
|
6212
|
+
# `capacityProviderStrategy` and not `launchType`.
|
6213
|
+
#
|
6217
6214
|
#
|
6218
6215
|
#
|
6219
6216
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html
|
@@ -6258,8 +6255,8 @@ module Aws::ECS
|
|
6258
6255
|
# The platform version the task should run. A platform version is only
|
6259
6256
|
# specified for tasks using the Fargate launch type. If one is not
|
6260
6257
|
# specified, the `LATEST` platform version is used by default. For more
|
6261
|
-
# information, see [
|
6262
|
-
#
|
6258
|
+
# information, see [Fargate Platform Versions][1] in the *Amazon Elastic
|
6259
|
+
# Container Service Developer Guide*.
|
6263
6260
|
#
|
6264
6261
|
#
|
6265
6262
|
#
|
@@ -6316,10 +6313,10 @@ module Aws::ECS
|
|
6316
6313
|
# * Tag keys and values are case-sensitive.
|
6317
6314
|
#
|
6318
6315
|
# * 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.
|
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.
|
6323
6320
|
#
|
6324
6321
|
# @option params [required, String] :task_definition
|
6325
6322
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
@@ -6682,10 +6679,10 @@ module Aws::ECS
|
|
6682
6679
|
# * Tag keys and values are case-sensitive.
|
6683
6680
|
#
|
6684
6681
|
# * 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.
|
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.
|
6689
6686
|
#
|
6690
6687
|
# @option params [required, String] :task_definition
|
6691
6688
|
# The `family` and `revision` (`family:revision`) or full ARN of the
|
@@ -7289,10 +7286,10 @@ module Aws::ECS
|
|
7289
7286
|
# * Tag keys and values are case-sensitive.
|
7290
7287
|
#
|
7291
7288
|
# * 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.
|
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.
|
7296
7293
|
#
|
7297
7294
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
7298
7295
|
#
|
@@ -7871,9 +7868,9 @@ module Aws::ECS
|
|
7871
7868
|
# controller, only the desired count, deployment configuration, task
|
7872
7869
|
# placement constraints and strategies, and health check grace period
|
7873
7870
|
# can be updated using this API. If the network configuration, platform
|
7874
|
-
# version, or task definition need to be updated, a new
|
7871
|
+
# version, or task definition need to be updated, a new CodeDeploy
|
7875
7872
|
# deployment should be created. For more information, see
|
7876
|
-
# [CreateDeployment][2] in the *
|
7873
|
+
# [CreateDeployment][2] in the *CodeDeploy API Reference*.
|
7877
7874
|
#
|
7878
7875
|
# For services using an external deployment controller, you can update
|
7879
7876
|
# only the desired count, task placement constraints and strategies, and
|
@@ -8014,10 +8011,10 @@ module Aws::ECS
|
|
8014
8011
|
# capacity provider must already be created. New capacity providers can
|
8015
8012
|
# be created with the CreateCapacityProvider API operation.
|
8016
8013
|
#
|
8017
|
-
# To use a
|
8018
|
-
#
|
8019
|
-
#
|
8020
|
-
#
|
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.
|
8021
8018
|
#
|
8022
8019
|
# The PutClusterCapacityProviders API operation is used to update the
|
8023
8020
|
# list of available capacity providers for a cluster after the cluster
|
@@ -8054,7 +8051,7 @@ module Aws::ECS
|
|
8054
8051
|
# The platform version on which your tasks in the service are running. A
|
8055
8052
|
# platform version is only specified for tasks using the Fargate launch
|
8056
8053
|
# type. If a platform version is not specified, the `LATEST` platform
|
8057
|
-
# version is used by default. For more information, see [
|
8054
|
+
# version is used by default. For more information, see [Fargate
|
8058
8055
|
# Platform Versions][1] in the *Amazon Elastic Container Service
|
8059
8056
|
# Developer Guide*.
|
8060
8057
|
#
|
@@ -8494,7 +8491,7 @@ module Aws::ECS
|
|
8494
8491
|
params: params,
|
8495
8492
|
config: config)
|
8496
8493
|
context[:gem_name] = 'aws-sdk-ecs'
|
8497
|
-
context[:gem_version] = '1.
|
8494
|
+
context[:gem_version] = '1.81.0'
|
8498
8495
|
Seahorse::Client::Request.new(handlers, context)
|
8499
8496
|
end
|
8500
8497
|
|