aws-sdk-ecs 1.46.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +33 -16
- data/lib/aws-sdk-ecs/client_api.rb +3 -0
- data/lib/aws-sdk-ecs/types.rb +79 -70
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48a6cd8ba7edb734c752e4692c0a030f420fee7e
|
4
|
+
data.tar.gz: a444fc5646e5151c26e3963f778dc847c7fa8522
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca0c093df41d9121244b33a5f018c7460508c9f658c2b6bfb73c40a3f96f4f26cb8273860fee9805bcad857bde4ce3a5818814cbae7632974b9e5b9c5f3b1b0e
|
7
|
+
data.tar.gz: f54fafd3eb97426105a2883e5013372d3a0a98ce74f3f5f0285954754ba9271a90522ac360a5552abda808876a9731d8ea572a6a035615918ac5f3fad0eccbd4
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -398,14 +398,15 @@ module Aws::ECS
|
|
398
398
|
|
399
399
|
# Runs and maintains a desired number of tasks from a specified task
|
400
400
|
# definition. If the number of tasks running in a service drops below
|
401
|
-
# the `desiredCount`, Amazon ECS
|
401
|
+
# the `desiredCount`, Amazon ECS runs another copy of the task in the
|
402
402
|
# specified cluster. To update an existing service, see UpdateService.
|
403
403
|
#
|
404
404
|
# In addition to maintaining the desired count of tasks in your service,
|
405
|
-
# you can optionally run your service behind
|
406
|
-
#
|
407
|
-
# the service. For more information, see [Service Load
|
408
|
-
# the *Amazon Elastic Container Service Developer
|
405
|
+
# you can optionally run your service behind one or more load balancers.
|
406
|
+
# The load balancers distribute traffic across the tasks that are
|
407
|
+
# associated with the service. For more information, see [Service Load
|
408
|
+
# Balancing][1] in the *Amazon Elastic Container Service Developer
|
409
|
+
# Guide*.
|
409
410
|
#
|
410
411
|
# Tasks for services that *do not* use a load balancer are considered
|
411
412
|
# healthy if they're in the `RUNNING` state. Tasks for services that
|
@@ -534,11 +535,14 @@ module Aws::ECS
|
|
534
535
|
# deployment controller.
|
535
536
|
#
|
536
537
|
# @option params [Array<Types::LoadBalancer>] :load_balancers
|
537
|
-
# A load balancer object representing the load
|
538
|
-
# service.
|
538
|
+
# A load balancer object representing the load balancers to use with
|
539
|
+
# your service. For more information, see [Service Load Balancing][1] in
|
540
|
+
# the *Amazon Elastic Container Service Developer Guide*.
|
539
541
|
#
|
540
|
-
# If the service is using the `ECS` deployment
|
541
|
-
#
|
542
|
+
# If the service is using the rolling update (`ECS`) deployment
|
543
|
+
# controller and using either an Application Load Balancer or Network
|
544
|
+
# Load Balancer, you can specify multiple target groups to attach to the
|
545
|
+
# service.
|
542
546
|
#
|
543
547
|
# If the service is using the `CODE_DEPLOY` deployment controller, the
|
544
548
|
# service is required to use either an Application Load Balancer or
|
@@ -558,12 +562,6 @@ module Aws::ECS
|
|
558
562
|
# using the `CODE_DEPLOY` deployment controller, these values can be
|
559
563
|
# changed when updating the service.
|
560
564
|
#
|
561
|
-
# For Classic Load Balancers, this object must contain the load balancer
|
562
|
-
# name, the container name (as it appears in a container definition),
|
563
|
-
# and the container port to access from the load balancer. When a task
|
564
|
-
# from this service is placed on a container instance, the container
|
565
|
-
# instance is registered with the load balancer specified here.
|
566
|
-
#
|
567
565
|
# For Application Load Balancers and Network Load Balancers, this object
|
568
566
|
# must contain the load balancer target group ARN, the container name
|
569
567
|
# (as it appears in a container definition), and the container port to
|
@@ -571,6 +569,12 @@ module Aws::ECS
|
|
571
569
|
# on a container instance, the container instance and port combination
|
572
570
|
# is registered as a target in the target group specified here.
|
573
571
|
#
|
572
|
+
# For Classic Load Balancers, this object must contain the load balancer
|
573
|
+
# name, the container name (as it appears in a container definition),
|
574
|
+
# and the container port to access from the load balancer. When a task
|
575
|
+
# from this service is placed on a container instance, the container
|
576
|
+
# instance is registered with the load balancer specified here.
|
577
|
+
#
|
574
578
|
# Services with tasks that use the `awsvpc` network mode (for example,
|
575
579
|
# those with the Fargate launch type) only support Application Load
|
576
580
|
# Balancers and Network Load Balancers. Classic Load Balancers are not
|
@@ -579,6 +583,10 @@ module Aws::ECS
|
|
579
583
|
# that use the `awsvpc` network mode are associated with an elastic
|
580
584
|
# network interface, not an Amazon EC2 instance.
|
581
585
|
#
|
586
|
+
#
|
587
|
+
#
|
588
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
|
589
|
+
#
|
582
590
|
# @option params [Array<Types::ServiceRegistry>] :service_registries
|
583
591
|
# The details of the service discovery registries to assign to this
|
584
592
|
# service. For more information, see [Service Discovery][1].
|
@@ -2906,6 +2914,7 @@ module Aws::ECS
|
|
2906
2914
|
# resp.tasks[0].containers[0].container_arn #=> String
|
2907
2915
|
# resp.tasks[0].containers[0].task_arn #=> String
|
2908
2916
|
# resp.tasks[0].containers[0].name #=> String
|
2917
|
+
# resp.tasks[0].containers[0].runtime_id #=> String
|
2909
2918
|
# resp.tasks[0].containers[0].last_status #=> String
|
2910
2919
|
# resp.tasks[0].containers[0].exit_code #=> Integer
|
2911
2920
|
# resp.tasks[0].containers[0].reason #=> String
|
@@ -5349,6 +5358,7 @@ module Aws::ECS
|
|
5349
5358
|
# resp.tasks[0].containers[0].container_arn #=> String
|
5350
5359
|
# resp.tasks[0].containers[0].task_arn #=> String
|
5351
5360
|
# resp.tasks[0].containers[0].name #=> String
|
5361
|
+
# resp.tasks[0].containers[0].runtime_id #=> String
|
5352
5362
|
# resp.tasks[0].containers[0].last_status #=> String
|
5353
5363
|
# resp.tasks[0].containers[0].exit_code #=> Integer
|
5354
5364
|
# resp.tasks[0].containers[0].reason #=> String
|
@@ -5599,6 +5609,7 @@ module Aws::ECS
|
|
5599
5609
|
# resp.tasks[0].containers[0].container_arn #=> String
|
5600
5610
|
# resp.tasks[0].containers[0].task_arn #=> String
|
5601
5611
|
# resp.tasks[0].containers[0].name #=> String
|
5612
|
+
# resp.tasks[0].containers[0].runtime_id #=> String
|
5602
5613
|
# resp.tasks[0].containers[0].last_status #=> String
|
5603
5614
|
# resp.tasks[0].containers[0].exit_code #=> Integer
|
5604
5615
|
# resp.tasks[0].containers[0].reason #=> String
|
@@ -5734,6 +5745,7 @@ module Aws::ECS
|
|
5734
5745
|
# resp.task.containers[0].container_arn #=> String
|
5735
5746
|
# resp.task.containers[0].task_arn #=> String
|
5736
5747
|
# resp.task.containers[0].name #=> String
|
5748
|
+
# resp.task.containers[0].runtime_id #=> String
|
5737
5749
|
# resp.task.containers[0].last_status #=> String
|
5738
5750
|
# resp.task.containers[0].exit_code #=> Integer
|
5739
5751
|
# resp.task.containers[0].reason #=> String
|
@@ -5849,6 +5861,9 @@ module Aws::ECS
|
|
5849
5861
|
# @option params [String] :container_name
|
5850
5862
|
# The name of the container.
|
5851
5863
|
#
|
5864
|
+
# @option params [String] :runtime_id
|
5865
|
+
# The ID of the Docker container.
|
5866
|
+
#
|
5852
5867
|
# @option params [String] :status
|
5853
5868
|
# The status of the state change request.
|
5854
5869
|
#
|
@@ -5871,6 +5886,7 @@ module Aws::ECS
|
|
5871
5886
|
# cluster: "String",
|
5872
5887
|
# task: "String",
|
5873
5888
|
# container_name: "String",
|
5889
|
+
# runtime_id: "String",
|
5874
5890
|
# status: "String",
|
5875
5891
|
# exit_code: 1,
|
5876
5892
|
# reason: "String",
|
@@ -5946,6 +5962,7 @@ module Aws::ECS
|
|
5946
5962
|
# containers: [
|
5947
5963
|
# {
|
5948
5964
|
# container_name: "String",
|
5965
|
+
# runtime_id: "String",
|
5949
5966
|
# exit_code: 1,
|
5950
5967
|
# network_bindings: [
|
5951
5968
|
# {
|
@@ -6877,7 +6894,7 @@ module Aws::ECS
|
|
6877
6894
|
params: params,
|
6878
6895
|
config: config)
|
6879
6896
|
context[:gem_name] = 'aws-sdk-ecs'
|
6880
|
-
context[:gem_version] = '1.
|
6897
|
+
context[:gem_version] = '1.47.0'
|
6881
6898
|
Seahorse::Client::Request.new(handlers, context)
|
6882
6899
|
end
|
6883
6900
|
|
@@ -343,6 +343,7 @@ module Aws::ECS
|
|
343
343
|
Container.add_member(:container_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerArn"))
|
344
344
|
Container.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
345
345
|
Container.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
346
|
+
Container.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
|
346
347
|
Container.add_member(:last_status, Shapes::ShapeRef.new(shape: String, location_name: "lastStatus"))
|
347
348
|
Container.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
|
348
349
|
Container.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
@@ -436,6 +437,7 @@ module Aws::ECS
|
|
436
437
|
ContainerOverrides.member = Shapes::ShapeRef.new(shape: ContainerOverride)
|
437
438
|
|
438
439
|
ContainerStateChange.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
440
|
+
ContainerStateChange.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
|
439
441
|
ContainerStateChange.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
|
440
442
|
ContainerStateChange.add_member(:network_bindings, Shapes::ShapeRef.new(shape: NetworkBindings, location_name: "networkBindings"))
|
441
443
|
ContainerStateChange.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
@@ -1066,6 +1068,7 @@ module Aws::ECS
|
|
1066
1068
|
SubmitContainerStateChangeRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
1067
1069
|
SubmitContainerStateChangeRequest.add_member(:task, Shapes::ShapeRef.new(shape: String, location_name: "task"))
|
1068
1070
|
SubmitContainerStateChangeRequest.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
1071
|
+
SubmitContainerStateChangeRequest.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
|
1069
1072
|
SubmitContainerStateChangeRequest.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
1070
1073
|
SubmitContainerStateChangeRequest.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
|
1071
1074
|
SubmitContainerStateChangeRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -342,6 +342,10 @@ module Aws::ECS
|
|
342
342
|
# The name of the container.
|
343
343
|
# @return [String]
|
344
344
|
#
|
345
|
+
# @!attribute [rw] runtime_id
|
346
|
+
# The ID of the Docker container.
|
347
|
+
# @return [String]
|
348
|
+
#
|
345
349
|
# @!attribute [rw] last_status
|
346
350
|
# The last known status of the container.
|
347
351
|
# @return [String]
|
@@ -393,6 +397,7 @@ module Aws::ECS
|
|
393
397
|
:container_arn,
|
394
398
|
:task_arn,
|
395
399
|
:name,
|
400
|
+
:runtime_id,
|
396
401
|
:last_status,
|
397
402
|
:exit_code,
|
398
403
|
:reason,
|
@@ -968,13 +973,13 @@ module Aws::ECS
|
|
968
973
|
# @return [Array<Types::ContainerDependency>]
|
969
974
|
#
|
970
975
|
# @!attribute [rw] start_timeout
|
971
|
-
# Time duration to wait before giving up on resolving
|
972
|
-
# a container. For example, you specify two
|
973
|
-
# definition with containerA having a dependency
|
974
|
-
# reaching a `COMPLETE`, `SUCCESS`, or `HEALTHY` status.
|
975
|
-
# `startTimeout` value is specified for containerB and it does
|
976
|
-
# reach the desired status within that time then containerA will
|
977
|
-
# up and not start. This results in the task transitioning to a
|
976
|
+
# Time duration (in seconds) to wait before giving up on resolving
|
977
|
+
# dependencies for a container. For example, you specify two
|
978
|
+
# containers in a task definition with containerA having a dependency
|
979
|
+
# on containerB reaching a `COMPLETE`, `SUCCESS`, or `HEALTHY` status.
|
980
|
+
# If a `startTimeout` value is specified for containerB and it does
|
981
|
+
# not reach the desired status within that time then containerA will
|
982
|
+
# give up and not start. This results in the task transitioning to a
|
978
983
|
# `STOPPED` state.
|
979
984
|
#
|
980
985
|
# For tasks using the EC2 launch type, the container instances require
|
@@ -1002,12 +1007,12 @@ module Aws::ECS
|
|
1002
1007
|
# @return [Integer]
|
1003
1008
|
#
|
1004
1009
|
# @!attribute [rw] stop_timeout
|
1005
|
-
# Time duration to wait before the container is
|
1006
|
-
# it doesn't exit normally on its own. For tasks
|
1007
|
-
# launch type, the max `stopTimeout` value is 2
|
1008
|
-
# parameter is available for tasks using the Fargate
|
1009
|
-
# the Ohio (us-east-2) region only and the task or
|
1010
|
-
# platform version 1.3.0 or later.
|
1010
|
+
# Time duration (in seconds) to wait before the container is
|
1011
|
+
# forcefully killed if it doesn't exit normally on its own. For tasks
|
1012
|
+
# using the Fargate launch type, the max `stopTimeout` value is 2
|
1013
|
+
# minutes. This parameter is available for tasks using the Fargate
|
1014
|
+
# launch type in the Ohio (us-east-2) region only and the task or
|
1015
|
+
# service requires platform version 1.3.0 or later.
|
1011
1016
|
#
|
1012
1017
|
# For tasks using the EC2 launch type, the stop timeout value for the
|
1013
1018
|
# container takes precedence over the `ECS_CONTAINER_STOP_TIMEOUT`
|
@@ -1761,6 +1766,7 @@ module Aws::ECS
|
|
1761
1766
|
#
|
1762
1767
|
# {
|
1763
1768
|
# container_name: "String",
|
1769
|
+
# runtime_id: "String",
|
1764
1770
|
# exit_code: 1,
|
1765
1771
|
# network_bindings: [
|
1766
1772
|
# {
|
@@ -1778,6 +1784,10 @@ module Aws::ECS
|
|
1778
1784
|
# The name of the container.
|
1779
1785
|
# @return [String]
|
1780
1786
|
#
|
1787
|
+
# @!attribute [rw] runtime_id
|
1788
|
+
# The ID of the Docker container.
|
1789
|
+
# @return [String]
|
1790
|
+
#
|
1781
1791
|
# @!attribute [rw] exit_code
|
1782
1792
|
# The exit code for the container, if the state change is a result of
|
1783
1793
|
# the container exiting.
|
@@ -1799,6 +1809,7 @@ module Aws::ECS
|
|
1799
1809
|
#
|
1800
1810
|
class ContainerStateChange < Struct.new(
|
1801
1811
|
:container_name,
|
1812
|
+
:runtime_id,
|
1802
1813
|
:exit_code,
|
1803
1814
|
:network_bindings,
|
1804
1815
|
:reason,
|
@@ -1978,11 +1989,14 @@ module Aws::ECS
|
|
1978
1989
|
# @return [String]
|
1979
1990
|
#
|
1980
1991
|
# @!attribute [rw] load_balancers
|
1981
|
-
# A load balancer object representing the load
|
1982
|
-
# your service.
|
1992
|
+
# A load balancer object representing the load balancers to use with
|
1993
|
+
# your service. For more information, see [Service Load Balancing][1]
|
1994
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
1983
1995
|
#
|
1984
|
-
# If the service is using the `ECS` deployment
|
1985
|
-
#
|
1996
|
+
# If the service is using the rolling update (`ECS`) deployment
|
1997
|
+
# controller and using either an Application Load Balancer or Network
|
1998
|
+
# Load Balancer, you can specify multiple target groups to attach to
|
1999
|
+
# the service.
|
1986
2000
|
#
|
1987
2001
|
# If the service is using the `CODE_DEPLOY` deployment controller, the
|
1988
2002
|
# service is required to use either an Application Load Balancer or
|
@@ -2002,13 +2016,6 @@ module Aws::ECS
|
|
2002
2016
|
# you are using the `CODE_DEPLOY` deployment controller, these values
|
2003
2017
|
# can be changed when updating the service.
|
2004
2018
|
#
|
2005
|
-
# For Classic Load Balancers, this object must contain the load
|
2006
|
-
# balancer name, the container name (as it appears in a container
|
2007
|
-
# definition), and the container port to access from the load
|
2008
|
-
# balancer. When a task from this service is placed on a container
|
2009
|
-
# instance, the container instance is registered with the load
|
2010
|
-
# balancer specified here.
|
2011
|
-
#
|
2012
2019
|
# For Application Load Balancers and Network Load Balancers, this
|
2013
2020
|
# object must contain the load balancer target group ARN, the
|
2014
2021
|
# container name (as it appears in a container definition), and the
|
@@ -2017,6 +2024,13 @@ module Aws::ECS
|
|
2017
2024
|
# instance and port combination is registered as a target in the
|
2018
2025
|
# target group specified here.
|
2019
2026
|
#
|
2027
|
+
# For Classic Load Balancers, this object must contain the load
|
2028
|
+
# balancer name, the container name (as it appears in a container
|
2029
|
+
# definition), and the container port to access from the load
|
2030
|
+
# balancer. When a task from this service is placed on a container
|
2031
|
+
# instance, the container instance is registered with the load
|
2032
|
+
# balancer specified here.
|
2033
|
+
#
|
2020
2034
|
# Services with tasks that use the `awsvpc` network mode (for example,
|
2021
2035
|
# those with the Fargate launch type) only support Application Load
|
2022
2036
|
# Balancers and Network Load Balancers. Classic Load Balancers are not
|
@@ -2024,6 +2038,10 @@ module Aws::ECS
|
|
2024
2038
|
# services, you must choose `ip` as the target type, not `instance`,
|
2025
2039
|
# because tasks that use the `awsvpc` network mode are associated with
|
2026
2040
|
# an elastic network interface, not an Amazon EC2 instance.
|
2041
|
+
#
|
2042
|
+
#
|
2043
|
+
#
|
2044
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
|
2027
2045
|
# @return [Array<Types::LoadBalancer>]
|
2028
2046
|
#
|
2029
2047
|
# @!attribute [rw] service_registries
|
@@ -4659,28 +4677,8 @@ module Aws::ECS
|
|
4659
4677
|
include Aws::Structure
|
4660
4678
|
end
|
4661
4679
|
|
4662
|
-
# Details on
|
4663
|
-
#
|
4664
|
-
# If the service is using the `ECS` deployment controller, you are
|
4665
|
-
# limited to one load balancer or target group.
|
4666
|
-
#
|
4667
|
-
# If the service is using the `CODE_DEPLOY` deployment controller, the
|
4668
|
-
# service is required to use either an Application Load Balancer or
|
4669
|
-
# Network Load Balancer. When you are creating an AWS CodeDeploy
|
4670
|
-
# deployment group, you specify two target groups (referred to as a
|
4671
|
-
# `targetGroupPair`). Each target group binds to a separate task set in
|
4672
|
-
# the deployment. The load balancer can also have up to two listeners, a
|
4673
|
-
# required listener for production traffic and an optional listener that
|
4674
|
-
# allows you to test new revisions of the service before routing
|
4675
|
-
# production traffic to it.
|
4676
|
-
#
|
4677
|
-
# Services with tasks that use the `awsvpc` network mode (for example,
|
4678
|
-
# those with the Fargate launch type) only support Application Load
|
4679
|
-
# Balancers and Network Load Balancers. Classic Load Balancers are not
|
4680
|
-
# supported. Also, when you create any target groups for these services,
|
4681
|
-
# you must choose `ip` as the target type, not `instance`. Tasks that
|
4682
|
-
# use the `awsvpc` network mode are associated with an elastic network
|
4683
|
-
# interface, not an Amazon EC2 instance.
|
4680
|
+
# Details on the load balancer or load balancers to use with a service
|
4681
|
+
# or task set.
|
4684
4682
|
#
|
4685
4683
|
# @note When making an API call, you may pass LoadBalancer
|
4686
4684
|
# data as a hash:
|
@@ -4696,29 +4694,40 @@ module Aws::ECS
|
|
4696
4694
|
# The full Amazon Resource Name (ARN) of the Elastic Load Balancing
|
4697
4695
|
# target group or groups associated with a service or task set.
|
4698
4696
|
#
|
4699
|
-
# A target group ARN is only specified when using an
|
4700
|
-
#
|
4701
|
-
#
|
4697
|
+
# A target group ARN is only specified when using an Application Load
|
4698
|
+
# Balancer or Network Load Balancer. If you are using a Classic Load
|
4699
|
+
# Balancer this should be omitted.
|
4702
4700
|
#
|
4703
|
-
# For services using the `ECS` deployment controller, you
|
4704
|
-
#
|
4705
|
-
#
|
4706
|
-
#
|
4701
|
+
# For services using the `ECS` deployment controller, you can specify
|
4702
|
+
# one or multiple target groups. For more information, see
|
4703
|
+
# [Registering Multiple Target Groups with a Service][1] in the
|
4704
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
4705
|
+
#
|
4706
|
+
# For services using the `CODE_DEPLOY` deployment controller, you are
|
4707
|
+
# required to define two target groups for the load balancer. For more
|
4708
|
+
# information, see [Blue/Green Deployment with CodeDeploy][2] in the
|
4709
|
+
# *Amazon Elastic Container Service Developer Guide*.
|
4707
4710
|
#
|
4708
4711
|
# If your service's task definition uses the `awsvpc` network mode
|
4709
4712
|
# (which is required for the Fargate launch type), you must choose
|
4710
|
-
# `ip` as the target type, not `instance`,
|
4711
|
-
# `awsvpc` network mode are
|
4712
|
-
# interface, not an Amazon EC2
|
4713
|
+
# `ip` as the target type, not `instance`, when creating your target
|
4714
|
+
# groups because tasks that use the `awsvpc` network mode are
|
4715
|
+
# associated with an elastic network interface, not an Amazon EC2
|
4716
|
+
# instance.
|
4717
|
+
#
|
4718
|
+
#
|
4719
|
+
#
|
4720
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/register-multiple-targetgroups.html
|
4721
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html
|
4713
4722
|
# @return [String]
|
4714
4723
|
#
|
4715
4724
|
# @!attribute [rw] load_balancer_name
|
4716
4725
|
# The name of the load balancer to associate with the Amazon ECS
|
4717
4726
|
# service or task set.
|
4718
4727
|
#
|
4719
|
-
# A load balancer name is only specified when using a
|
4720
|
-
#
|
4721
|
-
#
|
4728
|
+
# A load balancer name is only specified when using a Classic Load
|
4729
|
+
# Balancer. If you are using an Application Load Balancer or a Network
|
4730
|
+
# Load Balancer this should be omitted.
|
4722
4731
|
# @return [String]
|
4723
4732
|
#
|
4724
4733
|
# @!attribute [rw] container_name
|
@@ -4728,9 +4737,10 @@ module Aws::ECS
|
|
4728
4737
|
#
|
4729
4738
|
# @!attribute [rw] container_port
|
4730
4739
|
# The port on the container to associate with the load balancer. This
|
4731
|
-
# port must correspond to a `containerPort` in the
|
4732
|
-
#
|
4733
|
-
# the
|
4740
|
+
# port must correspond to a `containerPort` in the task definition the
|
4741
|
+
# tasks in the service are using. For tasks that use the EC2 launch
|
4742
|
+
# type, the container instance they are launched on must allow ingress
|
4743
|
+
# traffic on the `hostPort` of the port mapping.
|
4734
4744
|
# @return [Integer]
|
4735
4745
|
#
|
4736
4746
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/LoadBalancer AWS API Documentation
|
@@ -6551,14 +6561,6 @@ module Aws::ECS
|
|
6551
6561
|
# the load balancer name, the container name (as it appears in a
|
6552
6562
|
# container definition), and the container port to access from the
|
6553
6563
|
# load balancer.
|
6554
|
-
#
|
6555
|
-
# Services with tasks that use the `awsvpc` network mode (for example,
|
6556
|
-
# those with the Fargate launch type) only support Application Load
|
6557
|
-
# Balancers and Network Load Balancers. Classic Load Balancers are not
|
6558
|
-
# supported. Also, when you create any target groups for these
|
6559
|
-
# services, you must choose `ip` as the target type, not `instance`.
|
6560
|
-
# Tasks that use the `awsvpc` network mode are associated with an
|
6561
|
-
# elastic network interface, not an Amazon EC2 instance.
|
6562
6564
|
# @return [Array<Types::LoadBalancer>]
|
6563
6565
|
#
|
6564
6566
|
# @!attribute [rw] service_registries
|
@@ -7186,6 +7188,7 @@ module Aws::ECS
|
|
7186
7188
|
# cluster: "String",
|
7187
7189
|
# task: "String",
|
7188
7190
|
# container_name: "String",
|
7191
|
+
# runtime_id: "String",
|
7189
7192
|
# status: "String",
|
7190
7193
|
# exit_code: 1,
|
7191
7194
|
# reason: "String",
|
@@ -7212,6 +7215,10 @@ module Aws::ECS
|
|
7212
7215
|
# The name of the container.
|
7213
7216
|
# @return [String]
|
7214
7217
|
#
|
7218
|
+
# @!attribute [rw] runtime_id
|
7219
|
+
# The ID of the Docker container.
|
7220
|
+
# @return [String]
|
7221
|
+
#
|
7215
7222
|
# @!attribute [rw] status
|
7216
7223
|
# The status of the state change request.
|
7217
7224
|
# @return [String]
|
@@ -7234,6 +7241,7 @@ module Aws::ECS
|
|
7234
7241
|
:cluster,
|
7235
7242
|
:task,
|
7236
7243
|
:container_name,
|
7244
|
+
:runtime_id,
|
7237
7245
|
:status,
|
7238
7246
|
:exit_code,
|
7239
7247
|
:reason,
|
@@ -7263,6 +7271,7 @@ module Aws::ECS
|
|
7263
7271
|
# containers: [
|
7264
7272
|
# {
|
7265
7273
|
# container_name: "String",
|
7274
|
+
# runtime_id: "String",
|
7266
7275
|
# exit_code: 1,
|
7267
7276
|
# network_bindings: [
|
7268
7277
|
# {
|
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.47.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: 2019-08-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|