aws-sdk-ecs 1.99.0 → 1.101.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +74 -67
- data/lib/aws-sdk-ecs/types.rb +239 -141
- data/lib/aws-sdk-ecs.rb +1 -1
- 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: c7c24151220082593d3c62306451f919d4c149fc6de728ed403bc089d676a919
|
4
|
+
data.tar.gz: df34f28a6c24b274f665b097e5c0503a5ce7e6d3594e68b31333552fbd120070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ef2762169198b943b4570319db65dd67ebd69213b079692969c8b1f56258e02df37654714c96f2397be95add6454850f718d8f39afd5b32d9b5f973fd02b071
|
7
|
+
data.tar.gz: ca0a50f297f85f18ed896f8554c86a2239424cbc42967751fd7e4bdbaecaa5405cd75f3252d8d111020e876590c535714989ce54581ab012740bb63c067bcc5a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.101.0 (2022-09-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release supports new task definition sizes.
|
8
|
+
|
9
|
+
1.100.0 (2022-06-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon ECS UpdateService now supports the following parameters: PlacementStrategies, PlacementConstraints and CapacityProviderStrategy.
|
13
|
+
|
4
14
|
1.99.0 (2022-03-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.101.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -473,7 +473,7 @@ module Aws::ECS
|
|
473
473
|
# that it can manage required resources in other Amazon Web Services
|
474
474
|
# services on your behalf. However, if the IAM user that makes the call
|
475
475
|
# doesn't have permissions to create the service-linked role, it isn't
|
476
|
-
# created. For more information, see [Using
|
476
|
+
# created. For more information, see [Using service-linked roles for
|
477
477
|
# Amazon ECS][1] in the *Amazon Elastic Container Service Developer
|
478
478
|
# Guide*.
|
479
479
|
#
|
@@ -683,8 +683,8 @@ module Aws::ECS
|
|
683
683
|
# In addition to maintaining the desired count of tasks in your service,
|
684
684
|
# you can optionally run your service behind one or more load balancers.
|
685
685
|
# The load balancers distribute traffic across the tasks that are
|
686
|
-
# associated with the service. For more information, see [Service
|
687
|
-
#
|
686
|
+
# associated with the service. For more information, see [Service load
|
687
|
+
# balancing][1] in the *Amazon Elastic Container Service Developer
|
688
688
|
# Guide*.
|
689
689
|
#
|
690
690
|
# Tasks for services that don't use a load balancer are considered
|
@@ -698,8 +698,8 @@ module Aws::ECS
|
|
698
698
|
# your desired number of tasks across your cluster. By default, the
|
699
699
|
# service scheduler spreads tasks across Availability Zones. You can
|
700
700
|
# use task placement strategies and constraints to customize task
|
701
|
-
# placement decisions. For more information, see [Service
|
702
|
-
#
|
701
|
+
# placement decisions. For more information, see [Service scheduler
|
702
|
+
# concepts][2] in the *Amazon Elastic Container Service Developer
|
703
703
|
# Guide*.
|
704
704
|
#
|
705
705
|
# * `DAEMON` - The daemon scheduling strategy deploys exactly one task
|
@@ -709,8 +709,8 @@ module Aws::ECS
|
|
709
709
|
# tasks. It also stops tasks that don't meet the placement
|
710
710
|
# constraints. When using this strategy, you don't need to specify a
|
711
711
|
# desired number of tasks, a task placement strategy, or use Service
|
712
|
-
# Auto Scaling policies. For more information, see [Service
|
713
|
-
#
|
712
|
+
# Auto Scaling policies. For more information, see [Service scheduler
|
713
|
+
# concepts][2] in the *Amazon Elastic Container Service Developer
|
714
714
|
# Guide*.
|
715
715
|
#
|
716
716
|
# You can optionally specify a deployment configuration for your
|
@@ -766,38 +766,20 @@ module Aws::ECS
|
|
766
766
|
# controller, you can specify only parameters that aren't controlled at
|
767
767
|
# the task set level. The only required parameter is the service name.
|
768
768
|
# You control your services using the CreateTaskSet operation. For more
|
769
|
-
# information, see [Amazon ECS
|
769
|
+
# information, see [Amazon ECS deployment types][3] in the *Amazon
|
770
770
|
# Elastic Container Service Developer Guide*.
|
771
771
|
#
|
772
772
|
# When the service scheduler launches new tasks, it determines task
|
773
|
-
# placement
|
774
|
-
#
|
775
|
-
#
|
776
|
-
# support the task definition of your service. For example, they have
|
777
|
-
# the required CPU, memory, ports, and container instance attributes.
|
778
|
-
#
|
779
|
-
# * By default, the service scheduler attempts to balance tasks across
|
780
|
-
# Availability Zones in this manner. This is the case even if you can
|
781
|
-
# choose a different placement strategy with the `placementStrategy`
|
782
|
-
# parameter.
|
783
|
-
#
|
784
|
-
# * Sort the valid container instances, giving priority to instances
|
785
|
-
# that have the fewest number of running tasks for this service in
|
786
|
-
# their respective Availability Zone. For example, if zone A has one
|
787
|
-
# running service task and zones B and C each have zero, valid
|
788
|
-
# container instances in either zone B or C are considered optimal
|
789
|
-
# for placement.
|
790
|
-
#
|
791
|
-
# * Place the new service task on a valid container instance in an
|
792
|
-
# optimal Availability Zone based on the previous steps, favoring
|
793
|
-
# container instances with the fewest number of running tasks for
|
794
|
-
# this service.
|
773
|
+
# placement. For information about task placement and task placement
|
774
|
+
# strategies, see [Amazon ECS task placement][4] in the *Amazon Elastic
|
775
|
+
# Container Service Developer Guide*.
|
795
776
|
#
|
796
777
|
#
|
797
778
|
#
|
798
779
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
|
799
780
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
800
781
|
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
782
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
|
801
783
|
#
|
802
784
|
# @option params [String] :cluster
|
803
785
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -820,7 +802,7 @@ module Aws::ECS
|
|
820
802
|
#
|
821
803
|
# @option params [Array<Types::LoadBalancer>] :load_balancers
|
822
804
|
# A load balancer object representing the load balancers to use with
|
823
|
-
# your service. For more information, see [Service
|
805
|
+
# your service. For more information, see [Service load balancing][1] in
|
824
806
|
# the *Amazon Elastic Container Service Developer Guide*.
|
825
807
|
#
|
826
808
|
# If the service uses the rolling update (`ECS`) deployment controller
|
@@ -1100,8 +1082,8 @@ module Aws::ECS
|
|
1100
1082
|
#
|
1101
1083
|
# @option params [Boolean] :enable_ecs_managed_tags
|
1102
1084
|
# Specifies whether to turn on Amazon ECS managed tags for the tasks
|
1103
|
-
# within the service. For more information, see [Tagging
|
1104
|
-
#
|
1085
|
+
# within the service. For more information, see [Tagging your Amazon ECS
|
1086
|
+
# resources][1] in the *Amazon Elastic Container Service Developer
|
1105
1087
|
# Guide*.
|
1106
1088
|
#
|
1107
1089
|
#
|
@@ -1455,7 +1437,7 @@ module Aws::ECS
|
|
1455
1437
|
|
1456
1438
|
# Create a task set in the specified cluster and service. This is used
|
1457
1439
|
# when a service uses the `EXTERNAL` deployment controller type. For
|
1458
|
-
# more information, see [Amazon ECS
|
1440
|
+
# more information, see [Amazon ECS deployment types][1] in the *Amazon
|
1459
1441
|
# Elastic Container Service Developer Guide*.
|
1460
1442
|
#
|
1461
1443
|
#
|
@@ -1490,7 +1472,7 @@ module Aws::ECS
|
|
1490
1472
|
#
|
1491
1473
|
# @option params [Array<Types::ServiceRegistry>] :service_registries
|
1492
1474
|
# The details of the service discovery registries to assign to this task
|
1493
|
-
# set. For more information, see [Service
|
1475
|
+
# set. For more information, see [Service discovery][1].
|
1494
1476
|
#
|
1495
1477
|
#
|
1496
1478
|
#
|
@@ -1498,7 +1480,7 @@ module Aws::ECS
|
|
1498
1480
|
#
|
1499
1481
|
# @option params [String] :launch_type
|
1500
1482
|
# The launch type that new tasks in the task set uses. For more
|
1501
|
-
# information, see [Amazon ECS
|
1483
|
+
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
1502
1484
|
# Container Service Developer Guide*.
|
1503
1485
|
#
|
1504
1486
|
# If a `launchType` is specified, the `capacityProviderStrategy`
|
@@ -2178,7 +2160,7 @@ module Aws::ECS
|
|
2178
2160
|
|
2179
2161
|
# Deletes a specified task set within a service. This is used when a
|
2180
2162
|
# service uses the `EXTERNAL` deployment controller type. For more
|
2181
|
-
# information, see [Amazon ECS
|
2163
|
+
# information, see [Amazon ECS deployment types][1] in the *Amazon
|
2182
2164
|
# Elastic Container Service Developer Guide*.
|
2183
2165
|
#
|
2184
2166
|
#
|
@@ -2295,11 +2277,12 @@ module Aws::ECS
|
|
2295
2277
|
#
|
2296
2278
|
# @option params [required, String] :container_instance
|
2297
2279
|
# The container instance ID or full ARN of the container instance to
|
2298
|
-
# deregister.
|
2299
|
-
#
|
2300
|
-
#
|
2301
|
-
#
|
2302
|
-
#
|
2280
|
+
# deregister. For more information about the ARN format, see [Amazon
|
2281
|
+
# Resource Name (ARN)][1] in the *Amazon ECS Developer Guide*.
|
2282
|
+
#
|
2283
|
+
#
|
2284
|
+
#
|
2285
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
2303
2286
|
#
|
2304
2287
|
# @option params [Boolean] :force
|
2305
2288
|
# Forces the container instance to be deregistered. If you have tasks
|
@@ -3605,6 +3588,9 @@ module Aws::ECS
|
|
3605
3588
|
|
3606
3589
|
# Describes a specified task or tasks.
|
3607
3590
|
#
|
3591
|
+
# Currently, stopped tasks appear in the returned results for at least
|
3592
|
+
# one hour.
|
3593
|
+
#
|
3608
3594
|
# @option params [String] :cluster
|
3609
3595
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
3610
3596
|
# hosts the task or tasks to describe. If you do not specify a cluster,
|
@@ -3816,12 +3802,13 @@ module Aws::ECS
|
|
3816
3802
|
# Returns an endpoint for the Amazon ECS agent to poll for updates.
|
3817
3803
|
#
|
3818
3804
|
# @option params [String] :container_instance
|
3819
|
-
# The container instance ID or full ARN of the container instance.
|
3820
|
-
#
|
3821
|
-
#
|
3822
|
-
#
|
3823
|
-
#
|
3824
|
-
#
|
3805
|
+
# The container instance ID or full ARN of the container instance. For
|
3806
|
+
# more information about the ARN format, see [Amazon Resource Name
|
3807
|
+
# (ARN)][1] in the *Amazon ECS Developer Guide*.
|
3808
|
+
#
|
3809
|
+
#
|
3810
|
+
#
|
3811
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
3825
3812
|
#
|
3826
3813
|
# @option params [String] :cluster
|
3827
3814
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -3855,6 +3842,12 @@ module Aws::ECS
|
|
3855
3842
|
|
3856
3843
|
# Runs a command remotely on a container within a task.
|
3857
3844
|
#
|
3845
|
+
# If you use a condition key in your IAM policy to refine the conditions
|
3846
|
+
# for the policy statement, for example limit the actions to a specific
|
3847
|
+
# cluster, you recevie an `AccessDeniedException` when there is a
|
3848
|
+
# mismatch between the condition key value and the corresponding
|
3849
|
+
# parameter value.
|
3850
|
+
#
|
3858
3851
|
# @option params [String] :cluster
|
3859
3852
|
# The Amazon Resource Name (ARN) or short name of the cluster the task
|
3860
3853
|
# is running in. If you do not specify a cluster, the default cluster is
|
@@ -5536,7 +5529,8 @@ module Aws::ECS
|
|
5536
5529
|
#
|
5537
5530
|
# If you're using the EC2 launch type, this field is optional.
|
5538
5531
|
# Supported values are between `128` CPU units (`0.125` vCPUs) and
|
5539
|
-
# `10240` CPU units (`10` vCPUs).
|
5532
|
+
# `10240` CPU units (`10` vCPUs). If you do not specify a value, the
|
5533
|
+
# parameter is ignored.
|
5540
5534
|
#
|
5541
5535
|
# If you're using the Fargate launch type, this field is required and
|
5542
5536
|
# you must use one of the following values, which determines your range
|
@@ -5554,11 +5548,21 @@ module Aws::ECS
|
|
5554
5548
|
# * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3 GB),
|
5555
5549
|
# 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)
|
5556
5550
|
#
|
5557
|
-
# * 2048 (2 vCPU) - Available `memory` values:
|
5558
|
-
#
|
5551
|
+
# * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384 (16
|
5552
|
+
# GB) in increments of 1024 (1 GB)
|
5553
|
+
#
|
5554
|
+
# * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720 (30
|
5555
|
+
# GB) in increments of 1024 (1 GB)
|
5556
|
+
#
|
5557
|
+
# * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
|
5558
|
+
# increments
|
5559
5559
|
#
|
5560
|
-
#
|
5561
|
-
#
|
5560
|
+
# This option requires Linux platform `1.4.0` or later.
|
5561
|
+
#
|
5562
|
+
# * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8 GB
|
5563
|
+
# increments
|
5564
|
+
#
|
5565
|
+
# This option requires Linux platform `1.4.0` or later.
|
5562
5566
|
#
|
5563
5567
|
# @option params [String] :memory
|
5564
5568
|
# The amount of memory (in MiB) used by the task. It can be expressed as
|
@@ -5597,6 +5601,16 @@ module Aws::ECS
|
|
5597
5601
|
# * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -
|
5598
5602
|
# Available `cpu` values: 4096 (4 vCPU)
|
5599
5603
|
#
|
5604
|
+
# * Between 16 GB and 60 GB in 4 GB increments - Available `cpu` values:
|
5605
|
+
# 8192 (8 vCPU)
|
5606
|
+
#
|
5607
|
+
# This option requires Linux platform `1.4.0` or later.
|
5608
|
+
#
|
5609
|
+
# * Between 32GB and 120 GB in 8 GB increments - Available `cpu` values:
|
5610
|
+
# 16384 (16 vCPU)
|
5611
|
+
#
|
5612
|
+
# This option requires Linux platform `1.4.0` or later.
|
5613
|
+
#
|
5600
5614
|
# @option params [Array<Types::Tag>] :tags
|
5601
5615
|
# The metadata that you apply to the task definition to help you
|
5602
5616
|
# categorize and organize them. Each tag consists of a key and an
|
@@ -7998,12 +8012,6 @@ module Aws::ECS
|
|
7998
8012
|
req.send_request(options)
|
7999
8013
|
end
|
8000
8014
|
|
8001
|
-
# Updating the task placement strategies and constraints on an Amazon
|
8002
|
-
# ECS service remains in preview and is a Beta Service as defined by and
|
8003
|
-
# subject to the Beta Service Participation Service Terms located at
|
8004
|
-
# [https://aws.amazon.com/service-terms][1] ("Beta Terms"). These Beta
|
8005
|
-
# Terms apply to your participation in this preview.
|
8006
|
-
#
|
8007
8015
|
# Modifies the parameters of a service.
|
8008
8016
|
#
|
8009
8017
|
# For services using the rolling update (`ECS`) you can update the
|
@@ -8019,7 +8027,7 @@ module Aws::ECS
|
|
8019
8027
|
# ECS managed tags option, and propagate tags can be updated using this
|
8020
8028
|
# API. If the network configuration, platform version, task definition,
|
8021
8029
|
# or load balancer need to be updated, create a new CodeDeploy
|
8022
|
-
# deployment. For more information, see [CreateDeployment][
|
8030
|
+
# deployment. For more information, see [CreateDeployment][1] in the
|
8023
8031
|
# *CodeDeploy API Reference*.
|
8024
8032
|
#
|
8025
8033
|
# For services using an external deployment controller, you can update
|
@@ -8118,9 +8126,9 @@ module Aws::ECS
|
|
8118
8126
|
# <note markdown="1"> You must have a service-linked role when you update any of the
|
8119
8127
|
# following service properties. If you specified a custom IAM role when
|
8120
8128
|
# you created the service, Amazon ECS automatically replaces the
|
8121
|
-
# [roleARN][
|
8129
|
+
# [roleARN][2] associated with the service with the ARN of your
|
8122
8130
|
# service-linked role. For more information, see [Service-linked
|
8123
|
-
# roles][
|
8131
|
+
# roles][3] in the *Amazon Elastic Container Service Developer Guide*.
|
8124
8132
|
#
|
8125
8133
|
# * `loadBalancers,`
|
8126
8134
|
#
|
@@ -8130,10 +8138,9 @@ module Aws::ECS
|
|
8130
8138
|
#
|
8131
8139
|
#
|
8132
8140
|
#
|
8133
|
-
# [1]: https://aws.amazon.com/
|
8134
|
-
# [2]: https://docs.aws.amazon.com/
|
8135
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/
|
8136
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
8141
|
+
# [1]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
|
8142
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn
|
8143
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
8137
8144
|
#
|
8138
8145
|
# @option params [String] :cluster
|
8139
8146
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -8753,7 +8760,7 @@ module Aws::ECS
|
|
8753
8760
|
params: params,
|
8754
8761
|
config: config)
|
8755
8762
|
context[:gem_name] = 'aws-sdk-ecs'
|
8756
|
-
context[:gem_version] = '1.
|
8763
|
+
context[:gem_version] = '1.101.0'
|
8757
8764
|
Seahorse::Client::Request.new(handlers, context)
|
8758
8765
|
end
|
8759
8766
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -506,11 +506,13 @@ module Aws::ECS
|
|
506
506
|
# simultaneously.
|
507
507
|
#
|
508
508
|
# @!attribute [rw] cluster_arn
|
509
|
-
# The Amazon Resource Name (ARN) that identifies the cluster.
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
509
|
+
# The Amazon Resource Name (ARN) that identifies the cluster. For more
|
510
|
+
# information about the ARN format, see [Amazon Resource Name
|
511
|
+
# (ARN)][1] in the *Amazon ECS Developer Guide*.
|
512
|
+
#
|
513
|
+
#
|
514
|
+
#
|
515
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
514
516
|
# @return [String]
|
515
517
|
#
|
516
518
|
# @!attribute [rw] cluster_name
|
@@ -642,8 +644,8 @@ module Aws::ECS
|
|
642
644
|
#
|
643
645
|
# @!attribute [rw] attachments
|
644
646
|
# The resources attached to a cluster. When using a capacity provider
|
645
|
-
# with a cluster, the
|
646
|
-
#
|
647
|
+
# with a cluster, the capacity provider and associated resources are
|
648
|
+
# returned as cluster attachments.
|
647
649
|
# @return [Array<Types::Attachment>]
|
648
650
|
#
|
649
651
|
# @!attribute [rw] attachments_status
|
@@ -653,8 +655,6 @@ module Aws::ECS
|
|
653
655
|
# UPDATE\_IN\_PROGRESS
|
654
656
|
#
|
655
657
|
# : The available capacity providers for the cluster are updating.
|
656
|
-
# This occurs when the Auto Scaling plan is provisioning or
|
657
|
-
# deprovisioning.
|
658
658
|
#
|
659
659
|
# UPDATE\_COMPLETE
|
660
660
|
#
|
@@ -1184,12 +1184,12 @@ module Aws::ECS
|
|
1184
1184
|
# container is placed. Otherwise, the value of `memory` is used.
|
1185
1185
|
#
|
1186
1186
|
# The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of
|
1187
|
-
# memory for a container,
|
1188
|
-
#
|
1187
|
+
# memory for a container. So, don't specify less than 6 MiB of memory
|
1188
|
+
# for your containers.
|
1189
1189
|
#
|
1190
1190
|
# The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB
|
1191
|
-
# of memory for a container,
|
1192
|
-
#
|
1191
|
+
# of memory for a container. So, don't specify less than 4 MiB of
|
1192
|
+
# memory for your containers.
|
1193
1193
|
#
|
1194
1194
|
#
|
1195
1195
|
#
|
@@ -1225,9 +1225,13 @@ module Aws::ECS
|
|
1225
1225
|
# container instance, but also allow the container to consume more
|
1226
1226
|
# memory resources when needed.
|
1227
1227
|
#
|
1228
|
-
# The Docker daemon reserves a minimum of
|
1229
|
-
# container.
|
1230
|
-
#
|
1228
|
+
# The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of
|
1229
|
+
# memory for a container. So, don't specify less than 6 MiB of memory
|
1230
|
+
# for your containers.
|
1231
|
+
#
|
1232
|
+
# The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB
|
1233
|
+
# of memory for a container. So, don't specify less than 4 MiB of
|
1234
|
+
# memory for your containers.
|
1231
1235
|
#
|
1232
1236
|
#
|
1233
1237
|
#
|
@@ -1454,9 +1458,9 @@ module Aws::ECS
|
|
1454
1458
|
#
|
1455
1459
|
# @!attribute [rw] depends_on
|
1456
1460
|
# The dependencies defined for container startup and shutdown. A
|
1457
|
-
# container can contain multiple dependencies
|
1458
|
-
# defined for container startup,
|
1459
|
-
# reversed.
|
1461
|
+
# container can contain multiple dependencies on other containers in a
|
1462
|
+
# task definition. When a dependency is defined for container startup,
|
1463
|
+
# for container shutdown it is reversed.
|
1460
1464
|
#
|
1461
1465
|
# For tasks using the EC2 launch type, the container instances require
|
1462
1466
|
# at least version 1.26.0 of the container agent to turn on container
|
@@ -2073,16 +2077,17 @@ module Aws::ECS
|
|
2073
2077
|
include Aws::Structure
|
2074
2078
|
end
|
2075
2079
|
|
2076
|
-
# An EC2 instance that's running the Amazon ECS
|
2077
|
-
# registered with a cluster.
|
2080
|
+
# An Amazon EC2 or External instance that's running the Amazon ECS
|
2081
|
+
# agent and has been registered with a cluster.
|
2078
2082
|
#
|
2079
2083
|
# @!attribute [rw] container_instance_arn
|
2080
|
-
# The Amazon Resource Name (ARN) of the container instance.
|
2081
|
-
#
|
2082
|
-
#
|
2083
|
-
#
|
2084
|
-
#
|
2085
|
-
#
|
2084
|
+
# The Amazon Resource Name (ARN) of the container instance. For more
|
2085
|
+
# information about the ARN format, see [Amazon Resource Name
|
2086
|
+
# (ARN)][1] in the *Amazon ECS Developer Guide*.
|
2087
|
+
#
|
2088
|
+
#
|
2089
|
+
#
|
2090
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
2086
2091
|
# @return [String]
|
2087
2092
|
#
|
2088
2093
|
# @!attribute [rw] ec2_instance_id
|
@@ -2156,7 +2161,7 @@ module Aws::ECS
|
|
2156
2161
|
# tasks. The `DRAINING` indicates that new tasks aren't placed on the
|
2157
2162
|
# container instance and any service tasks running on the container
|
2158
2163
|
# instance are removed if possible. For more information, see
|
2159
|
-
# [Container
|
2164
|
+
# [Container instance draining][1] in the *Amazon Elastic Container
|
2160
2165
|
# Service Developer Guide*.
|
2161
2166
|
#
|
2162
2167
|
#
|
@@ -2170,9 +2175,9 @@ module Aws::ECS
|
|
2170
2175
|
#
|
2171
2176
|
# @!attribute [rw] agent_connected
|
2172
2177
|
# This parameter returns `true` if the agent is connected to Amazon
|
2173
|
-
# ECS.
|
2174
|
-
#
|
2175
|
-
#
|
2178
|
+
# ECS. An instance with an agent that may be unhealthy or stopped
|
2179
|
+
# return `false`. Only instances connected to an agent can accept task
|
2180
|
+
# placement requests.
|
2176
2181
|
# @return [Boolean]
|
2177
2182
|
#
|
2178
2183
|
# @!attribute [rw] running_tasks_count
|
@@ -2202,8 +2207,8 @@ module Aws::ECS
|
|
2202
2207
|
# @return [Time]
|
2203
2208
|
#
|
2204
2209
|
# @!attribute [rw] attachments
|
2205
|
-
# The resources attached to a container instance, such as elastic
|
2206
|
-
# network
|
2210
|
+
# The resources attached to a container instance, such as an elastic
|
2211
|
+
# network interface.
|
2207
2212
|
# @return [Array<Types::Attachment>]
|
2208
2213
|
#
|
2209
2214
|
# @!attribute [rw] tags
|
@@ -2789,7 +2794,7 @@ module Aws::ECS
|
|
2789
2794
|
#
|
2790
2795
|
# @!attribute [rw] load_balancers
|
2791
2796
|
# A load balancer object representing the load balancers to use with
|
2792
|
-
# your service. For more information, see [Service
|
2797
|
+
# your service. For more information, see [Service load balancing][1]
|
2793
2798
|
# in the *Amazon Elastic Container Service Developer Guide*.
|
2794
2799
|
#
|
2795
2800
|
# If the service uses the rolling update (`ECS`) deployment controller
|
@@ -3091,8 +3096,8 @@ module Aws::ECS
|
|
3091
3096
|
#
|
3092
3097
|
# @!attribute [rw] enable_ecs_managed_tags
|
3093
3098
|
# Specifies whether to turn on Amazon ECS managed tags for the tasks
|
3094
|
-
# within the service. For more information, see [Tagging
|
3095
|
-
# ECS
|
3099
|
+
# within the service. For more information, see [Tagging your Amazon
|
3100
|
+
# ECS resources][1] in the *Amazon Elastic Container Service Developer
|
3096
3101
|
# Guide*.
|
3097
3102
|
#
|
3098
3103
|
#
|
@@ -3254,7 +3259,7 @@ module Aws::ECS
|
|
3254
3259
|
#
|
3255
3260
|
# @!attribute [rw] service_registries
|
3256
3261
|
# The details of the service discovery registries to assign to this
|
3257
|
-
# task set. For more information, see [Service
|
3262
|
+
# task set. For more information, see [Service discovery][1].
|
3258
3263
|
#
|
3259
3264
|
#
|
3260
3265
|
#
|
@@ -3263,7 +3268,7 @@ module Aws::ECS
|
|
3263
3268
|
#
|
3264
3269
|
# @!attribute [rw] launch_type
|
3265
3270
|
# The launch type that new tasks in the task set uses. For more
|
3266
|
-
# information, see [Amazon ECS
|
3271
|
+
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
3267
3272
|
# Container Service Developer Guide*.
|
3268
3273
|
#
|
3269
3274
|
# If a `launchType` is specified, the `capacityProviderStrategy`
|
@@ -3880,54 +3885,83 @@ module Aws::ECS
|
|
3880
3885
|
#
|
3881
3886
|
# @!attribute [rw] maximum_percent
|
3882
3887
|
# If a service is using the rolling update (`ECS`) deployment type,
|
3883
|
-
# the
|
3884
|
-
# number of
|
3885
|
-
# `PENDING` state during a deployment, as a percentage of the
|
3886
|
-
#
|
3887
|
-
#
|
3888
|
-
#
|
3889
|
-
#
|
3890
|
-
#
|
3891
|
-
#
|
3892
|
-
#
|
3893
|
-
#
|
3894
|
-
#
|
3895
|
-
# If a service is using the blue/green (`CODE_DEPLOY`) or
|
3896
|
-
# deployment types and tasks that use the EC2 launch type,
|
3897
|
-
# **maximum percent** value is set to the default value and is
|
3898
|
-
# define the upper limit on the number of the tasks in the
|
3899
|
-
# that remain in the `RUNNING` state while the container
|
3900
|
-
# in the `DRAINING` state. If the tasks in the service
|
3901
|
-
# launch type, the maximum percent value is not used,
|
3902
|
-
# returned when describing your service.
|
3888
|
+
# the `maximumPercent` parameter represents an upper limit on the
|
3889
|
+
# number of your service's tasks that are allowed in the `RUNNING` or
|
3890
|
+
# `PENDING` state during a deployment, as a percentage of the
|
3891
|
+
# `desiredCount` (rounded down to the nearest integer). This parameter
|
3892
|
+
# enables you to define the deployment batch size. For example, if
|
3893
|
+
# your service is using the `REPLICA` service scheduler and has a
|
3894
|
+
# `desiredCount` of four tasks and a `maximumPercent` value of 200%,
|
3895
|
+
# the scheduler may start four new tasks before stopping the four
|
3896
|
+
# older tasks (provided that the cluster resources required to do this
|
3897
|
+
# are available). The default `maximumPercent` value for a service
|
3898
|
+
# using the `REPLICA` service scheduler is 200%.
|
3899
|
+
#
|
3900
|
+
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3901
|
+
# `EXTERNAL` deployment types and tasks that use the EC2 launch type,
|
3902
|
+
# the **maximum percent** value is set to the default value and is
|
3903
|
+
# used to define the upper limit on the number of the tasks in the
|
3904
|
+
# service that remain in the `RUNNING` state while the container
|
3905
|
+
# instances are in the `DRAINING` state. If the tasks in the service
|
3906
|
+
# use the Fargate launch type, the maximum percent value is not used,
|
3907
|
+
# although it is returned when describing your service.
|
3903
3908
|
# @return [Integer]
|
3904
3909
|
#
|
3905
3910
|
# @!attribute [rw] minimum_healthy_percent
|
3906
3911
|
# If a service is using the rolling update (`ECS`) deployment type,
|
3907
|
-
# the
|
3908
|
-
#
|
3909
|
-
# during a deployment, as a percentage of the
|
3910
|
-
#
|
3911
|
-
# instances are in the `DRAINING` state if the service contains tasks
|
3912
|
-
# using the EC2 launch type. This parameter enables you to deploy
|
3912
|
+
# the `minimumHealthyPercent` represents a lower limit on the number
|
3913
|
+
# of your service's tasks that must remain in the `RUNNING` state
|
3914
|
+
# during a deployment, as a percentage of the `desiredCount` (rounded
|
3915
|
+
# up to the nearest integer). This parameter enables you to deploy
|
3913
3916
|
# without using additional cluster capacity. For example, if your
|
3914
|
-
# service has a
|
3915
|
-
#
|
3916
|
-
# cluster capacity before starting two new
|
3917
|
-
#
|
3918
|
-
#
|
3919
|
-
#
|
3920
|
-
#
|
3921
|
-
#
|
3922
|
-
#
|
3923
|
-
#
|
3924
|
-
#
|
3925
|
-
#
|
3926
|
-
#
|
3927
|
-
#
|
3928
|
-
#
|
3929
|
-
#
|
3930
|
-
#
|
3917
|
+
# service has a `desiredCount` of four tasks and a
|
3918
|
+
# `minimumHealthyPercent` of 50%, the service scheduler may stop two
|
3919
|
+
# existing tasks to free up cluster capacity before starting two new
|
3920
|
+
# tasks.
|
3921
|
+
#
|
3922
|
+
# For services that *do not* use a load balancer, the following should
|
3923
|
+
# be noted:
|
3924
|
+
#
|
3925
|
+
# * A service is considered healthy if all essential containers within
|
3926
|
+
# the tasks in the service pass their health checks.
|
3927
|
+
#
|
3928
|
+
# * If a task has no essential containers with a health check defined,
|
3929
|
+
# the service scheduler will wait for 40 seconds after a task
|
3930
|
+
# reaches a `RUNNING` state before the task is counted towards the
|
3931
|
+
# minimum healthy percent total.
|
3932
|
+
#
|
3933
|
+
# * If a task has one or more essential containers with a health check
|
3934
|
+
# defined, the service scheduler will wait for the task to reach a
|
3935
|
+
# healthy status before counting it towards the minimum healthy
|
3936
|
+
# percent total. A task is considered healthy when all essential
|
3937
|
+
# containers within the task have passed their health checks. The
|
3938
|
+
# amount of time the service scheduler can wait for is determined by
|
3939
|
+
# the container health check settings.
|
3940
|
+
#
|
3941
|
+
# For services are that *do* use a load balancer, the following should
|
3942
|
+
# be noted:
|
3943
|
+
#
|
3944
|
+
# * If a task has no essential containers with a health check defined,
|
3945
|
+
# the service scheduler will wait for the load balancer target group
|
3946
|
+
# health check to return a healthy status before counting the task
|
3947
|
+
# towards the minimum healthy percent total.
|
3948
|
+
#
|
3949
|
+
# * If a task has an essential container with a health check defined,
|
3950
|
+
# the service scheduler will wait for both the task to reach a
|
3951
|
+
# healthy status and the load balancer target group health check to
|
3952
|
+
# return a healthy status before counting the task towards the
|
3953
|
+
# minimum healthy percent total.
|
3954
|
+
#
|
3955
|
+
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3956
|
+
# `EXTERNAL` deployment types and is running tasks that use the EC2
|
3957
|
+
# launch type, the **minimum healthy percent** value is set to the
|
3958
|
+
# default value and is used to define the lower limit on the number of
|
3959
|
+
# the tasks in the service that remain in the `RUNNING` state while
|
3960
|
+
# the container instances are in the `DRAINING` state. If a service is
|
3961
|
+
# using either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment
|
3962
|
+
# types and is running tasks that use the Fargate launch type, the
|
3963
|
+
# minimum healthy percent value is not used, although it is returned
|
3964
|
+
# when describing your service.
|
3931
3965
|
# @return [Integer]
|
3932
3966
|
#
|
3933
3967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeploymentConfiguration AWS API Documentation
|
@@ -3941,7 +3975,7 @@ module Aws::ECS
|
|
3941
3975
|
end
|
3942
3976
|
|
3943
3977
|
# The deployment controller to use for the service. For more
|
3944
|
-
# information, see [Amazon ECS
|
3978
|
+
# information, see [Amazon ECS deployment types][1] in the *Amazon
|
3945
3979
|
# Elastic Container Service Developer Guide*.
|
3946
3980
|
#
|
3947
3981
|
#
|
@@ -4008,11 +4042,12 @@ module Aws::ECS
|
|
4008
4042
|
#
|
4009
4043
|
# @!attribute [rw] container_instance
|
4010
4044
|
# The container instance ID or full ARN of the container instance to
|
4011
|
-
# deregister.
|
4012
|
-
#
|
4013
|
-
#
|
4014
|
-
#
|
4015
|
-
#
|
4045
|
+
# deregister. For more information about the ARN format, see [Amazon
|
4046
|
+
# Resource Name (ARN)][1] in the *Amazon ECS Developer Guide*.
|
4047
|
+
#
|
4048
|
+
#
|
4049
|
+
#
|
4050
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
4016
4051
|
# @return [String]
|
4017
4052
|
#
|
4018
4053
|
# @!attribute [rw] force
|
@@ -4578,12 +4613,13 @@ module Aws::ECS
|
|
4578
4613
|
# }
|
4579
4614
|
#
|
4580
4615
|
# @!attribute [rw] container_instance
|
4581
|
-
# The container instance ID or full ARN of the container instance.
|
4582
|
-
#
|
4583
|
-
#
|
4584
|
-
#
|
4585
|
-
#
|
4586
|
-
#
|
4616
|
+
# The container instance ID or full ARN of the container instance. For
|
4617
|
+
# more information about the ARN format, see [Amazon Resource Name
|
4618
|
+
# (ARN)][1] in the *Amazon ECS Developer Guide*.
|
4619
|
+
#
|
4620
|
+
#
|
4621
|
+
#
|
4622
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
4587
4623
|
# @return [String]
|
4588
4624
|
#
|
4589
4625
|
# @!attribute [rw] cluster
|
@@ -4729,7 +4765,7 @@ module Aws::ECS
|
|
4729
4765
|
# will enforce the path set on the EFS access point. If an access
|
4730
4766
|
# point is used, transit encryption must be enabled in the
|
4731
4767
|
# `EFSVolumeConfiguration`. For more information, see [Working with
|
4732
|
-
# Amazon EFS
|
4768
|
+
# Amazon EFS access points][1] in the *Amazon Elastic File System User
|
4733
4769
|
# Guide*.
|
4734
4770
|
#
|
4735
4771
|
#
|
@@ -4743,7 +4779,7 @@ module Aws::ECS
|
|
4743
4779
|
# enabled, transit encryption must be enabled in the
|
4744
4780
|
# `EFSVolumeConfiguration`. If this parameter is omitted, the default
|
4745
4781
|
# value of `DISABLED` is used. For more information, see [Using Amazon
|
4746
|
-
# EFS
|
4782
|
+
# EFS access points][1] in the *Amazon Elastic Container Service
|
4747
4783
|
# Developer Guide*.
|
4748
4784
|
#
|
4749
4785
|
#
|
@@ -4762,7 +4798,7 @@ module Aws::ECS
|
|
4762
4798
|
|
4763
4799
|
# This parameter is specified when you're using an Amazon Elastic File
|
4764
4800
|
# System file system for task storage. For more information, see [Amazon
|
4765
|
-
# EFS
|
4801
|
+
# EFS volumes][1] in the *Amazon Elastic Container Service Developer
|
4766
4802
|
# Guide*.
|
4767
4803
|
#
|
4768
4804
|
#
|
@@ -4803,7 +4839,7 @@ module Aws::ECS
|
|
4803
4839
|
# between the Amazon ECS host and the Amazon EFS server. Transit
|
4804
4840
|
# encryption must be enabled if Amazon EFS IAM authorization is used.
|
4805
4841
|
# If this parameter is omitted, the default value of `DISABLED` is
|
4806
|
-
# used. For more information, see [Encrypting
|
4842
|
+
# used. For more information, see [Encrypting data in transit][1] in
|
4807
4843
|
# the *Amazon Elastic File System User Guide*.
|
4808
4844
|
#
|
4809
4845
|
#
|
@@ -4815,8 +4851,8 @@ module Aws::ECS
|
|
4815
4851
|
# The port to use when sending encrypted data between the Amazon ECS
|
4816
4852
|
# host and the Amazon EFS server. If you do not specify a transit
|
4817
4853
|
# encryption port, it will use the port selection strategy that the
|
4818
|
-
# Amazon EFS mount helper uses. For more information, see [EFS
|
4819
|
-
#
|
4854
|
+
# Amazon EFS mount helper uses. For more information, see [EFS mount
|
4855
|
+
# helper][1] in the *Amazon Elastic File System User Guide*.
|
4820
4856
|
#
|
4821
4857
|
#
|
4822
4858
|
#
|
@@ -5133,8 +5169,8 @@ module Aws::ECS
|
|
5133
5169
|
|
5134
5170
|
# The authorization configuration details for Amazon FSx for Windows
|
5135
5171
|
# File Server file system. See
|
5136
|
-
# [FSxWindowsFileServerVolumeConfiguration][1] in the *Amazon
|
5137
|
-
#
|
5172
|
+
# [FSxWindowsFileServerVolumeConfiguration][1] in the *Amazon ECS API
|
5173
|
+
# Reference*.
|
5138
5174
|
#
|
5139
5175
|
# For more information and the input format, see [Amazon FSx for Windows
|
5140
5176
|
# File Server Volumes][2] in the *Amazon Elastic Container Service
|
@@ -5157,7 +5193,7 @@ module Aws::ECS
|
|
5157
5193
|
# The authorization credential option to use. The authorization
|
5158
5194
|
# credential options can be provided using either the Amazon Resource
|
5159
5195
|
# Name (ARN) of an Secrets Manager secret or SSM Parameter Store
|
5160
|
-
# parameter. The
|
5196
|
+
# parameter. The ARN refers to the stored credentials.
|
5161
5197
|
# @return [String]
|
5162
5198
|
#
|
5163
5199
|
# @!attribute [rw] domain
|
@@ -5183,7 +5219,7 @@ module Aws::ECS
|
|
5183
5219
|
# File Server][1] file system for task storage.
|
5184
5220
|
#
|
5185
5221
|
# For more information and the input format, see [Amazon FSx for Windows
|
5186
|
-
# File Server
|
5222
|
+
# File Server volumes][2] in the *Amazon Elastic Container Service
|
5187
5223
|
# Developer Guide*.
|
5188
5224
|
#
|
5189
5225
|
#
|
@@ -5258,7 +5294,7 @@ module Aws::ECS
|
|
5258
5294
|
|
5259
5295
|
# The FireLens configuration for the container. This is used to specify
|
5260
5296
|
# and configure a log router for container logs. For more information,
|
5261
|
-
# see [Custom
|
5297
|
+
# see [Custom log routing][1] in the *Amazon Elastic Container Service
|
5262
5298
|
# Developer Guide*.
|
5263
5299
|
#
|
5264
5300
|
#
|
@@ -5287,8 +5323,8 @@ module Aws::ECS
|
|
5287
5323
|
# cluster, and container instance details to the log event. If
|
5288
5324
|
# specified, the syntax to use is
|
5289
5325
|
# `"options":\{"enable-ecs-log-metadata":"true|false","config-file-type:"s3|file","config-file-value":"arn:aws:s3:::mybucket/fluent.conf|filepath"\}`.
|
5290
|
-
# For more information, see [Creating a
|
5291
|
-
# FireLens
|
5326
|
+
# For more information, see [Creating a task definition that uses a
|
5327
|
+
# FireLens configuration][1] in the *Amazon Elastic Container Service
|
5292
5328
|
# Developer Guide*.
|
5293
5329
|
#
|
5294
5330
|
# <note markdown="1"> Tasks hosted on Fargate only support the `file` configuration file
|
@@ -5361,11 +5397,11 @@ module Aws::ECS
|
|
5361
5397
|
#
|
5362
5398
|
# * Container health checks require version 1.17.0 or greater of the
|
5363
5399
|
# Amazon ECS container agent. For more information, see [Updating the
|
5364
|
-
# Amazon ECS
|
5400
|
+
# Amazon ECS container agent][1].
|
5365
5401
|
#
|
5366
5402
|
# * Container health checks are supported for Fargate tasks if you're
|
5367
|
-
# using platform version 1.1.0 or greater. For more information, see
|
5368
|
-
# [Fargate
|
5403
|
+
# using platform version `1.1.0` or greater. For more information, see
|
5404
|
+
# [Fargate platform versions][2].
|
5369
5405
|
#
|
5370
5406
|
# * Container health checks aren't supported for tasks that are part of
|
5371
5407
|
# a service that's configured to use a Classic Load Balancer.
|
@@ -5389,7 +5425,7 @@ module Aws::ECS
|
|
5389
5425
|
# @!attribute [rw] command
|
5390
5426
|
# A string array representing the command that the container runs to
|
5391
5427
|
# determine if it is healthy. The string array must start with `CMD`
|
5392
|
-
# to
|
5428
|
+
# to run the command arguments directly, or `CMD-SHELL` to run the
|
5393
5429
|
# command with the container's default shell.
|
5394
5430
|
#
|
5395
5431
|
# When you use the Amazon Web Services Management Console JSON panel,
|
@@ -6692,8 +6728,8 @@ module Aws::ECS
|
|
6692
6728
|
# update the Elastic Load Balancing configuration.
|
6693
6729
|
#
|
6694
6730
|
# A service-linked role is required for services that use multiple
|
6695
|
-
# target groups. For more information, see [
|
6696
|
-
# the *Amazon Elastic Container Service Developer Guide*.
|
6731
|
+
# target groups. For more information, see [Using service-linked
|
6732
|
+
# roles][1] in the *Amazon Elastic Container Service Developer Guide*.
|
6697
6733
|
#
|
6698
6734
|
#
|
6699
6735
|
#
|
@@ -6719,12 +6755,12 @@ module Aws::ECS
|
|
6719
6755
|
#
|
6720
6756
|
# For services using the `ECS` deployment controller, you can specify
|
6721
6757
|
# one or multiple target groups. For more information, see
|
6722
|
-
# [Registering
|
6758
|
+
# [Registering multiple target groups with a service][1] in the
|
6723
6759
|
# *Amazon Elastic Container Service Developer Guide*.
|
6724
6760
|
#
|
6725
6761
|
# For services using the `CODE_DEPLOY` deployment controller, you're
|
6726
6762
|
# required to define two target groups for the load balancer. For more
|
6727
|
-
# information, see [Blue/
|
6763
|
+
# information, see [Blue/green deployment with CodeDeploy][2] in the
|
6728
6764
|
# *Amazon Elastic Container Service Developer Guide*.
|
6729
6765
|
#
|
6730
6766
|
# If your service's task definition uses the `awsvpc` network mode,
|
@@ -6878,7 +6914,7 @@ module Aws::ECS
|
|
6878
6914
|
#
|
6879
6915
|
# @!attribute [rw] secret_options
|
6880
6916
|
# The secrets to pass to the log configuration. For more information,
|
6881
|
-
# see [Specifying
|
6917
|
+
# see [Specifying sensitive data][1] in the *Amazon Elastic Container
|
6882
6918
|
# Service Developer Guide*.
|
6883
6919
|
#
|
6884
6920
|
#
|
@@ -6973,7 +7009,7 @@ module Aws::ECS
|
|
6973
7009
|
# scale-out actions of the Auto Scaling group. Amazon ECS manages a
|
6974
7010
|
# target tracking scaling policy using an Amazon ECS managed CloudWatch
|
6975
7011
|
# metric with the specified `targetCapacity` value as the target value
|
6976
|
-
# for the metric. For more information, see [Using
|
7012
|
+
# for the metric. For more information, see [Using managed scaling][1]
|
6977
7013
|
# in the *Amazon Elastic Container Service Developer Guide*.
|
6978
7014
|
#
|
6979
7015
|
# If managed scaling is disabled, the user must manage the scaling of
|
@@ -7192,7 +7228,7 @@ module Aws::ECS
|
|
7192
7228
|
class NoUpdateAvailableException < Aws::EmptyStructure; end
|
7193
7229
|
|
7194
7230
|
# An object representing a constraint on task placement. For more
|
7195
|
-
# information, see [Task
|
7231
|
+
# information, see [Task placement constraints][1] in the *Amazon
|
7196
7232
|
# Elastic Container Service Developer Guide*.
|
7197
7233
|
#
|
7198
7234
|
# <note markdown="1"> If you're using the Fargate launch type, task placement constraints
|
@@ -7241,7 +7277,7 @@ module Aws::ECS
|
|
7241
7277
|
end
|
7242
7278
|
|
7243
7279
|
# The task placement strategy for a task or service. For more
|
7244
|
-
# information, see [Task
|
7280
|
+
# information, see [Task placement strategies][1] in the *Amazon Elastic
|
7245
7281
|
# Container Service Developer Guide*.
|
7246
7282
|
#
|
7247
7283
|
#
|
@@ -8248,7 +8284,8 @@ module Aws::ECS
|
|
8248
8284
|
#
|
8249
8285
|
# If you're using the EC2 launch type, this field is optional.
|
8250
8286
|
# Supported values are between `128` CPU units (`0.125` vCPUs) and
|
8251
|
-
# `10240` CPU units (`10` vCPUs).
|
8287
|
+
# `10240` CPU units (`10` vCPUs). If you do not specify a value, the
|
8288
|
+
# parameter is ignored.
|
8252
8289
|
#
|
8253
8290
|
# If you're using the Fargate launch type, this field is required and
|
8254
8291
|
# you must use one of the following values, which determines your
|
@@ -8267,11 +8304,21 @@ module Aws::ECS
|
|
8267
8304
|
# GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
|
8268
8305
|
# GB)
|
8269
8306
|
#
|
8270
|
-
# * 2048 (2 vCPU) - Available `memory` values:
|
8271
|
-
#
|
8307
|
+
# * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
|
8308
|
+
# (16 GB) in increments of 1024 (1 GB)
|
8309
|
+
#
|
8310
|
+
# * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
|
8311
|
+
# (30 GB) in increments of 1024 (1 GB)
|
8312
|
+
#
|
8313
|
+
# * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
|
8314
|
+
# increments
|
8315
|
+
#
|
8316
|
+
# This option requires Linux platform `1.4.0` or later.
|
8272
8317
|
#
|
8273
|
-
# *
|
8274
|
-
#
|
8318
|
+
# * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
|
8319
|
+
# GB increments
|
8320
|
+
#
|
8321
|
+
# This option requires Linux platform `1.4.0` or later.
|
8275
8322
|
# @return [String]
|
8276
8323
|
#
|
8277
8324
|
# @!attribute [rw] memory
|
@@ -8310,6 +8357,16 @@ module Aws::ECS
|
|
8310
8357
|
#
|
8311
8358
|
# * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
|
8312
8359
|
# - Available `cpu` values: 4096 (4 vCPU)
|
8360
|
+
#
|
8361
|
+
# * Between 16 GB and 60 GB in 4 GB increments - Available `cpu`
|
8362
|
+
# values: 8192 (8 vCPU)
|
8363
|
+
#
|
8364
|
+
# This option requires Linux platform `1.4.0` or later.
|
8365
|
+
#
|
8366
|
+
# * Between 32GB and 120 GB in 8 GB increments - Available `cpu`
|
8367
|
+
# values: 16384 (16 vCPU)
|
8368
|
+
#
|
8369
|
+
# This option requires Linux platform `1.4.0` or later.
|
8313
8370
|
# @return [String]
|
8314
8371
|
#
|
8315
8372
|
# @!attribute [rw] tags
|
@@ -9010,9 +9067,8 @@ module Aws::ECS
|
|
9010
9067
|
|
9011
9068
|
# Information about the platform for the Amazon ECS service or task.
|
9012
9069
|
#
|
9013
|
-
# For more
|
9014
|
-
#
|
9015
|
-
# Developer Guide*.
|
9070
|
+
# For more information about `RuntimePlatform`, see [RuntimePlatform][1]
|
9071
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
9016
9072
|
#
|
9017
9073
|
#
|
9018
9074
|
#
|
@@ -9031,7 +9087,7 @@ module Aws::ECS
|
|
9031
9087
|
#
|
9032
9088
|
# You can run your Linux tasks on an ARM-based platform by setting the
|
9033
9089
|
# value to `ARM64`. This option is avaiable for tasks that run on
|
9034
|
-
#
|
9090
|
+
# Linux Amazon EC2 instance or Linux containers on Fargate.
|
9035
9091
|
# @return [String]
|
9036
9092
|
#
|
9037
9093
|
# @!attribute [rw] operating_system_family
|
@@ -9086,7 +9142,7 @@ module Aws::ECS
|
|
9086
9142
|
# * To reference sensitive information in the log configuration of a
|
9087
9143
|
# container, use the `secretOptions` container definition parameter.
|
9088
9144
|
#
|
9089
|
-
# For more information, see [Specifying
|
9145
|
+
# For more information, see [Specifying sensitive data][1] in the
|
9090
9146
|
# *Amazon Elastic Container Service Developer Guide*.
|
9091
9147
|
#
|
9092
9148
|
#
|
@@ -9154,11 +9210,13 @@ module Aws::ECS
|
|
9154
9210
|
# Details on a service within a cluster
|
9155
9211
|
#
|
9156
9212
|
# @!attribute [rw] service_arn
|
9157
|
-
# The ARN that identifies the service.
|
9158
|
-
#
|
9159
|
-
#
|
9160
|
-
#
|
9161
|
-
#
|
9213
|
+
# The ARN that identifies the service. For more information about the
|
9214
|
+
# ARN format, see [Amazon Resource Name (ARN)][1] in the *Amazon ECS
|
9215
|
+
# Developer Guide*.
|
9216
|
+
#
|
9217
|
+
#
|
9218
|
+
#
|
9219
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids
|
9162
9220
|
# @return [String]
|
9163
9221
|
#
|
9164
9222
|
# @!attribute [rw] service_name
|
@@ -10381,11 +10439,21 @@ module Aws::ECS
|
|
10381
10439
|
# GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
|
10382
10440
|
# GB)
|
10383
10441
|
#
|
10384
|
-
# * 2048 (2 vCPU) - Available `memory` values:
|
10385
|
-
#
|
10442
|
+
# * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
|
10443
|
+
# (16 GB) in increments of 1024 (1 GB)
|
10444
|
+
#
|
10445
|
+
# * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
|
10446
|
+
# (30 GB) in increments of 1024 (1 GB)
|
10447
|
+
#
|
10448
|
+
# * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
|
10449
|
+
# increments
|
10450
|
+
#
|
10451
|
+
# This option requires Linux platform `1.4.0` or later.
|
10386
10452
|
#
|
10387
|
-
# *
|
10388
|
-
#
|
10453
|
+
# * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
|
10454
|
+
# GB increments
|
10455
|
+
#
|
10456
|
+
# This option requires Linux platform `1.4.0` or later.
|
10389
10457
|
# @return [String]
|
10390
10458
|
#
|
10391
10459
|
# @!attribute [rw] created_at
|
@@ -10486,6 +10554,16 @@ module Aws::ECS
|
|
10486
10554
|
#
|
10487
10555
|
# * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
|
10488
10556
|
# - Available `cpu` values: 4096 (4 vCPU)
|
10557
|
+
#
|
10558
|
+
# * Between 16 GB and 60 GB in 4 GB increments - Available `cpu`
|
10559
|
+
# values: 8192 (8 vCPU)
|
10560
|
+
#
|
10561
|
+
# This option requires Linux platform `1.4.0` or later.
|
10562
|
+
#
|
10563
|
+
# * Between 32GB and 120 GB in 8 GB increments - Available `cpu`
|
10564
|
+
# values: 16384 (16 vCPU)
|
10565
|
+
#
|
10566
|
+
# This option requires Linux platform `1.4.0` or later.
|
10489
10567
|
# @return [String]
|
10490
10568
|
#
|
10491
10569
|
# @!attribute [rw] overrides
|
@@ -10875,11 +10953,21 @@ module Aws::ECS
|
|
10875
10953
|
# GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
|
10876
10954
|
# GB)
|
10877
10955
|
#
|
10878
|
-
# * 2048 (2 vCPU) - Available `memory` values:
|
10879
|
-
#
|
10956
|
+
# * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
|
10957
|
+
# (16 GB) in increments of 1024 (1 GB)
|
10958
|
+
#
|
10959
|
+
# * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
|
10960
|
+
# (30 GB) in increments of 1024 (1 GB)
|
10961
|
+
#
|
10962
|
+
# * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
|
10963
|
+
# increments
|
10880
10964
|
#
|
10881
|
-
#
|
10882
|
-
#
|
10965
|
+
# This option requires Linux platform `1.4.0` or later.
|
10966
|
+
#
|
10967
|
+
# * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
|
10968
|
+
# GB increments
|
10969
|
+
#
|
10970
|
+
# This option requires Linux platform `1.4.0` or later.
|
10883
10971
|
# @return [String]
|
10884
10972
|
#
|
10885
10973
|
# @!attribute [rw] memory
|
@@ -10911,6 +10999,16 @@ module Aws::ECS
|
|
10911
10999
|
# * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
|
10912
11000
|
# - Available `cpu` values: 4096 (4 vCPU)
|
10913
11001
|
#
|
11002
|
+
# * Between 16 GB and 60 GB in 4 GB increments - Available `cpu`
|
11003
|
+
# values: 8192 (8 vCPU)
|
11004
|
+
#
|
11005
|
+
# This option requires Linux platform `1.4.0` or later.
|
11006
|
+
#
|
11007
|
+
# * Between 32GB and 120 GB in 8 GB increments - Available `cpu`
|
11008
|
+
# values: 16384 (16 vCPU)
|
11009
|
+
#
|
11010
|
+
# This option requires Linux platform `1.4.0` or later.
|
11011
|
+
#
|
10914
11012
|
#
|
10915
11013
|
#
|
10916
11014
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ContainerDefinition.html
|
data/lib/aws-sdk-ecs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.101.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|