aws-sdk-ecs 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +57 -6
- data/lib/aws-sdk-ecs/client_api.rb +24 -0
- data/lib/aws-sdk-ecs/types.rb +198 -7
- 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: 9ae6cd8fc920ffafea71d89981a0c554889d3aa9
|
4
|
+
data.tar.gz: 0a419fdc6ef1c51864d8c8caa0e7942764f31f3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbdd5bbdd5a65e3e27190ba86f8286d835ba6eb146df227a9d2feca434677c8e0964b0984563edb77ffdff8c409d74128d813a89924ace19894a5a7ed240598a
|
7
|
+
data.tar.gz: 6409d1863b39a583f2110b5d34c38528af23e5640905d9034f27f86c6e11dd61128f4fa726718037a7aa834fb04f38e9a6ac095561ce708af82deb5557ec7e95
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -566,11 +566,11 @@ module Aws::ECS
|
|
566
566
|
# after a task has first started. This is only valid if your service is
|
567
567
|
# configured to use a load balancer. If your service's tasks take a
|
568
568
|
# while to start and respond to Elastic Load Balancing health checks,
|
569
|
-
# you can specify a health check grace period of up to
|
570
|
-
# During that time, the ECS service scheduler ignores health
|
571
|
-
# status. This grace period can prevent the ECS service scheduler
|
572
|
-
# marking tasks as unhealthy and stopping them before they have
|
573
|
-
# come up.
|
569
|
+
# you can specify a health check grace period of up to 2,147,483,647
|
570
|
+
# seconds. During that time, the ECS service scheduler ignores health
|
571
|
+
# check status. This grace period can prevent the ECS service scheduler
|
572
|
+
# from marking tasks as unhealthy and stopping them before they have
|
573
|
+
# time to come up.
|
574
574
|
#
|
575
575
|
# @option params [String] :scheduling_strategy
|
576
576
|
# The scheduling strategy to use for the service. For more information,
|
@@ -1501,6 +1501,11 @@ module Aws::ECS
|
|
1501
1501
|
# resp.task_definition.container_definitions[0].secrets #=> Array
|
1502
1502
|
# resp.task_definition.container_definitions[0].secrets[0].name #=> String
|
1503
1503
|
# resp.task_definition.container_definitions[0].secrets[0].value_from #=> String
|
1504
|
+
# resp.task_definition.container_definitions[0].depends_on #=> Array
|
1505
|
+
# resp.task_definition.container_definitions[0].depends_on[0].container_name #=> String
|
1506
|
+
# resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
1507
|
+
# resp.task_definition.container_definitions[0].start_timeout #=> Integer
|
1508
|
+
# resp.task_definition.container_definitions[0].stop_timeout #=> Integer
|
1504
1509
|
# resp.task_definition.container_definitions[0].hostname #=> String
|
1505
1510
|
# resp.task_definition.container_definitions[0].user #=> String
|
1506
1511
|
# resp.task_definition.container_definitions[0].working_directory #=> String
|
@@ -1571,6 +1576,11 @@ module Aws::ECS
|
|
1571
1576
|
# resp.task_definition.memory #=> String
|
1572
1577
|
# resp.task_definition.pid_mode #=> String, one of "host", "task"
|
1573
1578
|
# resp.task_definition.ipc_mode #=> String, one of "host", "task", "none"
|
1579
|
+
# resp.task_definition.proxy_configuration.type #=> String, one of "APPMESH"
|
1580
|
+
# resp.task_definition.proxy_configuration.container_name #=> String
|
1581
|
+
# resp.task_definition.proxy_configuration.properties #=> Array
|
1582
|
+
# resp.task_definition.proxy_configuration.properties[0].name #=> String
|
1583
|
+
# resp.task_definition.proxy_configuration.properties[0].value #=> String
|
1574
1584
|
#
|
1575
1585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeregisterTaskDefinition AWS API Documentation
|
1576
1586
|
#
|
@@ -2189,6 +2199,11 @@ module Aws::ECS
|
|
2189
2199
|
# resp.task_definition.container_definitions[0].secrets #=> Array
|
2190
2200
|
# resp.task_definition.container_definitions[0].secrets[0].name #=> String
|
2191
2201
|
# resp.task_definition.container_definitions[0].secrets[0].value_from #=> String
|
2202
|
+
# resp.task_definition.container_definitions[0].depends_on #=> Array
|
2203
|
+
# resp.task_definition.container_definitions[0].depends_on[0].container_name #=> String
|
2204
|
+
# resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
2205
|
+
# resp.task_definition.container_definitions[0].start_timeout #=> Integer
|
2206
|
+
# resp.task_definition.container_definitions[0].stop_timeout #=> Integer
|
2192
2207
|
# resp.task_definition.container_definitions[0].hostname #=> String
|
2193
2208
|
# resp.task_definition.container_definitions[0].user #=> String
|
2194
2209
|
# resp.task_definition.container_definitions[0].working_directory #=> String
|
@@ -2259,6 +2274,11 @@ module Aws::ECS
|
|
2259
2274
|
# resp.task_definition.memory #=> String
|
2260
2275
|
# resp.task_definition.pid_mode #=> String, one of "host", "task"
|
2261
2276
|
# resp.task_definition.ipc_mode #=> String, one of "host", "task", "none"
|
2277
|
+
# resp.task_definition.proxy_configuration.type #=> String, one of "APPMESH"
|
2278
|
+
# resp.task_definition.proxy_configuration.container_name #=> String
|
2279
|
+
# resp.task_definition.proxy_configuration.properties #=> Array
|
2280
|
+
# resp.task_definition.proxy_configuration.properties[0].name #=> String
|
2281
|
+
# resp.task_definition.proxy_configuration.properties[0].value #=> String
|
2262
2282
|
# resp.tags #=> Array
|
2263
2283
|
# resp.tags[0].key #=> String
|
2264
2284
|
# resp.tags[0].value #=> String
|
@@ -4015,6 +4035,9 @@ module Aws::ECS
|
|
4015
4035
|
# [2]: https://docs.docker.com/engine/security/security/
|
4016
4036
|
# [3]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
4017
4037
|
#
|
4038
|
+
# @option params [Types::ProxyConfiguration] :proxy_configuration
|
4039
|
+
# The configuration details for the App Mesh proxy.
|
4040
|
+
#
|
4018
4041
|
# @return [Types::RegisterTaskDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4019
4042
|
#
|
4020
4043
|
# * {Types::RegisterTaskDefinitionResponse#task_definition #task_definition} => Types::TaskDefinition
|
@@ -4152,6 +4175,14 @@ module Aws::ECS
|
|
4152
4175
|
# value_from: "String", # required
|
4153
4176
|
# },
|
4154
4177
|
# ],
|
4178
|
+
# depends_on: [
|
4179
|
+
# {
|
4180
|
+
# container_name: "String", # required
|
4181
|
+
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
4182
|
+
# },
|
4183
|
+
# ],
|
4184
|
+
# start_timeout: 1,
|
4185
|
+
# stop_timeout: 1,
|
4155
4186
|
# hostname: "String",
|
4156
4187
|
# user: "String",
|
4157
4188
|
# working_directory: "String",
|
@@ -4242,6 +4273,16 @@ module Aws::ECS
|
|
4242
4273
|
# ],
|
4243
4274
|
# pid_mode: "host", # accepts host, task
|
4244
4275
|
# ipc_mode: "host", # accepts host, task, none
|
4276
|
+
# proxy_configuration: {
|
4277
|
+
# type: "APPMESH", # accepts APPMESH
|
4278
|
+
# container_name: "String", # required
|
4279
|
+
# properties: [
|
4280
|
+
# {
|
4281
|
+
# name: "String",
|
4282
|
+
# value: "String",
|
4283
|
+
# },
|
4284
|
+
# ],
|
4285
|
+
# },
|
4245
4286
|
# })
|
4246
4287
|
#
|
4247
4288
|
# @example Response structure
|
@@ -4294,6 +4335,11 @@ module Aws::ECS
|
|
4294
4335
|
# resp.task_definition.container_definitions[0].secrets #=> Array
|
4295
4336
|
# resp.task_definition.container_definitions[0].secrets[0].name #=> String
|
4296
4337
|
# resp.task_definition.container_definitions[0].secrets[0].value_from #=> String
|
4338
|
+
# resp.task_definition.container_definitions[0].depends_on #=> Array
|
4339
|
+
# resp.task_definition.container_definitions[0].depends_on[0].container_name #=> String
|
4340
|
+
# resp.task_definition.container_definitions[0].depends_on[0].condition #=> String, one of "START", "COMPLETE", "SUCCESS", "HEALTHY"
|
4341
|
+
# resp.task_definition.container_definitions[0].start_timeout #=> Integer
|
4342
|
+
# resp.task_definition.container_definitions[0].stop_timeout #=> Integer
|
4297
4343
|
# resp.task_definition.container_definitions[0].hostname #=> String
|
4298
4344
|
# resp.task_definition.container_definitions[0].user #=> String
|
4299
4345
|
# resp.task_definition.container_definitions[0].working_directory #=> String
|
@@ -4364,6 +4410,11 @@ module Aws::ECS
|
|
4364
4410
|
# resp.task_definition.memory #=> String
|
4365
4411
|
# resp.task_definition.pid_mode #=> String, one of "host", "task"
|
4366
4412
|
# resp.task_definition.ipc_mode #=> String, one of "host", "task", "none"
|
4413
|
+
# resp.task_definition.proxy_configuration.type #=> String, one of "APPMESH"
|
4414
|
+
# resp.task_definition.proxy_configuration.container_name #=> String
|
4415
|
+
# resp.task_definition.proxy_configuration.properties #=> Array
|
4416
|
+
# resp.task_definition.proxy_configuration.properties[0].name #=> String
|
4417
|
+
# resp.task_definition.proxy_configuration.properties[0].value #=> String
|
4367
4418
|
# resp.tags #=> Array
|
4368
4419
|
# resp.tags[0].key #=> String
|
4369
4420
|
# resp.tags[0].value #=> String
|
@@ -5909,7 +5960,7 @@ module Aws::ECS
|
|
5909
5960
|
params: params,
|
5910
5961
|
config: config)
|
5911
5962
|
context[:gem_name] = 'aws-sdk-ecs'
|
5912
|
-
context[:gem_version] = '1.
|
5963
|
+
context[:gem_version] = '1.31.0'
|
5913
5964
|
Seahorse::Client::Request.new(handlers, context)
|
5914
5965
|
end
|
5915
5966
|
|
@@ -40,8 +40,11 @@ module Aws::ECS
|
|
40
40
|
CompatibilityList = Shapes::ListShape.new(name: 'CompatibilityList')
|
41
41
|
Connectivity = Shapes::StringShape.new(name: 'Connectivity')
|
42
42
|
Container = Shapes::StructureShape.new(name: 'Container')
|
43
|
+
ContainerCondition = Shapes::StringShape.new(name: 'ContainerCondition')
|
43
44
|
ContainerDefinition = Shapes::StructureShape.new(name: 'ContainerDefinition')
|
44
45
|
ContainerDefinitions = Shapes::ListShape.new(name: 'ContainerDefinitions')
|
46
|
+
ContainerDependencies = Shapes::ListShape.new(name: 'ContainerDependencies')
|
47
|
+
ContainerDependency = Shapes::StructureShape.new(name: 'ContainerDependency')
|
45
48
|
ContainerInstance = Shapes::StructureShape.new(name: 'ContainerInstance')
|
46
49
|
ContainerInstanceField = Shapes::StringShape.new(name: 'ContainerInstanceField')
|
47
50
|
ContainerInstanceFieldList = Shapes::ListShape.new(name: 'ContainerInstanceFieldList')
|
@@ -158,6 +161,9 @@ module Aws::ECS
|
|
158
161
|
PortMapping = Shapes::StructureShape.new(name: 'PortMapping')
|
159
162
|
PortMappingList = Shapes::ListShape.new(name: 'PortMappingList')
|
160
163
|
PropagateTags = Shapes::StringShape.new(name: 'PropagateTags')
|
164
|
+
ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
|
165
|
+
ProxyConfigurationProperties = Shapes::ListShape.new(name: 'ProxyConfigurationProperties')
|
166
|
+
ProxyConfigurationType = Shapes::StringShape.new(name: 'ProxyConfigurationType')
|
161
167
|
PutAccountSettingDefaultRequest = Shapes::StructureShape.new(name: 'PutAccountSettingDefaultRequest')
|
162
168
|
PutAccountSettingDefaultResponse = Shapes::StructureShape.new(name: 'PutAccountSettingDefaultResponse')
|
163
169
|
PutAccountSettingRequest = Shapes::StructureShape.new(name: 'PutAccountSettingRequest')
|
@@ -339,6 +345,9 @@ module Aws::ECS
|
|
339
345
|
ContainerDefinition.add_member(:volumes_from, Shapes::ShapeRef.new(shape: VolumeFromList, location_name: "volumesFrom"))
|
340
346
|
ContainerDefinition.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
|
341
347
|
ContainerDefinition.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
|
348
|
+
ContainerDefinition.add_member(:depends_on, Shapes::ShapeRef.new(shape: ContainerDependencies, location_name: "dependsOn"))
|
349
|
+
ContainerDefinition.add_member(:start_timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "startTimeout"))
|
350
|
+
ContainerDefinition.add_member(:stop_timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "stopTimeout"))
|
342
351
|
ContainerDefinition.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "hostname"))
|
343
352
|
ContainerDefinition.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
344
353
|
ContainerDefinition.add_member(:working_directory, Shapes::ShapeRef.new(shape: String, location_name: "workingDirectory"))
|
@@ -361,6 +370,12 @@ module Aws::ECS
|
|
361
370
|
|
362
371
|
ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
|
363
372
|
|
373
|
+
ContainerDependencies.member = Shapes::ShapeRef.new(shape: ContainerDependency)
|
374
|
+
|
375
|
+
ContainerDependency.add_member(:container_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerName"))
|
376
|
+
ContainerDependency.add_member(:condition, Shapes::ShapeRef.new(shape: ContainerCondition, required: true, location_name: "condition"))
|
377
|
+
ContainerDependency.struct_class = Types::ContainerDependency
|
378
|
+
|
364
379
|
ContainerInstance.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
365
380
|
ContainerInstance.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "ec2InstanceId"))
|
366
381
|
ContainerInstance.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
|
@@ -772,6 +787,13 @@ module Aws::ECS
|
|
772
787
|
|
773
788
|
PortMappingList.member = Shapes::ShapeRef.new(shape: PortMapping)
|
774
789
|
|
790
|
+
ProxyConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ProxyConfigurationType, location_name: "type"))
|
791
|
+
ProxyConfiguration.add_member(:container_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerName"))
|
792
|
+
ProxyConfiguration.add_member(:properties, Shapes::ShapeRef.new(shape: ProxyConfigurationProperties, location_name: "properties"))
|
793
|
+
ProxyConfiguration.struct_class = Types::ProxyConfiguration
|
794
|
+
|
795
|
+
ProxyConfigurationProperties.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
796
|
+
|
775
797
|
PutAccountSettingDefaultRequest.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, required: true, location_name: "name"))
|
776
798
|
PutAccountSettingDefaultRequest.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
|
777
799
|
PutAccountSettingDefaultRequest.struct_class = Types::PutAccountSettingDefaultRequest
|
@@ -821,6 +843,7 @@ module Aws::ECS
|
|
821
843
|
RegisterTaskDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
822
844
|
RegisterTaskDefinitionRequest.add_member(:pid_mode, Shapes::ShapeRef.new(shape: PidMode, location_name: "pidMode"))
|
823
845
|
RegisterTaskDefinitionRequest.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: IpcMode, location_name: "ipcMode"))
|
846
|
+
RegisterTaskDefinitionRequest.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
824
847
|
RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
|
825
848
|
|
826
849
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
@@ -1059,6 +1082,7 @@ module Aws::ECS
|
|
1059
1082
|
TaskDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
|
1060
1083
|
TaskDefinition.add_member(:pid_mode, Shapes::ShapeRef.new(shape: PidMode, location_name: "pidMode"))
|
1061
1084
|
TaskDefinition.add_member(:ipc_mode, Shapes::ShapeRef.new(shape: IpcMode, location_name: "ipcMode"))
|
1085
|
+
TaskDefinition.add_member(:proxy_configuration, Shapes::ShapeRef.new(shape: ProxyConfiguration, location_name: "proxyConfiguration"))
|
1062
1086
|
TaskDefinition.struct_class = Types::TaskDefinition
|
1063
1087
|
|
1064
1088
|
TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -401,6 +401,14 @@ module Aws::ECS
|
|
401
401
|
# value_from: "String", # required
|
402
402
|
# },
|
403
403
|
# ],
|
404
|
+
# depends_on: [
|
405
|
+
# {
|
406
|
+
# container_name: "String", # required
|
407
|
+
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
408
|
+
# },
|
409
|
+
# ],
|
410
|
+
# start_timeout: 1,
|
411
|
+
# stop_timeout: 1,
|
404
412
|
# hostname: "String",
|
405
413
|
# user: "String",
|
406
414
|
# working_directory: "String",
|
@@ -843,6 +851,32 @@ module Aws::ECS
|
|
843
851
|
# [1]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/specifying-sensitive-data.html
|
844
852
|
# @return [Array<Types::Secret>]
|
845
853
|
#
|
854
|
+
# @!attribute [rw] depends_on
|
855
|
+
# The dependencies defined for container startup. A container can
|
856
|
+
# contain multiple dependencies.
|
857
|
+
# @return [Array<Types::ContainerDependency>]
|
858
|
+
#
|
859
|
+
# @!attribute [rw] start_timeout
|
860
|
+
# Time duration to wait before giving up on starting the container.
|
861
|
+
#
|
862
|
+
# <note markdown="1"> The `startTimeout` value for the container will take precedence over
|
863
|
+
# the `ECS_CONTAINER_START_TIMEOUT` container agent configuration
|
864
|
+
# parameter, if used.
|
865
|
+
#
|
866
|
+
# </note>
|
867
|
+
# @return [Integer]
|
868
|
+
#
|
869
|
+
# @!attribute [rw] stop_timeout
|
870
|
+
# Time duration to wait before the container is forcefully killed if
|
871
|
+
# it does not exit normally on its own.
|
872
|
+
#
|
873
|
+
# <note markdown="1"> The `stopTimeout` value for the container will take precedence over
|
874
|
+
# the `ECS_CONTAINER_STOP_TIMEOUT` container agent configuration
|
875
|
+
# parameter, if used.
|
876
|
+
#
|
877
|
+
# </note>
|
878
|
+
# @return [Integer]
|
879
|
+
#
|
846
880
|
# @!attribute [rw] hostname
|
847
881
|
# The hostname to use for your container. This parameter maps to
|
848
882
|
# `Hostname` in the [Create a container][1] section of the [Docker
|
@@ -861,10 +895,25 @@ module Aws::ECS
|
|
861
895
|
# @return [String]
|
862
896
|
#
|
863
897
|
# @!attribute [rw] user
|
864
|
-
# The
|
898
|
+
# The username to use inside the container. This parameter maps to
|
865
899
|
# `User` in the [Create a container][1] section of the [Docker Remote
|
866
900
|
# API][2] and the `--user` option to [docker run][3].
|
867
901
|
#
|
902
|
+
# This following formats can be used. If specifying a UID or GID, it
|
903
|
+
# must be specified as a positive integer.
|
904
|
+
#
|
905
|
+
# * `user`
|
906
|
+
#
|
907
|
+
# * `user:group`
|
908
|
+
#
|
909
|
+
# * `uid`
|
910
|
+
#
|
911
|
+
# * `uid:gid`
|
912
|
+
#
|
913
|
+
# * `user:gid`
|
914
|
+
#
|
915
|
+
# * `uid:group`
|
916
|
+
#
|
868
917
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
869
918
|
#
|
870
919
|
# </note>
|
@@ -1196,6 +1245,9 @@ module Aws::ECS
|
|
1196
1245
|
:volumes_from,
|
1197
1246
|
:linux_parameters,
|
1198
1247
|
:secrets,
|
1248
|
+
:depends_on,
|
1249
|
+
:start_timeout,
|
1250
|
+
:stop_timeout,
|
1199
1251
|
:hostname,
|
1200
1252
|
:user,
|
1201
1253
|
:working_directory,
|
@@ -1217,6 +1269,52 @@ module Aws::ECS
|
|
1217
1269
|
include Aws::Structure
|
1218
1270
|
end
|
1219
1271
|
|
1272
|
+
# The dependencies defined for container startup. A container can
|
1273
|
+
# contain multiple dependencies.
|
1274
|
+
#
|
1275
|
+
# @note When making an API call, you may pass ContainerDependency
|
1276
|
+
# data as a hash:
|
1277
|
+
#
|
1278
|
+
# {
|
1279
|
+
# container_name: "String", # required
|
1280
|
+
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
1281
|
+
# }
|
1282
|
+
#
|
1283
|
+
# @!attribute [rw] container_name
|
1284
|
+
# The name of a container.
|
1285
|
+
# @return [String]
|
1286
|
+
#
|
1287
|
+
# @!attribute [rw] condition
|
1288
|
+
# The dependency condition of the container. The following are the
|
1289
|
+
# available conditions and their behavior:
|
1290
|
+
#
|
1291
|
+
# * `START` - This condition emulates the behavior of links and
|
1292
|
+
# volumes today. It validates that a dependent container is started
|
1293
|
+
# before permitting other containers to start.
|
1294
|
+
#
|
1295
|
+
# * `COMPLETE` - This condition validates that a dependent container
|
1296
|
+
# runs to completion (exits) before permitting other containers to
|
1297
|
+
# start. This can be useful for non-essential containers that run a
|
1298
|
+
# script and then subsequently exit.
|
1299
|
+
#
|
1300
|
+
# * `SUCCESS` - This condition is the same as `COMPLETE`, but it will
|
1301
|
+
# also require that the container exits with a `zero` status.
|
1302
|
+
#
|
1303
|
+
# * `HEALTHY` - This condition validates that the dependent container
|
1304
|
+
# passes its Docker health check before permitting other containers
|
1305
|
+
# to start. This requires that the dependent container has health
|
1306
|
+
# checks configured. This condition will only be confirmed at task
|
1307
|
+
# startup.
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDependency AWS API Documentation
|
1311
|
+
#
|
1312
|
+
class ContainerDependency < Struct.new(
|
1313
|
+
:container_name,
|
1314
|
+
:condition)
|
1315
|
+
include Aws::Structure
|
1316
|
+
end
|
1317
|
+
|
1220
1318
|
# An EC2 instance that is running the Amazon ECS agent and has been
|
1221
1319
|
# registered with a cluster.
|
1222
1320
|
#
|
@@ -1785,10 +1883,10 @@ module Aws::ECS
|
|
1785
1883
|
# your service is configured to use a load balancer. If your
|
1786
1884
|
# service's tasks take a while to start and respond to Elastic Load
|
1787
1885
|
# Balancing health checks, you can specify a health check grace period
|
1788
|
-
# of up to
|
1789
|
-
# ignores health check status. This grace period can prevent
|
1790
|
-
# service scheduler from marking tasks as unhealthy and
|
1791
|
-
# before they have time to come up.
|
1886
|
+
# of up to 2,147,483,647 seconds. During that time, the ECS service
|
1887
|
+
# scheduler ignores health check status. This grace period can prevent
|
1888
|
+
# the ECS service scheduler from marking tasks as unhealthy and
|
1889
|
+
# stopping them before they have time to come up.
|
1792
1890
|
# @return [Integer]
|
1793
1891
|
#
|
1794
1892
|
# @!attribute [rw] scheduling_strategy
|
@@ -4435,6 +4533,72 @@ module Aws::ECS
|
|
4435
4533
|
include Aws::Structure
|
4436
4534
|
end
|
4437
4535
|
|
4536
|
+
# The configuration details for the App Mesh proxy.
|
4537
|
+
#
|
4538
|
+
# @note When making an API call, you may pass ProxyConfiguration
|
4539
|
+
# data as a hash:
|
4540
|
+
#
|
4541
|
+
# {
|
4542
|
+
# type: "APPMESH", # accepts APPMESH
|
4543
|
+
# container_name: "String", # required
|
4544
|
+
# properties: [
|
4545
|
+
# {
|
4546
|
+
# name: "String",
|
4547
|
+
# value: "String",
|
4548
|
+
# },
|
4549
|
+
# ],
|
4550
|
+
# }
|
4551
|
+
#
|
4552
|
+
# @!attribute [rw] type
|
4553
|
+
# The proxy type. The only supported value is `APPMESH`.
|
4554
|
+
# @return [String]
|
4555
|
+
#
|
4556
|
+
# @!attribute [rw] container_name
|
4557
|
+
# The name of the container that will serve as the App Mesh proxy.
|
4558
|
+
# @return [String]
|
4559
|
+
#
|
4560
|
+
# @!attribute [rw] properties
|
4561
|
+
# The set of network configuration parameters to provide the Container
|
4562
|
+
# Network Interface (CNI) plugin, specified as key-value pairs.
|
4563
|
+
#
|
4564
|
+
# * `IgnoredUID` - (Required) The user ID (UID) of the proxy container
|
4565
|
+
# as defined by the `user` parameter in a container definition. This
|
4566
|
+
# is used to ensure the proxy ignores its own traffic. If
|
4567
|
+
# `IgnoredGID` is specified, this field can be empty.
|
4568
|
+
#
|
4569
|
+
# * `IgnoredGID` - (Required) The group ID (GID) of the proxy
|
4570
|
+
# container as defined by the `user` parameter in a container
|
4571
|
+
# definition. This is used to ensure the proxy ignores its own
|
4572
|
+
# traffic. If `IgnoredGID` is specified, this field can be empty.
|
4573
|
+
#
|
4574
|
+
# * `AppPorts` - (Required) The list of ports that the application
|
4575
|
+
# uses. Network traffic to these ports will be forwarded to the
|
4576
|
+
# `ProxyIngressPort` and `ProxyEgressPort`.
|
4577
|
+
#
|
4578
|
+
# * `ProxyIngressPort` - (Required) Specifies the port that incoming
|
4579
|
+
# traffic to the `AppPorts` is directed to.
|
4580
|
+
#
|
4581
|
+
# * `ProxyEgressPort` - (Required) Specifies the port that outgoing
|
4582
|
+
# traffic from the `AppPorts` is directed to.
|
4583
|
+
#
|
4584
|
+
# * `EgressIgnoredPorts` - (Required) The egress traffic going to
|
4585
|
+
# these specified ports will be ignored and not redirected to the
|
4586
|
+
# `ProxyEgressPort`. It can be empty list.
|
4587
|
+
#
|
4588
|
+
# * `EgressIgnoredIPs` - (Required) The egress traffic going to these
|
4589
|
+
# specified IP addresses will be ignored and not redirected to the
|
4590
|
+
# `ProxyEgressPort`. It can be empty list.
|
4591
|
+
# @return [Array<Types::KeyValuePair>]
|
4592
|
+
#
|
4593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ProxyConfiguration AWS API Documentation
|
4594
|
+
#
|
4595
|
+
class ProxyConfiguration < Struct.new(
|
4596
|
+
:type,
|
4597
|
+
:container_name,
|
4598
|
+
:properties)
|
4599
|
+
include Aws::Structure
|
4600
|
+
end
|
4601
|
+
|
4438
4602
|
# @note When making an API call, you may pass PutAccountSettingDefaultRequest
|
4439
4603
|
# data as a hash:
|
4440
4604
|
#
|
@@ -4772,6 +4936,14 @@ module Aws::ECS
|
|
4772
4936
|
# value_from: "String", # required
|
4773
4937
|
# },
|
4774
4938
|
# ],
|
4939
|
+
# depends_on: [
|
4940
|
+
# {
|
4941
|
+
# container_name: "String", # required
|
4942
|
+
# condition: "START", # required, accepts START, COMPLETE, SUCCESS, HEALTHY
|
4943
|
+
# },
|
4944
|
+
# ],
|
4945
|
+
# start_timeout: 1,
|
4946
|
+
# stop_timeout: 1,
|
4775
4947
|
# hostname: "String",
|
4776
4948
|
# user: "String",
|
4777
4949
|
# working_directory: "String",
|
@@ -4862,6 +5034,16 @@ module Aws::ECS
|
|
4862
5034
|
# ],
|
4863
5035
|
# pid_mode: "host", # accepts host, task
|
4864
5036
|
# ipc_mode: "host", # accepts host, task, none
|
5037
|
+
# proxy_configuration: {
|
5038
|
+
# type: "APPMESH", # accepts APPMESH
|
5039
|
+
# container_name: "String", # required
|
5040
|
+
# properties: [
|
5041
|
+
# {
|
5042
|
+
# name: "String",
|
5043
|
+
# value: "String",
|
5044
|
+
# },
|
5045
|
+
# ],
|
5046
|
+
# },
|
4865
5047
|
# }
|
4866
5048
|
#
|
4867
5049
|
# @!attribute [rw] family
|
@@ -5109,6 +5291,10 @@ module Aws::ECS
|
|
5109
5291
|
# [3]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
5110
5292
|
# @return [String]
|
5111
5293
|
#
|
5294
|
+
# @!attribute [rw] proxy_configuration
|
5295
|
+
# The configuration details for the App Mesh proxy.
|
5296
|
+
# @return [Types::ProxyConfiguration]
|
5297
|
+
#
|
5112
5298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/RegisterTaskDefinitionRequest AWS API Documentation
|
5113
5299
|
#
|
5114
5300
|
class RegisterTaskDefinitionRequest < Struct.new(
|
@@ -5124,7 +5310,8 @@ module Aws::ECS
|
|
5124
5310
|
:memory,
|
5125
5311
|
:tags,
|
5126
5312
|
:pid_mode,
|
5127
|
-
:ipc_mode
|
5313
|
+
:ipc_mode,
|
5314
|
+
:proxy_configuration)
|
5128
5315
|
include Aws::Structure
|
5129
5316
|
end
|
5130
5317
|
|
@@ -6943,6 +7130,9 @@ module Aws::ECS
|
|
6943
7130
|
# [3]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html
|
6944
7131
|
# @return [String]
|
6945
7132
|
#
|
7133
|
+
# @!attribute [rw] proxy_configuration
|
7134
|
+
# @return [Types::ProxyConfiguration]
|
7135
|
+
#
|
6946
7136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TaskDefinition AWS API Documentation
|
6947
7137
|
#
|
6948
7138
|
class TaskDefinition < Struct.new(
|
@@ -6962,7 +7152,8 @@ module Aws::ECS
|
|
6962
7152
|
:cpu,
|
6963
7153
|
:memory,
|
6964
7154
|
:pid_mode,
|
6965
|
-
:ipc_mode
|
7155
|
+
:ipc_mode,
|
7156
|
+
:proxy_configuration)
|
6966
7157
|
include Aws::Structure
|
6967
7158
|
end
|
6968
7159
|
|
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.31.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-
|
11
|
+
date: 2019-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|