aws-sdk-ecs 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1192b07cf1d3c418a52e3b6f24232c709f194c33
4
- data.tar.gz: 459dda7b74df8222d05a24d9e032cd911a6af557
3
+ metadata.gz: 682c486bafde5b6da76fbf35b1f8b84efa5e155e
4
+ data.tar.gz: 92653c85f6ff86dd6a1423db69443583288539c4
5
5
  SHA512:
6
- metadata.gz: 97707f6e2e42433deea9adc95b0d992e4e5d82bd98fecba10f76e88b94956791c4e4731c3cfe03d3afe0f75820d69df0cb4bf756274b384e38814f8a37e46ad2
7
- data.tar.gz: debdcf457e39e5edac642f31f71bebde5a73df26bcf79892a6321b369cb9d9dbdeb35e409a1fb9f0385041e21f7007faa5f22ee34c5b731e9d2d38c88e584ef9
6
+ metadata.gz: 5965442af2109ea318880108f245b65d5b8be10cef1e462af0a358f540bc938145456e076527da85203b373c342fbbd142da778d47d2fedb1bd7b459441d9ade
7
+ data.tar.gz: 2c6f665afcf1e1dd5e82beb9fe3400593ffa0b7f30f08c88140b2f727eda0199e3b3ac21647f5368708d4c90ca622e57ac49276e7889d640b3b0d3fa3adbd270
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-ecs/customizations'
43
43
  # @service
44
44
  module Aws::ECS
45
45
 
46
- GEM_VERSION = '1.7.0'
46
+ GEM_VERSION = '1.8.0'
47
47
 
48
48
  end
@@ -409,6 +409,17 @@ module Aws::ECS
409
409
  #
410
410
  # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
411
411
  #
412
+ # @option params [Integer] :health_check_grace_period_seconds
413
+ # The period of time, in seconds, that the Amazon ECS service scheduler
414
+ # should ignore unhealthy Elastic Load Balancing target health checks
415
+ # after a task has first started. This is only valid if your service is
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.
422
+ #
412
423
  # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
413
424
  #
414
425
  # * {Types::CreateServiceResponse#service #service} => Types::Service
@@ -573,6 +584,7 @@ module Aws::ECS
573
584
  # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
574
585
  # },
575
586
  # },
587
+ # health_check_grace_period_seconds: 1,
576
588
  # })
577
589
  #
578
590
  # @example Response structure
@@ -627,6 +639,7 @@ module Aws::ECS
627
639
  # resp.service.network_configuration.awsvpc_configuration.security_groups #=> Array
628
640
  # resp.service.network_configuration.awsvpc_configuration.security_groups[0] #=> String
629
641
  # resp.service.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
642
+ # resp.service.health_check_grace_period_seconds #=> Integer
630
643
  #
631
644
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateService AWS API Documentation
632
645
  #
@@ -852,6 +865,7 @@ module Aws::ECS
852
865
  # resp.service.network_configuration.awsvpc_configuration.security_groups #=> Array
853
866
  # resp.service.network_configuration.awsvpc_configuration.security_groups[0] #=> String
854
867
  # resp.service.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
868
+ # resp.service.health_check_grace_period_seconds #=> Integer
855
869
  #
856
870
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteService AWS API Documentation
857
871
  #
@@ -1136,7 +1150,7 @@ module Aws::ECS
1136
1150
  #
1137
1151
  # * runningEC2TasksCount
1138
1152
  #
1139
- # * RunningFargateTasksCount
1153
+ # * runningFargateTasksCount
1140
1154
  #
1141
1155
  # * pendingEC2TasksCount
1142
1156
  #
@@ -1511,6 +1525,7 @@ module Aws::ECS
1511
1525
  # resp.services[0].network_configuration.awsvpc_configuration.security_groups #=> Array
1512
1526
  # resp.services[0].network_configuration.awsvpc_configuration.security_groups[0] #=> String
1513
1527
  # resp.services[0].network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1528
+ # resp.services[0].health_check_grace_period_seconds #=> Integer
1514
1529
  # resp.failures #=> Array
1515
1530
  # resp.failures[0].arn #=> String
1516
1531
  # resp.failures[0].reason #=> String
@@ -2895,12 +2910,19 @@ module Aws::ECS
2895
2910
  #
2896
2911
  # @option params [String] :cpu
2897
2912
  # The number of `cpu` units used by the task. If using the EC2 launch
2898
- # type, this field is optional and any value can be used. If you are
2899
- # using the Fargate launch type, this field is required and you must use
2900
- # one of the following values, which determines your range of valid
2901
- # values for the `memory` parameter:
2913
+ # type, this field is optional and any value can be used.
2914
+ #
2915
+ # <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
2916
+ # containers. We recommend specifying container-level resources for
2917
+ # Windows containers.
2918
+ #
2919
+ # </note>
2902
2920
  #
2903
- # * 256 (.25 vCPU) - Available `memory` values: 512MB, 1GB, 2GB
2921
+ # If you are using the Fargate launch type, this field is required and
2922
+ # you must use one of the following values, which determines your range
2923
+ # of valid values for the `memory` parameter:
2924
+ #
2925
+ # * 256 (.25 vCPU) - Available `memory` values: 0.5GB, 1GB, 2GB
2904
2926
  #
2905
2927
  # * 512 (.5 vCPU) - Available `memory` values: 1GB, 2GB, 3GB, 4GB
2906
2928
  #
@@ -2915,12 +2937,19 @@ module Aws::ECS
2915
2937
  #
2916
2938
  # @option params [String] :memory
2917
2939
  # The amount (in MiB) of memory used by the task. If using the EC2
2918
- # launch type, this field is optional and any value can be used. If you
2919
- # are using the Fargate launch type, this field is required and you must
2920
- # use one of the following values, which determines your range of valid
2921
- # values for the `cpu` parameter:
2940
+ # launch type, this field is optional and any value can be used.
2941
+ #
2942
+ # <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
2943
+ # containers. We recommend specifying container-level resources for
2944
+ # Windows containers.
2945
+ #
2946
+ # </note>
2947
+ #
2948
+ # If you are using the Fargate launch type, this field is required and
2949
+ # you must use one of the following values, which determines your range
2950
+ # of valid values for the `cpu` parameter:
2922
2951
  #
2923
- # * 512MB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
2952
+ # * 0\.5GB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
2924
2953
  #
2925
2954
  # * 1GB, 2GB, 3GB, 4GB - Available `cpu` values: 512 (.5 vCPU)
2926
2955
  #
@@ -3211,6 +3240,28 @@ module Aws::ECS
3211
3240
  # Alternatively, you can use StartTask to use your own scheduler or
3212
3241
  # place tasks manually on specific container instances.
3213
3242
  #
3243
+ # The Amazon ECS API follows an eventual consistency model, due to the
3244
+ # distributed nature of the system supporting the API. This means that
3245
+ # the result of an API command you run that affects your Amazon ECS
3246
+ # resources might not be immediately visible to all subsequent commands
3247
+ # you run. You should keep this in mind when you carry out an API
3248
+ # command that immediately follows a previous API command.
3249
+ #
3250
+ # To manage eventual consistency, you can do the following:
3251
+ #
3252
+ # * Confirm the state of the resource before you run a command to modify
3253
+ # it. Run the DescribeTasks command using an exponential backoff
3254
+ # algorithm to ensure that you allow enough time for the previous
3255
+ # command to propagate through the system. To do this, run the
3256
+ # DescribeTasks command repeatedly, starting with a couple of seconds
3257
+ # of wait time, and increasing gradually up to five minutes of wait
3258
+ # time.
3259
+ #
3260
+ # * Add wait time between subsequent commands, even if the DescribeTasks
3261
+ # command returns an accurate response. Apply an exponential backoff
3262
+ # algorithm starting with a couple of seconds of wait time, and
3263
+ # increase gradually up to about five minutes of wait time.
3264
+ #
3214
3265
  #
3215
3266
  #
3216
3267
  # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
@@ -4247,6 +4298,17 @@ module Aws::ECS
4247
4298
  # @option params [Boolean] :force_new_deployment
4248
4299
  # Whether or not to force a new deployment of the service.
4249
4300
  #
4301
+ # @option params [Integer] :health_check_grace_period_seconds
4302
+ # The period of time, in seconds, that the Amazon ECS service scheduler
4303
+ # should ignore unhealthy Elastic Load Balancing target health checks
4304
+ # after a task has first started. This is only valid if your service is
4305
+ # configured to use a load balancer. If your service's tasks take a
4306
+ # while to start and respond to ELB health checks, you can specify a
4307
+ # health check grace period of up to 1,800 seconds during which the ECS
4308
+ # service scheduler will ignore ELB health check status. This grace
4309
+ # period can prevent the ECS service scheduler from marking tasks as
4310
+ # unhealthy and stopping them before they have time to come up.
4311
+ #
4250
4312
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4251
4313
  #
4252
4314
  # * {Types::UpdateServiceResponse#service #service} => Types::Service
@@ -4298,6 +4360,7 @@ module Aws::ECS
4298
4360
  # },
4299
4361
  # platform_version: "String",
4300
4362
  # force_new_deployment: false,
4363
+ # health_check_grace_period_seconds: 1,
4301
4364
  # })
4302
4365
  #
4303
4366
  # @example Response structure
@@ -4352,6 +4415,7 @@ module Aws::ECS
4352
4415
  # resp.service.network_configuration.awsvpc_configuration.security_groups #=> Array
4353
4416
  # resp.service.network_configuration.awsvpc_configuration.security_groups[0] #=> String
4354
4417
  # resp.service.network_configuration.awsvpc_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
4418
+ # resp.service.health_check_grace_period_seconds #=> Integer
4355
4419
  #
4356
4420
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateService AWS API Documentation
4357
4421
  #
@@ -4375,7 +4439,7 @@ module Aws::ECS
4375
4439
  params: params,
4376
4440
  config: config)
4377
4441
  context[:gem_name] = 'aws-sdk-ecs'
4378
- context[:gem_version] = '1.7.0'
4442
+ context[:gem_version] = '1.8.0'
4379
4443
  Seahorse::Client::Request.new(handlers, context)
4380
4444
  end
4381
4445
 
@@ -342,6 +342,7 @@ module Aws::ECS
342
342
  CreateServiceRequest.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
343
343
  CreateServiceRequest.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
344
344
  CreateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
345
+ CreateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
345
346
  CreateServiceRequest.struct_class = Types::CreateServiceRequest
346
347
 
347
348
  CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
@@ -706,6 +707,7 @@ module Aws::ECS
706
707
  Service.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
707
708
  Service.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
708
709
  Service.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
710
+ Service.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
709
711
  Service.struct_class = Types::Service
710
712
 
711
713
  ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
@@ -857,6 +859,7 @@ module Aws::ECS
857
859
  UpdateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
858
860
  UpdateServiceRequest.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
859
861
  UpdateServiceRequest.add_member(:force_new_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceNewDeployment"))
862
+ UpdateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
860
863
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
861
864
 
862
865
  UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
@@ -548,6 +548,10 @@ module Aws::ECS
548
548
  # container instance, but also allow the container to consume more
549
549
  # memory resources when needed.
550
550
  #
551
+ # The Docker daemon reserves a minimum of 4 MiB of memory for a
552
+ # container, so you should not specify fewer than 4 MiB of memory for
553
+ # your containers.
554
+ #
551
555
  #
552
556
  #
553
557
  # [1]: https://docs.docker.com/engine/reference/api/docker_remote_api_v1.27/#create-a-container
@@ -1342,6 +1346,7 @@ module Aws::ECS
1342
1346
  # assign_public_ip: "ENABLED", # accepts ENABLED, DISABLED
1343
1347
  # },
1344
1348
  # },
1349
+ # health_check_grace_period_seconds: 1,
1345
1350
  # }
1346
1351
  #
1347
1352
  # @!attribute [rw] cluster
@@ -1467,6 +1472,19 @@ module Aws::ECS
1467
1472
  # [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html
1468
1473
  # @return [Types::NetworkConfiguration]
1469
1474
  #
1475
+ # @!attribute [rw] health_check_grace_period_seconds
1476
+ # The period of time, in seconds, that the Amazon ECS service
1477
+ # scheduler should ignore unhealthy Elastic Load Balancing target
1478
+ # health checks after a task has first started. This is only valid if
1479
+ # your service is configured to use a load balancer. If your
1480
+ # service's tasks take a while to start and respond to ELB health
1481
+ # checks, you can specify a health check grace period of up to 1,800
1482
+ # seconds during which the ECS service scheduler will ignore ELB
1483
+ # health check status. This grace period can prevent the ECS service
1484
+ # scheduler from marking tasks as unhealthy and stopping them before
1485
+ # they have time to come up.
1486
+ # @return [Integer]
1487
+ #
1470
1488
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/CreateServiceRequest AWS API Documentation
1471
1489
  #
1472
1490
  class CreateServiceRequest < Struct.new(
@@ -1482,7 +1500,8 @@ module Aws::ECS
1482
1500
  :deployment_configuration,
1483
1501
  :placement_constraints,
1484
1502
  :placement_strategy,
1485
- :network_configuration)
1503
+ :network_configuration,
1504
+ :health_check_grace_period_seconds)
1486
1505
  include Aws::Structure
1487
1506
  end
1488
1507
 
@@ -1834,7 +1853,7 @@ module Aws::ECS
1834
1853
  #
1835
1854
  # * runningEC2TasksCount
1836
1855
  #
1837
- # * RunningFargateTasksCount
1856
+ # * runningFargateTasksCount
1838
1857
  #
1839
1858
  # * pendingEC2TasksCount
1840
1859
  #
@@ -3297,9 +3316,10 @@ module Aws::ECS
3297
3316
  # instance to send or receive traffic. Port mappings are specified as
3298
3317
  # part of the container definition.
3299
3318
  #
3300
- # If using containers in a task with the Fargate launch type, exposed
3301
- # ports should be specified using `containerPort`. The `hostPort` can be
3302
- # left blank or it must be the same value as the `containerPort`.
3319
+ # If using containers in a task with the `awsvpc` or `host` network
3320
+ # mode, exposed ports should be specified using `containerPort`. The
3321
+ # `hostPort` can be left blank or it must be the same value as the
3322
+ # `containerPort`.
3303
3323
  #
3304
3324
  # After a task reaches the `RUNNING` status, manual and automatic host
3305
3325
  # and container port assignments are visible in the `networkBindings`
@@ -3318,10 +3338,10 @@ module Aws::ECS
3318
3338
  # The port number on the container that is bound to the user-specified
3319
3339
  # or automatically assigned host port.
3320
3340
  #
3321
- # If using containers in a task with the Fargate launch type, exposed
3322
- # ports should be specified using `containerPort`.
3341
+ # If using containers in a task with the `awsvpc` or `host` network
3342
+ # mode, exposed ports should be specified using `containerPort`.
3323
3343
  #
3324
- # If using containers in a task with the EC2 launch type and you
3344
+ # If using containers in a task with the `bridge` network mode and you
3325
3345
  # specify a container port and not a host port, your container
3326
3346
  # automatically receives a host port in the ephemeral port range (for
3327
3347
  # more information, see `hostPort`). Port mappings that are
@@ -3333,16 +3353,16 @@ module Aws::ECS
3333
3353
  # The port number on the container instance to reserve for your
3334
3354
  # container.
3335
3355
  #
3336
- # If using containers in a task with the Fargate launch type, the
3337
- # `hostPort` can either be left blank or needs to be the same value as
3338
- # the `containerPort`.
3356
+ # If using containers in a task with the `awsvpc` or `host` network
3357
+ # mode, the `hostPort` can either be left blank or needs to be the
3358
+ # same value as the `containerPort`.
3339
3359
  #
3340
- # If using containers in a task with the EC2 launch type, you can
3341
- # specify a non-reserved host port for your container port mapping, or
3342
- # you can omit the `hostPort` (or set it to `0`) while specifying a
3343
- # `containerPort` and your container automatically receives a port in
3344
- # the ephemeral port range for your container instance operating
3345
- # system and Docker version.
3360
+ # If using containers in a task with the `bridge` network mode, you
3361
+ # can specify a non-reserved host port for your container port
3362
+ # mapping, or you can omit the `hostPort` (or set it to `0`) while
3363
+ # specifying a `containerPort` and your container automatically
3364
+ # receives a port in the ephemeral port range for your container
3365
+ # instance operating system and Docker version.
3346
3366
  #
3347
3367
  # The default ephemeral port range for Docker version 1.6.0 and later
3348
3368
  # is listed on the instance under
@@ -3726,12 +3746,19 @@ module Aws::ECS
3726
3746
  #
3727
3747
  # @!attribute [rw] cpu
3728
3748
  # The number of `cpu` units used by the task. If using the EC2 launch
3729
- # type, this field is optional and any value can be used. If you are
3730
- # using the Fargate launch type, this field is required and you must
3731
- # use one of the following values, which determines your range of
3732
- # valid values for the `memory` parameter:
3749
+ # type, this field is optional and any value can be used.
3733
3750
  #
3734
- # * 256 (.25 vCPU) - Available `memory` values: 512MB, 1GB, 2GB
3751
+ # <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
3752
+ # containers. We recommend specifying container-level resources for
3753
+ # Windows containers.
3754
+ #
3755
+ # </note>
3756
+ #
3757
+ # If you are using the Fargate launch type, this field is required and
3758
+ # you must use one of the following values, which determines your
3759
+ # range of valid values for the `memory` parameter:
3760
+ #
3761
+ # * 256 (.25 vCPU) - Available `memory` values: 0.5GB, 1GB, 2GB
3735
3762
  #
3736
3763
  # * 512 (.5 vCPU) - Available `memory` values: 1GB, 2GB, 3GB, 4GB
3737
3764
  #
@@ -3747,12 +3774,19 @@ module Aws::ECS
3747
3774
  #
3748
3775
  # @!attribute [rw] memory
3749
3776
  # The amount (in MiB) of memory used by the task. If using the EC2
3750
- # launch type, this field is optional and any value can be used. If
3751
- # you are using the Fargate launch type, this field is required and
3777
+ # launch type, this field is optional and any value can be used.
3778
+ #
3779
+ # <note markdown="1"> Task-level CPU and memory parameters are ignored for Windows
3780
+ # containers. We recommend specifying container-level resources for
3781
+ # Windows containers.
3782
+ #
3783
+ # </note>
3784
+ #
3785
+ # If you are using the Fargate launch type, this field is required and
3752
3786
  # you must use one of the following values, which determines your
3753
3787
  # range of valid values for the `cpu` parameter:
3754
3788
  #
3755
- # * 512MB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
3789
+ # * 0\.5GB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
3756
3790
  #
3757
3791
  # * 1GB, 2GB, 3GB, 4GB - Available `cpu` values: 512 (.5 vCPU)
3758
3792
  #
@@ -4128,6 +4162,12 @@ module Aws::ECS
4128
4162
  # networking mode.
4129
4163
  # @return [Types::NetworkConfiguration]
4130
4164
  #
4165
+ # @!attribute [rw] health_check_grace_period_seconds
4166
+ # The period of time, in seconds, that the Amazon ECS service
4167
+ # scheduler ignores unhealthy Elastic Load Balancing target health
4168
+ # checks after a task has first started.
4169
+ # @return [Integer]
4170
+ #
4131
4171
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Service AWS API Documentation
4132
4172
  #
4133
4173
  class Service < Struct.new(
@@ -4149,7 +4189,8 @@ module Aws::ECS
4149
4189
  :created_at,
4150
4190
  :placement_constraints,
4151
4191
  :placement_strategy,
4152
- :network_configuration)
4192
+ :network_configuration,
4193
+ :health_check_grace_period_seconds)
4153
4194
  include Aws::Structure
4154
4195
  end
4155
4196
 
@@ -4557,7 +4598,7 @@ module Aws::ECS
4557
4598
  # the following values, which determines your range of valid values
4558
4599
  # for the `memory` parameter:
4559
4600
  #
4560
- # * 256 (.25 vCPU) - Available `memory` values: 512MB, 1GB, 2GB
4601
+ # * 256 (.25 vCPU) - Available `memory` values: 0.5GB, 1GB, 2GB
4561
4602
  #
4562
4603
  # * 512 (.5 vCPU) - Available `memory` values: 1GB, 2GB, 3GB, 4GB
4563
4604
  #
@@ -4578,7 +4619,7 @@ module Aws::ECS
4578
4619
  # use one of the following values, which determines your range of
4579
4620
  # valid values for the `cpu` parameter:
4580
4621
  #
4581
- # * 512MB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
4622
+ # * 0\.5GB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
4582
4623
  #
4583
4624
  # * 1GB, 2GB, 3GB, 4GB - Available `cpu` values: 512 (.5 vCPU)
4584
4625
  #
@@ -4865,7 +4906,7 @@ module Aws::ECS
4865
4906
  # the following values, which determines your range of valid values
4866
4907
  # for the `memory` parameter:
4867
4908
  #
4868
- # * 256 (.25 vCPU) - Available `memory` values: 512MB, 1GB, 2GB
4909
+ # * 256 (.25 vCPU) - Available `memory` values: 0.5GB, 1GB, 2GB
4869
4910
  #
4870
4911
  # * 512 (.5 vCPU) - Available `memory` values: 1GB, 2GB, 3GB, 4GB
4871
4912
  #
@@ -4886,7 +4927,7 @@ module Aws::ECS
4886
4927
  # use one of the following values, which determines your range of
4887
4928
  # valid values for the `cpu` parameter:
4888
4929
  #
4889
- # * 512MB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
4930
+ # * 0\.5GB, 1GB, 2GB - Available `cpu` values: 256 (.25 vCPU)
4890
4931
  #
4891
4932
  # * 1GB, 2GB, 3GB, 4GB - Available `cpu` values: 512 (.5 vCPU)
4892
4933
  #
@@ -5157,6 +5198,7 @@ module Aws::ECS
5157
5198
  # },
5158
5199
  # platform_version: "String",
5159
5200
  # force_new_deployment: false,
5201
+ # health_check_grace_period_seconds: 1,
5160
5202
  # }
5161
5203
  #
5162
5204
  # @!attribute [rw] cluster
@@ -5218,6 +5260,19 @@ module Aws::ECS
5218
5260
  # Whether or not to force a new deployment of the service.
5219
5261
  # @return [Boolean]
5220
5262
  #
5263
+ # @!attribute [rw] health_check_grace_period_seconds
5264
+ # The period of time, in seconds, that the Amazon ECS service
5265
+ # scheduler should ignore unhealthy Elastic Load Balancing target
5266
+ # health checks after a task has first started. This is only valid if
5267
+ # your service is configured to use a load balancer. If your
5268
+ # service's tasks take a while to start and respond to ELB health
5269
+ # checks, you can specify a health check grace period of up to 1,800
5270
+ # seconds during which the ECS service scheduler will ignore ELB
5271
+ # health check status. This grace period can prevent the ECS service
5272
+ # scheduler from marking tasks as unhealthy and stopping them before
5273
+ # they have time to come up.
5274
+ # @return [Integer]
5275
+ #
5221
5276
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/UpdateServiceRequest AWS API Documentation
5222
5277
  #
5223
5278
  class UpdateServiceRequest < Struct.new(
@@ -5228,7 +5283,8 @@ module Aws::ECS
5228
5283
  :deployment_configuration,
5229
5284
  :network_configuration,
5230
5285
  :platform_version,
5231
- :force_new_deployment)
5286
+ :force_new_deployment,
5287
+ :health_check_grace_period_seconds)
5232
5288
  include Aws::Structure
5233
5289
  end
5234
5290
 
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.7.0
4
+ version: 1.8.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: 2017-12-08 00:00:00.000000000 Z
11
+ date: 2017-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core