aws-sdk-ecs 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b5bbd5360e80d983c67d953bc5e90b71a046095
4
- data.tar.gz: 06fd905b2ef60bfaa340b0d2b9a6cd60afce19bb
3
+ metadata.gz: 262a6192e26805cb4f86ed0c16c69a4cc401e984
4
+ data.tar.gz: d8cc1ba57db75e8ce36109267989e9d7b94203a5
5
5
  SHA512:
6
- metadata.gz: 01c359e0886b2f64073992ac0c86cbb0bde13ca36551ef15fbe949cc58001052b53cfc1bcd99798fe9d085e5f13d92b10f7ff98a5abba6b044b4e67f143eddf4
7
- data.tar.gz: 806333700ba5502586e30b830cc9d7686a6be1f6d82011071270ae14986ce97ad131134329ab68331eafdfa23a7727aee74f429d189b0b117ab4682f4d5c5f89
6
+ metadata.gz: 4371dec2f8efce75d7073d9e1f4bb58c5837008657c26af36d7bf454e6677fa46068744872b6be3972d8bf00e199ec94206e766ec9c7b69e62675cd050b3688d
7
+ data.tar.gz: 91bd6ed42cf89144c3a9990594b622d526f85a1362190e3358a55c3b5f6b3cef9aa5b208eecaab5f338e22f92eecb34e2f24b1dd2f7a055c445a0acc0d976def
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.9.0'
46
+ GEM_VERSION = '1.10.0'
47
47
 
48
48
  end
@@ -414,11 +414,11 @@ module Aws::ECS
414
414
  # should ignore unhealthy Elastic Load Balancing target health checks
415
415
  # after a task has first started. This is only valid if your service is
416
416
  # configured to use a load balancer. If your service's tasks take a
417
- # while to start and respond to ELB health checks, you can specify a
418
- # health check grace period of up to 1,800 seconds during which the ECS
419
- # service scheduler will ignore ELB health check status. This grace
420
- # period can prevent the ECS service scheduler from marking tasks as
421
- # unhealthy and stopping them before they have time to come up.
417
+ # while to start and respond to Elastic Load Balancing health checks,
418
+ # you can specify a health check grace period of up to 1,800 seconds
419
+ # during which the ECS service scheduler ignores health check status.
420
+ # This grace period can prevent the ECS service scheduler from marking
421
+ # tasks as unhealthy and stopping them before they have time to come up.
422
422
  #
423
423
  # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
424
424
  #
@@ -1104,6 +1104,12 @@ module Aws::ECS
1104
1104
  # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
1105
1105
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
1106
1106
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
1107
+ # resp.task_definition.container_definitions[0].health_check.command #=> Array
1108
+ # resp.task_definition.container_definitions[0].health_check.command[0] #=> String
1109
+ # resp.task_definition.container_definitions[0].health_check.interval #=> Integer
1110
+ # resp.task_definition.container_definitions[0].health_check.timeout #=> Integer
1111
+ # resp.task_definition.container_definitions[0].health_check.retries #=> Integer
1112
+ # resp.task_definition.container_definitions[0].health_check.start_period #=> Integer
1107
1113
  # resp.task_definition.family #=> String
1108
1114
  # resp.task_definition.task_role_arn #=> String
1109
1115
  # resp.task_definition.execution_role_arn #=> String
@@ -1691,6 +1697,12 @@ module Aws::ECS
1691
1697
  # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
1692
1698
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
1693
1699
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
1700
+ # resp.task_definition.container_definitions[0].health_check.command #=> Array
1701
+ # resp.task_definition.container_definitions[0].health_check.command[0] #=> String
1702
+ # resp.task_definition.container_definitions[0].health_check.interval #=> Integer
1703
+ # resp.task_definition.container_definitions[0].health_check.timeout #=> Integer
1704
+ # resp.task_definition.container_definitions[0].health_check.retries #=> Integer
1705
+ # resp.task_definition.container_definitions[0].health_check.start_period #=> Integer
1694
1706
  # resp.task_definition.family #=> String
1695
1707
  # resp.task_definition.task_role_arn #=> String
1696
1708
  # resp.task_definition.execution_role_arn #=> String
@@ -1835,6 +1847,7 @@ module Aws::ECS
1835
1847
  # resp.tasks[0].containers[0].network_interfaces[0].attachment_id #=> String
1836
1848
  # resp.tasks[0].containers[0].network_interfaces[0].private_ipv_4_address #=> String
1837
1849
  # resp.tasks[0].containers[0].network_interfaces[0].ipv6_address #=> String
1850
+ # resp.tasks[0].containers[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
1838
1851
  # resp.tasks[0].started_by #=> String
1839
1852
  # resp.tasks[0].version #=> Integer
1840
1853
  # resp.tasks[0].stopped_reason #=> String
@@ -1857,6 +1870,7 @@ module Aws::ECS
1857
1870
  # resp.tasks[0].attachments[0].details #=> Array
1858
1871
  # resp.tasks[0].attachments[0].details[0].name #=> String
1859
1872
  # resp.tasks[0].attachments[0].details[0].value #=> String
1873
+ # resp.tasks[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
1860
1874
  # resp.failures #=> Array
1861
1875
  # resp.failures[0].arn #=> String
1862
1876
  # resp.failures[0].reason #=> String
@@ -2929,20 +2943,20 @@ module Aws::ECS
2929
2943
  # use one of the following values, which determines your range of
2930
2944
  # supported values for the `memory` parameter:
2931
2945
  #
2932
- # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5GB), 1024 (1GB),
2933
- # 2048 (2GB)
2946
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
2947
+ # GB), 2048 (2 GB)
2934
2948
  #
2935
- # * 512 (.5 vCPU) - Available `memory` values: 1024 (1GB), 2048 (2GB),
2936
- # 3072 (3GB), 4096 (4GB)
2949
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2 GB),
2950
+ # 3072 (3 GB), 4096 (4 GB)
2937
2951
  #
2938
- # * 1024 (1 vCPU) - Available `memory` values: 2048 (2GB), 3072 (3GB),
2939
- # 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168 (7GB), 8192 (8GB)
2952
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3 GB),
2953
+ # 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)
2940
2954
  #
2941
- # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4GB) and
2942
- # 16384 (16GB) in increments of 1024 (1GB)
2955
+ # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4 GB) and
2956
+ # 16384 (16 GB) in increments of 1024 (1 GB)
2943
2957
  #
2944
- # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8GB) and
2945
- # 30720 (30GB) in increments of 1024 (1GB)
2958
+ # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8 GB) and
2959
+ # 30720 (30 GB) in increments of 1024 (1 GB)
2946
2960
  #
2947
2961
  # @option params [String] :memory
2948
2962
  # The amount of memory (in MiB) used by the task. It can be expressed as
@@ -2962,19 +2976,19 @@ module Aws::ECS
2962
2976
  # use one of the following values, which determines your range of
2963
2977
  # supported values for the `cpu` parameter:
2964
2978
  #
2965
- # * 512 (0.5GB), 1024 (1GB), 2048 (2GB) - Available `cpu` values: 256
2979
+ # * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values: 256
2966
2980
  # (.25 vCPU)
2967
2981
  #
2968
- # * 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB) - Available `cpu`
2982
+ # * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available `cpu`
2969
2983
  # values: 512 (.5 vCPU)
2970
2984
  #
2971
- # * 2048 (2GB), 3072 (3GB), 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168
2972
- # (7GB), 8192 (8GB) - Available `cpu` values: 1024 (1 vCPU)
2985
+ # * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),
2986
+ # 7168 (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU)
2973
2987
  #
2974
- # * Between 4096 (4GB) and 16384 (16GB) in increments of 1024 (1GB) -
2988
+ # * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB) -
2975
2989
  # Available `cpu` values: 2048 (2 vCPU)
2976
2990
  #
2977
- # * Between 8192 (8GB) and 30720 (30GB) in increments of 1024 (1GB) -
2991
+ # * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB) -
2978
2992
  # Available `cpu` values: 4096 (4 vCPU)
2979
2993
  #
2980
2994
  # @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -3127,6 +3141,13 @@ module Aws::ECS
3127
3141
  # "String" => "String",
3128
3142
  # },
3129
3143
  # },
3144
+ # health_check: {
3145
+ # command: ["String"], # required
3146
+ # interval: 1,
3147
+ # timeout: 1,
3148
+ # retries: 1,
3149
+ # start_period: 1,
3150
+ # },
3130
3151
  # },
3131
3152
  # ],
3132
3153
  # volumes: [
@@ -3212,6 +3233,12 @@ module Aws::ECS
3212
3233
  # resp.task_definition.container_definitions[0].log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk"
3213
3234
  # resp.task_definition.container_definitions[0].log_configuration.options #=> Hash
3214
3235
  # resp.task_definition.container_definitions[0].log_configuration.options["String"] #=> String
3236
+ # resp.task_definition.container_definitions[0].health_check.command #=> Array
3237
+ # resp.task_definition.container_definitions[0].health_check.command[0] #=> String
3238
+ # resp.task_definition.container_definitions[0].health_check.interval #=> Integer
3239
+ # resp.task_definition.container_definitions[0].health_check.timeout #=> Integer
3240
+ # resp.task_definition.container_definitions[0].health_check.retries #=> Integer
3241
+ # resp.task_definition.container_definitions[0].health_check.start_period #=> Integer
3215
3242
  # resp.task_definition.family #=> String
3216
3243
  # resp.task_definition.task_role_arn #=> String
3217
3244
  # resp.task_definition.execution_role_arn #=> String
@@ -3486,6 +3513,7 @@ module Aws::ECS
3486
3513
  # resp.tasks[0].containers[0].network_interfaces[0].attachment_id #=> String
3487
3514
  # resp.tasks[0].containers[0].network_interfaces[0].private_ipv_4_address #=> String
3488
3515
  # resp.tasks[0].containers[0].network_interfaces[0].ipv6_address #=> String
3516
+ # resp.tasks[0].containers[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
3489
3517
  # resp.tasks[0].started_by #=> String
3490
3518
  # resp.tasks[0].version #=> Integer
3491
3519
  # resp.tasks[0].stopped_reason #=> String
@@ -3508,6 +3536,7 @@ module Aws::ECS
3508
3536
  # resp.tasks[0].attachments[0].details #=> Array
3509
3537
  # resp.tasks[0].attachments[0].details[0].name #=> String
3510
3538
  # resp.tasks[0].attachments[0].details[0].value #=> String
3539
+ # resp.tasks[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
3511
3540
  # resp.failures #=> Array
3512
3541
  # resp.failures[0].arn #=> String
3513
3542
  # resp.failures[0].reason #=> String
@@ -3664,6 +3693,7 @@ module Aws::ECS
3664
3693
  # resp.tasks[0].containers[0].network_interfaces[0].attachment_id #=> String
3665
3694
  # resp.tasks[0].containers[0].network_interfaces[0].private_ipv_4_address #=> String
3666
3695
  # resp.tasks[0].containers[0].network_interfaces[0].ipv6_address #=> String
3696
+ # resp.tasks[0].containers[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
3667
3697
  # resp.tasks[0].started_by #=> String
3668
3698
  # resp.tasks[0].version #=> Integer
3669
3699
  # resp.tasks[0].stopped_reason #=> String
@@ -3686,6 +3716,7 @@ module Aws::ECS
3686
3716
  # resp.tasks[0].attachments[0].details #=> Array
3687
3717
  # resp.tasks[0].attachments[0].details[0].name #=> String
3688
3718
  # resp.tasks[0].attachments[0].details[0].value #=> String
3719
+ # resp.tasks[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
3689
3720
  # resp.failures #=> Array
3690
3721
  # resp.failures[0].arn #=> String
3691
3722
  # resp.failures[0].reason #=> String
@@ -3784,6 +3815,7 @@ module Aws::ECS
3784
3815
  # resp.task.containers[0].network_interfaces[0].attachment_id #=> String
3785
3816
  # resp.task.containers[0].network_interfaces[0].private_ipv_4_address #=> String
3786
3817
  # resp.task.containers[0].network_interfaces[0].ipv6_address #=> String
3818
+ # resp.task.containers[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
3787
3819
  # resp.task.started_by #=> String
3788
3820
  # resp.task.version #=> Integer
3789
3821
  # resp.task.stopped_reason #=> String
@@ -3806,6 +3838,7 @@ module Aws::ECS
3806
3838
  # resp.task.attachments[0].details #=> Array
3807
3839
  # resp.task.attachments[0].details[0].name #=> String
3808
3840
  # resp.task.attachments[0].details[0].value #=> String
3841
+ # resp.task.health_status #=> String, one of "HEALTHY", "UNHEALTHY", "UNKNOWN"
3809
3842
  #
3810
3843
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTask AWS API Documentation
3811
3844
  #
@@ -3914,7 +3947,7 @@ module Aws::ECS
3914
3947
  # The Unix time stamp for when the container image pull completed.
3915
3948
  #
3916
3949
  # @option params [Time,DateTime,Date,Integer,String] :execution_stopped_at
3917
- # The Unix timestamp for when the task execution stopped.
3950
+ # The Unix time stamp for when the task execution stopped.
3918
3951
  #
3919
3952
  # @return [Types::SubmitTaskStateChangeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3920
3953
  #
@@ -4291,7 +4324,7 @@ module Aws::ECS
4291
4324
  # @option params [Types::NetworkConfiguration] :network_configuration
4292
4325
  # The network configuration for the service. This parameter is required
4293
4326
  # for task definitions that use the `awsvpc` network mode to receive
4294
- # their own Elastic Network Interface, and it is not supported for other
4327
+ # their own elastic network interface, and it is not supported for other
4295
4328
  # network modes. For more information, see [Task Networking][1] in the
4296
4329
  # *Amazon Elastic Container Service Developer Guide*.
4297
4330
  #
@@ -4311,19 +4344,20 @@ module Aws::ECS
4311
4344
  # The platform version you want to update your service to run.
4312
4345
  #
4313
4346
  # @option params [Boolean] :force_new_deployment
4314
- # Whether or not to force a new deployment of the service. By default,
4315
- # `--no-force-new-deployment` is assumed unless specified otherwise.
4347
+ # Whether to force a new deployment of the service. By default,
4348
+ # `--no-force-new-deployment` is assumed unless otherwise specified.
4316
4349
  #
4317
4350
  # @option params [Integer] :health_check_grace_period_seconds
4318
4351
  # The period of time, in seconds, that the Amazon ECS service scheduler
4319
4352
  # should ignore unhealthy Elastic Load Balancing target health checks
4320
4353
  # after a task has first started. This is only valid if your service is
4321
4354
  # configured to use a load balancer. If your service's tasks take a
4322
- # while to start and respond to ELB health checks, you can specify a
4323
- # health check grace period of up to 1,800 seconds during which the ECS
4324
- # service scheduler will ignore ELB health check status. This grace
4325
- # period can prevent the ECS service scheduler from marking tasks as
4326
- # unhealthy and stopping them before they have time to come up.
4355
+ # while to start and respond to Elastic Load Balancing health checks,
4356
+ # you can specify a health check grace period of up to 1,800 seconds
4357
+ # during which the ECS service scheduler ignores the Elastic Load
4358
+ # Balancing health check status. This grace period can prevent the ECS
4359
+ # service scheduler from marking tasks as unhealthy and stopping them
4360
+ # before they have time to come up.
4327
4361
  #
4328
4362
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4329
4363
  #
@@ -4455,7 +4489,7 @@ module Aws::ECS
4455
4489
  params: params,
4456
4490
  config: config)
4457
4491
  context[:gem_name] = 'aws-sdk-ecs'
4458
- context[:gem_version] = '1.9.0'
4492
+ context[:gem_version] = '1.10.0'
4459
4493
  Seahorse::Client::Request.new(handlers, context)
4460
4494
  end
4461
4495
 
@@ -89,6 +89,8 @@ module Aws::ECS
89
89
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
90
90
  Failure = Shapes::StructureShape.new(name: 'Failure')
91
91
  Failures = Shapes::ListShape.new(name: 'Failures')
92
+ HealthCheck = Shapes::StructureShape.new(name: 'HealthCheck')
93
+ HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
92
94
  HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
93
95
  HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
94
96
  HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
@@ -251,6 +253,7 @@ module Aws::ECS
251
253
  Container.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
252
254
  Container.add_member(:network_bindings, Shapes::ShapeRef.new(shape: NetworkBindings, location_name: "networkBindings"))
253
255
  Container.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaces, location_name: "networkInterfaces"))
256
+ Container.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "healthStatus"))
254
257
  Container.struct_class = Types::Container
255
258
 
256
259
  ContainerDefinition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -280,6 +283,7 @@ module Aws::ECS
280
283
  ContainerDefinition.add_member(:docker_labels, Shapes::ShapeRef.new(shape: DockerLabelsMap, location_name: "dockerLabels"))
281
284
  ContainerDefinition.add_member(:ulimits, Shapes::ShapeRef.new(shape: UlimitList, location_name: "ulimits"))
282
285
  ContainerDefinition.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
286
+ ContainerDefinition.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheck, location_name: "healthCheck"))
283
287
  ContainerDefinition.struct_class = Types::ContainerDefinition
284
288
 
285
289
  ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
@@ -467,6 +471,13 @@ module Aws::ECS
467
471
 
468
472
  Failures.member = Shapes::ShapeRef.new(shape: Failure)
469
473
 
474
+ HealthCheck.add_member(:command, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "command"))
475
+ HealthCheck.add_member(:interval, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "interval"))
476
+ HealthCheck.add_member(:timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "timeout"))
477
+ HealthCheck.add_member(:retries, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "retries"))
478
+ HealthCheck.add_member(:start_period, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "startPeriod"))
479
+ HealthCheck.struct_class = Types::HealthCheck
480
+
470
481
  HostEntry.add_member(:hostname, Shapes::ShapeRef.new(shape: String, required: true, location_name: "hostname"))
471
482
  HostEntry.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipAddress"))
472
483
  HostEntry.struct_class = Types::HostEntry
@@ -796,6 +807,7 @@ module Aws::ECS
796
807
  Task.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
797
808
  Task.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
798
809
  Task.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
810
+ Task.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "healthStatus"))
799
811
  Task.struct_class = Types::Task
800
812
 
801
813
  TaskDefinition.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
@@ -15,7 +15,7 @@ module Aws::ECS
15
15
  # @return [String]
16
16
  #
17
17
  # @!attribute [rw] type
18
- # The type of the attachment, such as an `ElasticNetworkInterface`.
18
+ # The type of the attachment, such as `ElasticNetworkInterface`.
19
19
  # @return [String]
20
20
  #
21
21
  # @!attribute [rw] status
@@ -140,8 +140,8 @@ module Aws::ECS
140
140
  # @return [Array<String>]
141
141
  #
142
142
  # @!attribute [rw] assign_public_ip
143
- # Specifies whether or not the task's elastic network interface
144
- # receives a public IP address.
143
+ # Whether the task's elastic network interface receives a public IP
144
+ # address.
145
145
  # @return [String]
146
146
  #
147
147
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/AwsVpcConfiguration AWS API Documentation
@@ -265,6 +265,12 @@ module Aws::ECS
265
265
  # The network interfaces associated with the container.
266
266
  # @return [Array<Types::NetworkInterface>]
267
267
  #
268
+ # @!attribute [rw] health_status
269
+ # The health status of the container. If health checks are not
270
+ # configured for this container in its task definition, then it
271
+ # reports health status as `UNKNOWN`.
272
+ # @return [String]
273
+ #
268
274
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Container AWS API Documentation
269
275
  #
270
276
  class Container < Struct.new(
@@ -275,7 +281,8 @@ module Aws::ECS
275
281
  :exit_code,
276
282
  :reason,
277
283
  :network_bindings,
278
- :network_interfaces)
284
+ :network_interfaces,
285
+ :health_status)
279
286
  include Aws::Structure
280
287
  end
281
288
 
@@ -366,6 +373,13 @@ module Aws::ECS
366
373
  # "String" => "String",
367
374
  # },
368
375
  # },
376
+ # health_check: {
377
+ # command: ["String"], # required
378
+ # interval: 1,
379
+ # timeout: 1,
380
+ # retries: 1,
381
+ # start_period: 1,
382
+ # },
369
383
  # }
370
384
  #
371
385
  # @!attribute [rw] name
@@ -468,7 +482,7 @@ module Aws::ECS
468
482
  # instance uses the CPU value to calculate the relative CPU share
469
483
  # ratios for running containers. For more information, see [CPU share
470
484
  # constraint][5] in the Docker documentation. The minimum valid CPU
471
- # share value that the Linux kernel will allow is 2; however, the CPU
485
+ # share value that the Linux kernel allows is 2; however, the CPU
472
486
  # parameter is not required, and you can use CPU values below 2 in
473
487
  # your container definitions. For CPU values below 2 (including null),
474
488
  # the behavior varies based on your Amazon ECS container agent
@@ -503,18 +517,18 @@ module Aws::ECS
503
517
  # a container][1] section of the [Docker Remote API][2] and the
504
518
  # `--memory` option to [docker run][3].
505
519
  #
506
- # If your containers will be part of a task using the Fargate launch
507
- # type, this field is optional and the only requirement is that the
508
- # total amount of memory reserved for all containers within a task be
509
- # lower than the task `memory` value.
520
+ # If your containers are part of a task using the Fargate launch type,
521
+ # this field is optional and the only requirement is that the total
522
+ # amount of memory reserved for all containers within a task be lower
523
+ # than the task `memory` value.
510
524
  #
511
- # For containers that will be part of a task using the EC2 launch
512
- # type, you must specify a non-zero integer for one or both of
513
- # `memory` or `memoryReservation` in container definitions. If you
514
- # specify both, `memory` must be greater than `memoryReservation`. If
515
- # you specify `memoryReservation`, then that value is subtracted from
516
- # the available memory resources for the container instance on which
517
- # the container is placed; otherwise, the value of `memory` is used.
525
+ # For containers that are part of a task using the EC2 launch type,
526
+ # you must specify a non-zero integer for one or both of `memory` or
527
+ # `memoryReservation` in container definitions. If you specify both,
528
+ # `memory` must be greater than `memoryReservation`. If you specify
529
+ # `memoryReservation`, then that value is subtracted from the
530
+ # available memory resources for the container instance on which the
531
+ # container is placed; otherwise, the value of `memory` is used.
518
532
  #
519
533
  # The Docker daemon reserves a minimum of 4 MiB of memory for a
520
534
  # container, so you should not specify fewer than 4 MiB of memory for
@@ -1000,6 +1014,19 @@ module Aws::ECS
1000
1014
  # [5]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
1001
1015
  # @return [Types::LogConfiguration]
1002
1016
  #
1017
+ # @!attribute [rw] health_check
1018
+ # The health check command and associated configuration parameters for
1019
+ # the container. This parameter maps to `HealthCheck` in the [Create a
1020
+ # container][1] section of the [Docker Remote API][2] and the
1021
+ # `HEALTHCHECK` parameter of [docker run][3].
1022
+ #
1023
+ #
1024
+ #
1025
+ # [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container
1026
+ # [2]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/
1027
+ # [3]: https://docs.docker.com/engine/reference/run/
1028
+ # @return [Types::HealthCheck]
1029
+ #
1003
1030
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition AWS API Documentation
1004
1031
  #
1005
1032
  class ContainerDefinition < Struct.new(
@@ -1029,7 +1056,8 @@ module Aws::ECS
1029
1056
  :docker_security_options,
1030
1057
  :docker_labels,
1031
1058
  :ulimits,
1032
- :log_configuration)
1059
+ :log_configuration,
1060
+ :health_check)
1033
1061
  include Aws::Structure
1034
1062
  end
1035
1063
 
@@ -1481,12 +1509,12 @@ module Aws::ECS
1481
1509
  # scheduler should ignore unhealthy Elastic Load Balancing target
1482
1510
  # health checks after a task has first started. This is only valid if
1483
1511
  # your service is configured to use a load balancer. If your
1484
- # service's tasks take a while to start and respond to ELB health
1485
- # checks, you can specify a health check grace period of up to 1,800
1486
- # seconds during which the ECS service scheduler will ignore ELB
1487
- # health check status. This grace period can prevent the ECS service
1488
- # scheduler from marking tasks as unhealthy and stopping them before
1489
- # they have time to come up.
1512
+ # service's tasks take a while to start and respond to Elastic Load
1513
+ # Balancing health checks, you can specify a health check grace period
1514
+ # of up to 1,800 seconds during which the ECS service scheduler
1515
+ # ignores health check status. This grace period can prevent the ECS
1516
+ # service scheduler from marking tasks as unhealthy and stopping them
1517
+ # before they have time to come up.
1490
1518
  # @return [Integer]
1491
1519
  #
1492
1520
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest AWS API Documentation
@@ -2154,6 +2182,82 @@ module Aws::ECS
2154
2182
  include Aws::Structure
2155
2183
  end
2156
2184
 
2185
+ # An object representing a container health check. Health check
2186
+ # parameters that are specified in a container definition override any
2187
+ # Docker health checks that exist in the container image (such as those
2188
+ # specified in a parent image or from the image's Dockerfile).
2189
+ #
2190
+ # @note When making an API call, you may pass HealthCheck
2191
+ # data as a hash:
2192
+ #
2193
+ # {
2194
+ # command: ["String"], # required
2195
+ # interval: 1,
2196
+ # timeout: 1,
2197
+ # retries: 1,
2198
+ # start_period: 1,
2199
+ # }
2200
+ #
2201
+ # @!attribute [rw] command
2202
+ # A string array representing the command that the container runs to
2203
+ # determine if it is healthy. The string array must start with `CMD`
2204
+ # to execute the command arguments directly, or `CMD-SHELL` to run the
2205
+ # command with the container's default shell. For example:
2206
+ #
2207
+ # `[ "CMD-SHELL", "curl -f http://localhost/ || exit 1" ]`
2208
+ #
2209
+ # An exit code of 0 indicates success, and non-zero exit code
2210
+ # indicates failure. For more information, see `HealthCheck` in the
2211
+ # [Create a container][1] section of the [Docker Remote API][2].
2212
+ #
2213
+ #
2214
+ #
2215
+ # [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container
2216
+ # [2]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/
2217
+ # @return [Array<String>]
2218
+ #
2219
+ # @!attribute [rw] interval
2220
+ # The time period in seconds between each health check execution. You
2221
+ # may specify between 5 and 300 seconds. The default value is 30
2222
+ # seconds.
2223
+ # @return [Integer]
2224
+ #
2225
+ # @!attribute [rw] timeout
2226
+ # The time period in seconds to wait for a health check to succeed
2227
+ # before it is considered a failure. You may specify between 2 and 60
2228
+ # seconds. The default value is 5 seconds.
2229
+ # @return [Integer]
2230
+ #
2231
+ # @!attribute [rw] retries
2232
+ # The number of times to retry a failed health check before the
2233
+ # container is considered unhealthy. You may specify between 1 and 10
2234
+ # retries. The default value is 3 retries.
2235
+ # @return [Integer]
2236
+ #
2237
+ # @!attribute [rw] start_period
2238
+ # The optional grace period within which to provide containers time to
2239
+ # bootstrap before failed health checks count towards the maximum
2240
+ # number of retries. You may specify between 0 and 300 seconds. The
2241
+ # `startPeriod` is disabled by default.
2242
+ #
2243
+ # <note markdown="1"> If a health check succeeds within the `startPeriod`, then the
2244
+ # container is considered healthy and any subsequent failures count
2245
+ # toward the maximum number of retries.
2246
+ #
2247
+ # </note>
2248
+ # @return [Integer]
2249
+ #
2250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/HealthCheck AWS API Documentation
2251
+ #
2252
+ class HealthCheck < Struct.new(
2253
+ :command,
2254
+ :interval,
2255
+ :timeout,
2256
+ :retries,
2257
+ :start_period)
2258
+ include Aws::Structure
2259
+ end
2260
+
2157
2261
  # Hostnames and IP address entries that are added to the `/etc/hosts`
2158
2262
  # file of a container via the `extraHosts` parameter of its
2159
2263
  # ContainerDefinition.
@@ -3374,8 +3478,8 @@ module Aws::ECS
3374
3478
  # container.
3375
3479
  #
3376
3480
  # If using containers in a task with the `awsvpc` or `host` network
3377
- # mode, the `hostPort` can either be left blank or needs to be the
3378
- # same value as the `containerPort`.
3481
+ # mode, the `hostPort` can either be left blank or set to the same
3482
+ # value as the `containerPort`.
3379
3483
  #
3380
3484
  # If using containers in a task with the `bridge` network mode, you
3381
3485
  # can specify a non-reserved host port for your container port
@@ -3654,6 +3758,13 @@ module Aws::ECS
3654
3758
  # "String" => "String",
3655
3759
  # },
3656
3760
  # },
3761
+ # health_check: {
3762
+ # command: ["String"], # required
3763
+ # interval: 1,
3764
+ # timeout: 1,
3765
+ # retries: 1,
3766
+ # start_period: 1,
3767
+ # },
3657
3768
  # },
3658
3769
  # ],
3659
3770
  # volumes: [
@@ -3785,20 +3896,21 @@ module Aws::ECS
3785
3896
  # must use one of the following values, which determines your range of
3786
3897
  # supported values for the `memory` parameter:
3787
3898
  #
3788
- # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5GB), 1024
3789
- # (1GB), 2048 (2GB)
3899
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
3900
+ # GB), 2048 (2 GB)
3790
3901
  #
3791
- # * 512 (.5 vCPU) - Available `memory` values: 1024 (1GB), 2048 (2GB),
3792
- # 3072 (3GB), 4096 (4GB)
3902
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
3903
+ # GB), 3072 (3 GB), 4096 (4 GB)
3793
3904
  #
3794
- # * 1024 (1 vCPU) - Available `memory` values: 2048 (2GB), 3072 (3GB),
3795
- # 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168 (7GB), 8192 (8GB)
3905
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3
3906
+ # GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
3907
+ # GB)
3796
3908
  #
3797
- # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4GB) and
3798
- # 16384 (16GB) in increments of 1024 (1GB)
3909
+ # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4 GB) and
3910
+ # 16384 (16 GB) in increments of 1024 (1 GB)
3799
3911
  #
3800
- # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8GB) and
3801
- # 30720 (30GB) in increments of 1024 (1GB)
3912
+ # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8 GB) and
3913
+ # 30720 (30 GB) in increments of 1024 (1 GB)
3802
3914
  # @return [String]
3803
3915
  #
3804
3916
  # @!attribute [rw] memory
@@ -3820,20 +3932,20 @@ module Aws::ECS
3820
3932
  # must use one of the following values, which determines your range of
3821
3933
  # supported values for the `cpu` parameter:
3822
3934
  #
3823
- # * 512 (0.5GB), 1024 (1GB), 2048 (2GB) - Available `cpu` values: 256
3824
- # (.25 vCPU)
3935
+ # * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values:
3936
+ # 256 (.25 vCPU)
3825
3937
  #
3826
- # * 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB) - Available `cpu`
3827
- # values: 512 (.5 vCPU)
3938
+ # * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available
3939
+ # `cpu` values: 512 (.5 vCPU)
3828
3940
  #
3829
- # * 2048 (2GB), 3072 (3GB), 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168
3830
- # (7GB), 8192 (8GB) - Available `cpu` values: 1024 (1 vCPU)
3941
+ # * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),
3942
+ # 7168 (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU)
3831
3943
  #
3832
- # * Between 4096 (4GB) and 16384 (16GB) in increments of 1024 (1GB) -
3833
- # Available `cpu` values: 2048 (2 vCPU)
3944
+ # * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)
3945
+ # - Available `cpu` values: 2048 (2 vCPU)
3834
3946
  #
3835
- # * Between 8192 (8GB) and 30720 (30GB) in increments of 1024 (1GB) -
3836
- # Available `cpu` values: 4096 (4 vCPU)
3947
+ # * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
3948
+ # - Available `cpu` values: 4096 (4 vCPU)
3837
3949
  # @return [String]
3838
3950
  #
3839
3951
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
@@ -4568,7 +4680,7 @@ module Aws::ECS
4568
4680
  # @return [Time]
4569
4681
  #
4570
4682
  # @!attribute [rw] execution_stopped_at
4571
- # The Unix timestamp for when the task execution stopped.
4683
+ # The Unix time stamp for when the task execution stopped.
4572
4684
  # @return [Time]
4573
4685
  #
4574
4686
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SubmitTaskStateChangeRequest AWS API Documentation
@@ -4630,9 +4742,9 @@ module Aws::ECS
4630
4742
  # @!attribute [rw] cpu
4631
4743
  # The number of CPU units used by the task. It can be expressed as an
4632
4744
  # integer using CPU units, for example `1024`, or as a string using
4633
- # vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition but
4634
- # will be converted to an integer indicating the CPU units when the
4635
- # task definition is registered.
4745
+ # vCPUs, for example `1 vCPU` or `1 vcpu`, in a task definition but is
4746
+ # converted to an integer indicating the CPU units when the task
4747
+ # definition is registered.
4636
4748
  #
4637
4749
  # If using the EC2 launch type, this field is optional. Supported
4638
4750
  # values are between `128` CPU units (`0.125` vCPUs) and `10240` CPU
@@ -4642,26 +4754,27 @@ module Aws::ECS
4642
4754
  # must use one of the following values, which determines your range of
4643
4755
  # supported values for the `memory` parameter:
4644
4756
  #
4645
- # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5GB), 1024
4646
- # (1GB), 2048 (2GB)
4757
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
4758
+ # GB), 2048 (2 GB)
4647
4759
  #
4648
- # * 512 (.5 vCPU) - Available `memory` values: 1024 (1GB), 2048 (2GB),
4649
- # 3072 (3GB), 4096 (4GB)
4760
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
4761
+ # GB), 3072 (3 GB), 4096 (4 GB)
4650
4762
  #
4651
- # * 1024 (1 vCPU) - Available `memory` values: 2048 (2GB), 3072 (3GB),
4652
- # 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168 (7GB), 8192 (8GB)
4763
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3
4764
+ # GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
4765
+ # GB)
4653
4766
  #
4654
- # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4GB) and
4655
- # 16384 (16GB) in increments of 1024 (1GB)
4767
+ # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4 GB) and
4768
+ # 16384 (16 GB) in increments of 1024 (1 GB)
4656
4769
  #
4657
- # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8GB) and
4658
- # 30720 (30GB) in increments of 1024 (1GB)
4770
+ # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8 GB) and
4771
+ # 30720 (30 GB) in increments of 1024 (1 GB)
4659
4772
  # @return [String]
4660
4773
  #
4661
4774
  # @!attribute [rw] memory
4662
4775
  # The amount of memory (in MiB) used by the task. It can be expressed
4663
4776
  # as an integer using MiB, for example `1024`, or as a string using
4664
- # GB, for example `1GB` or `1 GB`, in a task definition but will be
4777
+ # GB, for example `1GB` or `1 GB`, in a task definition but is
4665
4778
  # converted to an integer indicating the MiB when the task definition
4666
4779
  # is registered.
4667
4780
  #
@@ -4671,20 +4784,20 @@ module Aws::ECS
4671
4784
  # must use one of the following values, which determines your range of
4672
4785
  # supported values for the `cpu` parameter:
4673
4786
  #
4674
- # * 512 (0.5GB), 1024 (1GB), 2048 (2GB) - Available `cpu` values: 256
4675
- # (.25 vCPU)
4787
+ # * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values:
4788
+ # 256 (.25 vCPU)
4676
4789
  #
4677
- # * 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB) - Available `cpu`
4678
- # values: 512 (.5 vCPU)
4790
+ # * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available
4791
+ # `cpu` values: 512 (.5 vCPU)
4679
4792
  #
4680
- # * 2048 (2GB), 3072 (3GB), 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168
4681
- # (7GB), 8192 (8GB) - Available `cpu` values: 1024 (1 vCPU)
4793
+ # * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),
4794
+ # 7168 (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU)
4682
4795
  #
4683
- # * Between 4096 (4GB) and 16384 (16GB) in increments of 1024 (1GB) -
4684
- # Available `cpu` values: 2048 (2 vCPU)
4796
+ # * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)
4797
+ # - Available `cpu` values: 2048 (2 vCPU)
4685
4798
  #
4686
- # * Between 8192 (8GB) and 30720 (30GB) in increments of 1024 (1GB) -
4687
- # Available `cpu` values: 4096 (4 vCPU)
4799
+ # * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
4800
+ # - Available `cpu` values: 4096 (4 vCPU)
4688
4801
  # @return [String]
4689
4802
  #
4690
4803
  # @!attribute [rw] containers
@@ -4729,7 +4842,7 @@ module Aws::ECS
4729
4842
  # @return [Time]
4730
4843
  #
4731
4844
  # @!attribute [rw] execution_stopped_at
4732
- # The Unix timestamp for when the task execution stopped.
4845
+ # The Unix time stamp for when the task execution stopped.
4733
4846
  # @return [Time]
4734
4847
  #
4735
4848
  # @!attribute [rw] created_at
@@ -4743,8 +4856,8 @@ module Aws::ECS
4743
4856
  # @return [Time]
4744
4857
  #
4745
4858
  # @!attribute [rw] stopping_at
4746
- # The Unix time stamp for when the task will stop (the task
4747
- # transitioned from the `RUNNING` state to the `STOPPED` state).
4859
+ # The Unix time stamp for when the task will stop (transitions from
4860
+ # the `RUNNING` state to `STOPPED`).
4748
4861
  # @return [Time]
4749
4862
  #
4750
4863
  # @!attribute [rw] stopped_at
@@ -4775,6 +4888,24 @@ module Aws::ECS
4775
4888
  # uses the `awsvpc` network mode.
4776
4889
  # @return [Array<Types::Attachment>]
4777
4890
  #
4891
+ # @!attribute [rw] health_status
4892
+ # The health status for the task, which is determined by the health of
4893
+ # the essential containers in the task. If all essential containers in
4894
+ # the task are reporting as `HEALTHY`, then the task status also
4895
+ # reports as `HEALTHY`. If any essential containers in the task are
4896
+ # reporting as `UNHEALTHY` or `UNKNOWN`, then the task status also
4897
+ # reports as `UNHEALTHY` or `UNKNOWN`, accordingly.
4898
+ #
4899
+ # <note markdown="1"> The Amazon ECS container agent does not monitor or report on Docker
4900
+ # health checks that are embedded in a container image (such as those
4901
+ # specified in a parent image or from the image's Dockerfile) and not
4902
+ # specified in the container definition. Health check parameters that
4903
+ # are specified in a container definition override any Docker health
4904
+ # checks that exist in the container image.
4905
+ #
4906
+ # </note>
4907
+ # @return [String]
4908
+ #
4778
4909
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Task AWS API Documentation
4779
4910
  #
4780
4911
  class Task < Struct.new(
@@ -4803,7 +4934,8 @@ module Aws::ECS
4803
4934
  :group,
4804
4935
  :launch_type,
4805
4936
  :platform_version,
4806
- :attachments)
4937
+ :attachments,
4938
+ :health_status)
4807
4939
  include Aws::Structure
4808
4940
  end
4809
4941
 
@@ -4960,20 +5092,21 @@ module Aws::ECS
4960
5092
  # the following values, which determines your range of valid values
4961
5093
  # for the `memory` parameter:
4962
5094
  #
4963
- # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5GB), 1024
4964
- # (1GB), 2048 (2GB)
5095
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
5096
+ # GB), 2048 (2 GB)
4965
5097
  #
4966
- # * 512 (.5 vCPU) - Available `memory` values: 1024 (1GB), 2048 (2GB),
4967
- # 3072 (3GB), 4096 (4GB)
5098
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
5099
+ # GB), 3072 (3 GB), 4096 (4 GB)
4968
5100
  #
4969
- # * 1024 (1 vCPU) - Available `memory` values: 2048 (2GB), 3072 (3GB),
4970
- # 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168 (7GB), 8192 (8GB)
5101
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3
5102
+ # GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
5103
+ # GB)
4971
5104
  #
4972
- # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4GB) and
4973
- # 16384 (16GB) in increments of 1024 (1GB)
5105
+ # * 2048 (2 vCPU) - Available `memory` values: Between 4096 (4 GB) and
5106
+ # 16384 (16 GB) in increments of 1024 (1 GB)
4974
5107
  #
4975
- # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8GB) and
4976
- # 30720 (30GB) in increments of 1024 (1GB)
5108
+ # * 4096 (4 vCPU) - Available `memory` values: Between 8192 (8 GB) and
5109
+ # 30720 (30 GB) in increments of 1024 (1 GB)
4977
5110
  # @return [String]
4978
5111
  #
4979
5112
  # @!attribute [rw] memory
@@ -4983,20 +5116,20 @@ module Aws::ECS
4983
5116
  # use one of the following values, which determines your range of
4984
5117
  # valid values for the `cpu` parameter:
4985
5118
  #
4986
- # * 512 (0.5GB), 1024 (1GB), 2048 (2GB) - Available `cpu` values: 256
4987
- # (.25 vCPU)
5119
+ # * 512 (0.5 GB), 1024 (1 GB), 2048 (2 GB) - Available `cpu` values:
5120
+ # 256 (.25 vCPU)
4988
5121
  #
4989
- # * 1024 (1GB), 2048 (2GB), 3072 (3GB), 4096 (4GB) - Available `cpu`
4990
- # values: 512 (.5 vCPU)
5122
+ # * 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) - Available
5123
+ # `cpu` values: 512 (.5 vCPU)
4991
5124
  #
4992
- # * 2048 (2GB), 3072 (3GB), 4096 (4GB), 5120 (5GB), 6144 (6GB), 7168
4993
- # (7GB), 8192 (8GB) - Available `cpu` values: 1024 (1 vCPU)
5125
+ # * 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB),
5126
+ # 7168 (7 GB), 8192 (8 GB) - Available `cpu` values: 1024 (1 vCPU)
4994
5127
  #
4995
- # * Between 4096 (4GB) and 16384 (16GB) in increments of 1024 (1GB) -
4996
- # Available `cpu` values: 2048 (2 vCPU)
5128
+ # * Between 4096 (4 GB) and 16384 (16 GB) in increments of 1024 (1 GB)
5129
+ # - Available `cpu` values: 2048 (2 vCPU)
4997
5130
  #
4998
- # * Between 8192 (8GB) and 30720 (30GB) in increments of 1024 (1GB) -
4999
- # Available `cpu` values: 4096 (4 vCPU)
5131
+ # * Between 8192 (8 GB) and 30720 (30 GB) in increments of 1024 (1 GB)
5132
+ # - Available `cpu` values: 4096 (4 vCPU)
5000
5133
  # @return [String]
5001
5134
  #
5002
5135
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition AWS API Documentation
@@ -5023,7 +5156,7 @@ module Aws::ECS
5023
5156
  # An object representing a constraint on task placement in the task
5024
5157
  # definition.
5025
5158
  #
5026
- # If you are using the Fargate launch type, task placement contraints
5159
+ # If you are using the Fargate launch type, task placement constraints
5027
5160
  # are not supported.
5028
5161
  #
5029
5162
  # For more information, see [Task Placement Constraints][1] in the
@@ -5292,7 +5425,7 @@ module Aws::ECS
5292
5425
  # @!attribute [rw] network_configuration
5293
5426
  # The network configuration for the service. This parameter is
5294
5427
  # required for task definitions that use the `awsvpc` network mode to
5295
- # receive their own Elastic Network Interface, and it is not supported
5428
+ # receive their own elastic network interface, and it is not supported
5296
5429
  # for other network modes. For more information, see [Task
5297
5430
  # Networking][1] in the *Amazon Elastic Container Service Developer
5298
5431
  # Guide*.
@@ -5315,8 +5448,8 @@ module Aws::ECS
5315
5448
  # @return [String]
5316
5449
  #
5317
5450
  # @!attribute [rw] force_new_deployment
5318
- # Whether or not to force a new deployment of the service. By default,
5319
- # `--no-force-new-deployment` is assumed unless specified otherwise.
5451
+ # Whether to force a new deployment of the service. By default,
5452
+ # `--no-force-new-deployment` is assumed unless otherwise specified.
5320
5453
  # @return [Boolean]
5321
5454
  #
5322
5455
  # @!attribute [rw] health_check_grace_period_seconds
@@ -5324,12 +5457,12 @@ module Aws::ECS
5324
5457
  # scheduler should ignore unhealthy Elastic Load Balancing target
5325
5458
  # health checks after a task has first started. This is only valid if
5326
5459
  # your service is configured to use a load balancer. If your
5327
- # service's tasks take a while to start and respond to ELB health
5328
- # checks, you can specify a health check grace period of up to 1,800
5329
- # seconds during which the ECS service scheduler will ignore ELB
5330
- # health check status. This grace period can prevent the ECS service
5331
- # scheduler from marking tasks as unhealthy and stopping them before
5332
- # they have time to come up.
5460
+ # service's tasks take a while to start and respond to Elastic Load
5461
+ # Balancing health checks, you can specify a health check grace period
5462
+ # of up to 1,800 seconds during which the ECS service scheduler
5463
+ # ignores the Elastic Load Balancing health check status. This grace
5464
+ # period can prevent the ECS service scheduler from marking tasks as
5465
+ # unhealthy and stopping them before they have time to come up.
5333
5466
  # @return [Integer]
5334
5467
  #
5335
5468
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
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.9.0
4
+ version: 1.10.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: 2018-03-06 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
76
  version: '0'
77
77
  requirements: []
78
78
  rubyforge_project:
79
- rubygems_version: 2.5.1
79
+ rubygems_version: 2.5.2.2
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: AWS SDK for Ruby - Amazon ECS