aws-sdk-ecs 1.19.0 → 1.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ecs.rb +1 -1
- data/lib/aws-sdk-ecs/client.rb +24 -1
- data/lib/aws-sdk-ecs/client_api.rb +11 -0
- data/lib/aws-sdk-ecs/types.rb +171 -38
- 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: a25da0c9d07dabdab7db171b1208443cdd4578ef
|
4
|
+
data.tar.gz: 17ad67d415874a8bd67f92dd2925b370ea0afbfa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bcf6ee4c99e13e2e9d35182064c29bf4979ac49d796163868bfd905ba3dd880d1c189b7cb8f826a42004e15c67c720a456752253c5e3d8163500ac4d84ec005
|
7
|
+
data.tar.gz: 3a70144f5d7dc948aaa74a35c5b8b94dd27feec24b86847170aadd85c66bfa3032c30bcc5d3e76df758ba491e81df077be7bb2c098ea1f885d0b9a5e417644a2
|
data/lib/aws-sdk-ecs.rb
CHANGED
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1219,6 +1219,8 @@ module Aws::ECS
|
|
1219
1219
|
# resp.task_definition.container_definitions[0].extra_hosts[0].ip_address #=> String
|
1220
1220
|
# resp.task_definition.container_definitions[0].docker_security_options #=> Array
|
1221
1221
|
# resp.task_definition.container_definitions[0].docker_security_options[0] #=> String
|
1222
|
+
# resp.task_definition.container_definitions[0].interactive #=> Boolean
|
1223
|
+
# resp.task_definition.container_definitions[0].pseudo_terminal #=> Boolean
|
1222
1224
|
# resp.task_definition.container_definitions[0].docker_labels #=> Hash
|
1223
1225
|
# resp.task_definition.container_definitions[0].docker_labels["String"] #=> String
|
1224
1226
|
# resp.task_definition.container_definitions[0].ulimits #=> Array
|
@@ -1234,6 +1236,9 @@ module Aws::ECS
|
|
1234
1236
|
# resp.task_definition.container_definitions[0].health_check.timeout #=> Integer
|
1235
1237
|
# resp.task_definition.container_definitions[0].health_check.retries #=> Integer
|
1236
1238
|
# resp.task_definition.container_definitions[0].health_check.start_period #=> Integer
|
1239
|
+
# resp.task_definition.container_definitions[0].system_controls #=> Array
|
1240
|
+
# resp.task_definition.container_definitions[0].system_controls[0].namespace #=> String
|
1241
|
+
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
1237
1242
|
# resp.task_definition.family #=> String
|
1238
1243
|
# resp.task_definition.task_role_arn #=> String
|
1239
1244
|
# resp.task_definition.execution_role_arn #=> String
|
@@ -1833,6 +1838,8 @@ module Aws::ECS
|
|
1833
1838
|
# resp.task_definition.container_definitions[0].extra_hosts[0].ip_address #=> String
|
1834
1839
|
# resp.task_definition.container_definitions[0].docker_security_options #=> Array
|
1835
1840
|
# resp.task_definition.container_definitions[0].docker_security_options[0] #=> String
|
1841
|
+
# resp.task_definition.container_definitions[0].interactive #=> Boolean
|
1842
|
+
# resp.task_definition.container_definitions[0].pseudo_terminal #=> Boolean
|
1836
1843
|
# resp.task_definition.container_definitions[0].docker_labels #=> Hash
|
1837
1844
|
# resp.task_definition.container_definitions[0].docker_labels["String"] #=> String
|
1838
1845
|
# resp.task_definition.container_definitions[0].ulimits #=> Array
|
@@ -1848,6 +1855,9 @@ module Aws::ECS
|
|
1848
1855
|
# resp.task_definition.container_definitions[0].health_check.timeout #=> Integer
|
1849
1856
|
# resp.task_definition.container_definitions[0].health_check.retries #=> Integer
|
1850
1857
|
# resp.task_definition.container_definitions[0].health_check.start_period #=> Integer
|
1858
|
+
# resp.task_definition.container_definitions[0].system_controls #=> Array
|
1859
|
+
# resp.task_definition.container_definitions[0].system_controls[0].namespace #=> String
|
1860
|
+
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
1851
1861
|
# resp.task_definition.family #=> String
|
1852
1862
|
# resp.task_definition.task_role_arn #=> String
|
1853
1863
|
# resp.task_definition.execution_role_arn #=> String
|
@@ -3293,6 +3303,8 @@ module Aws::ECS
|
|
3293
3303
|
# },
|
3294
3304
|
# ],
|
3295
3305
|
# docker_security_options: ["String"],
|
3306
|
+
# interactive: false,
|
3307
|
+
# pseudo_terminal: false,
|
3296
3308
|
# docker_labels: {
|
3297
3309
|
# "String" => "String",
|
3298
3310
|
# },
|
@@ -3316,6 +3328,12 @@ module Aws::ECS
|
|
3316
3328
|
# retries: 1,
|
3317
3329
|
# start_period: 1,
|
3318
3330
|
# },
|
3331
|
+
# system_controls: [
|
3332
|
+
# {
|
3333
|
+
# namespace: "String",
|
3334
|
+
# value: "String",
|
3335
|
+
# },
|
3336
|
+
# ],
|
3319
3337
|
# },
|
3320
3338
|
# ],
|
3321
3339
|
# volumes: [
|
@@ -3410,6 +3428,8 @@ module Aws::ECS
|
|
3410
3428
|
# resp.task_definition.container_definitions[0].extra_hosts[0].ip_address #=> String
|
3411
3429
|
# resp.task_definition.container_definitions[0].docker_security_options #=> Array
|
3412
3430
|
# resp.task_definition.container_definitions[0].docker_security_options[0] #=> String
|
3431
|
+
# resp.task_definition.container_definitions[0].interactive #=> Boolean
|
3432
|
+
# resp.task_definition.container_definitions[0].pseudo_terminal #=> Boolean
|
3413
3433
|
# resp.task_definition.container_definitions[0].docker_labels #=> Hash
|
3414
3434
|
# resp.task_definition.container_definitions[0].docker_labels["String"] #=> String
|
3415
3435
|
# resp.task_definition.container_definitions[0].ulimits #=> Array
|
@@ -3425,6 +3445,9 @@ module Aws::ECS
|
|
3425
3445
|
# resp.task_definition.container_definitions[0].health_check.timeout #=> Integer
|
3426
3446
|
# resp.task_definition.container_definitions[0].health_check.retries #=> Integer
|
3427
3447
|
# resp.task_definition.container_definitions[0].health_check.start_period #=> Integer
|
3448
|
+
# resp.task_definition.container_definitions[0].system_controls #=> Array
|
3449
|
+
# resp.task_definition.container_definitions[0].system_controls[0].namespace #=> String
|
3450
|
+
# resp.task_definition.container_definitions[0].system_controls[0].value #=> String
|
3428
3451
|
# resp.task_definition.family #=> String
|
3429
3452
|
# resp.task_definition.task_role_arn #=> String
|
3430
3453
|
# resp.task_definition.execution_role_arn #=> String
|
@@ -4705,7 +4728,7 @@ module Aws::ECS
|
|
4705
4728
|
params: params,
|
4706
4729
|
config: config)
|
4707
4730
|
context[:gem_name] = 'aws-sdk-ecs'
|
4708
|
-
context[:gem_version] = '1.
|
4731
|
+
context[:gem_version] = '1.20.0'
|
4709
4732
|
Seahorse::Client::Request.new(handlers, context)
|
4710
4733
|
end
|
4711
4734
|
|
@@ -177,6 +177,8 @@ module Aws::ECS
|
|
177
177
|
SubmitContainerStateChangeResponse = Shapes::StructureShape.new(name: 'SubmitContainerStateChangeResponse')
|
178
178
|
SubmitTaskStateChangeRequest = Shapes::StructureShape.new(name: 'SubmitTaskStateChangeRequest')
|
179
179
|
SubmitTaskStateChangeResponse = Shapes::StructureShape.new(name: 'SubmitTaskStateChangeResponse')
|
180
|
+
SystemControl = Shapes::StructureShape.new(name: 'SystemControl')
|
181
|
+
SystemControls = Shapes::ListShape.new(name: 'SystemControls')
|
180
182
|
TargetNotFoundException = Shapes::StructureShape.new(name: 'TargetNotFoundException')
|
181
183
|
TargetType = Shapes::StringShape.new(name: 'TargetType')
|
182
184
|
Task = Shapes::StructureShape.new(name: 'Task')
|
@@ -290,10 +292,13 @@ module Aws::ECS
|
|
290
292
|
ContainerDefinition.add_member(:dns_search_domains, Shapes::ShapeRef.new(shape: StringList, location_name: "dnsSearchDomains"))
|
291
293
|
ContainerDefinition.add_member(:extra_hosts, Shapes::ShapeRef.new(shape: HostEntryList, location_name: "extraHosts"))
|
292
294
|
ContainerDefinition.add_member(:docker_security_options, Shapes::ShapeRef.new(shape: StringList, location_name: "dockerSecurityOptions"))
|
295
|
+
ContainerDefinition.add_member(:interactive, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "interactive"))
|
296
|
+
ContainerDefinition.add_member(:pseudo_terminal, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "pseudoTerminal"))
|
293
297
|
ContainerDefinition.add_member(:docker_labels, Shapes::ShapeRef.new(shape: DockerLabelsMap, location_name: "dockerLabels"))
|
294
298
|
ContainerDefinition.add_member(:ulimits, Shapes::ShapeRef.new(shape: UlimitList, location_name: "ulimits"))
|
295
299
|
ContainerDefinition.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
296
300
|
ContainerDefinition.add_member(:health_check, Shapes::ShapeRef.new(shape: HealthCheck, location_name: "healthCheck"))
|
301
|
+
ContainerDefinition.add_member(:system_controls, Shapes::ShapeRef.new(shape: SystemControls, location_name: "systemControls"))
|
297
302
|
ContainerDefinition.struct_class = Types::ContainerDefinition
|
298
303
|
|
299
304
|
ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
|
@@ -820,6 +825,12 @@ module Aws::ECS
|
|
820
825
|
SubmitTaskStateChangeResponse.add_member(:acknowledgment, Shapes::ShapeRef.new(shape: String, location_name: "acknowledgment"))
|
821
826
|
SubmitTaskStateChangeResponse.struct_class = Types::SubmitTaskStateChangeResponse
|
822
827
|
|
828
|
+
SystemControl.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
829
|
+
SystemControl.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
830
|
+
SystemControl.struct_class = Types::SystemControl
|
831
|
+
|
832
|
+
SystemControls.member = Shapes::ShapeRef.new(shape: SystemControl)
|
833
|
+
|
823
834
|
Task.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
824
835
|
Task.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
825
836
|
Task.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -131,7 +131,7 @@ module Aws::ECS
|
|
131
131
|
#
|
132
132
|
# @!attribute [rw] subnets
|
133
133
|
# The subnets associated with the task or service. There is a limit of
|
134
|
-
#
|
134
|
+
# 16 subnets able to be specified per `AwsVpcConfiguration`.
|
135
135
|
#
|
136
136
|
# <note markdown="1"> All specified subnets must be from the same VPC.
|
137
137
|
#
|
@@ -379,6 +379,8 @@ module Aws::ECS
|
|
379
379
|
# },
|
380
380
|
# ],
|
381
381
|
# docker_security_options: ["String"],
|
382
|
+
# interactive: false,
|
383
|
+
# pseudo_terminal: false,
|
382
384
|
# docker_labels: {
|
383
385
|
# "String" => "String",
|
384
386
|
# },
|
@@ -402,6 +404,12 @@ module Aws::ECS
|
|
402
404
|
# retries: 1,
|
403
405
|
# start_period: 1,
|
404
406
|
# },
|
407
|
+
# system_controls: [
|
408
|
+
# {
|
409
|
+
# namespace: "String",
|
410
|
+
# value: "String",
|
411
|
+
# },
|
412
|
+
# ],
|
405
413
|
# }
|
406
414
|
#
|
407
415
|
# @!attribute [rw] name
|
@@ -415,7 +423,7 @@ module Aws::ECS
|
|
415
423
|
#
|
416
424
|
#
|
417
425
|
#
|
418
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
426
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
419
427
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
420
428
|
# [3]: https://docs.docker.com/engine/reference/run/
|
421
429
|
# @return [String]
|
@@ -454,7 +462,7 @@ module Aws::ECS
|
|
454
462
|
#
|
455
463
|
#
|
456
464
|
#
|
457
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
465
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
458
466
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
459
467
|
# [3]: https://docs.docker.com/engine/reference/run/
|
460
468
|
# @return [String]
|
@@ -529,7 +537,7 @@ module Aws::ECS
|
|
529
537
|
#
|
530
538
|
#
|
531
539
|
#
|
532
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
540
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
533
541
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
534
542
|
# [3]: https://docs.docker.com/engine/reference/run/
|
535
543
|
# [4]: http://aws.amazon.com/ec2/instance-types/
|
@@ -562,7 +570,7 @@ module Aws::ECS
|
|
562
570
|
#
|
563
571
|
#
|
564
572
|
#
|
565
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
573
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
566
574
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
567
575
|
# [3]: https://docs.docker.com/engine/reference/run/
|
568
576
|
# @return [Integer]
|
@@ -599,7 +607,7 @@ module Aws::ECS
|
|
599
607
|
#
|
600
608
|
#
|
601
609
|
#
|
602
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
610
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
603
611
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
604
612
|
# [3]: https://docs.docker.com/engine/reference/run/
|
605
613
|
# @return [Integer]
|
@@ -629,7 +637,7 @@ module Aws::ECS
|
|
629
637
|
#
|
630
638
|
#
|
631
639
|
# [1]: https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/
|
632
|
-
# [2]: https://docs.docker.com/engine/api/v1.35/#
|
640
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
633
641
|
# [3]: https://docs.docker.com/engine/api/v1.35/
|
634
642
|
# [4]: https://docs.docker.com/engine/reference/commandline/run/
|
635
643
|
# @return [Array<String>]
|
@@ -666,7 +674,7 @@ module Aws::ECS
|
|
666
674
|
#
|
667
675
|
#
|
668
676
|
#
|
669
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
677
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
670
678
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
671
679
|
# [3]: https://docs.docker.com/engine/reference/run/
|
672
680
|
# @return [Array<Types::PortMapping>]
|
@@ -705,7 +713,7 @@ module Aws::ECS
|
|
705
713
|
#
|
706
714
|
#
|
707
715
|
#
|
708
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
716
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
709
717
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
710
718
|
# [3]: https://docs.docker.com/engine/reference/run/
|
711
719
|
# [4]: https://docs.docker.com/engine/reference/builder/#entrypoint
|
@@ -720,7 +728,7 @@ module Aws::ECS
|
|
720
728
|
#
|
721
729
|
#
|
722
730
|
#
|
723
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
731
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
724
732
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
725
733
|
# [3]: https://docs.docker.com/engine/reference/run/
|
726
734
|
# [4]: https://docs.docker.com/engine/reference/builder/#cmd
|
@@ -736,7 +744,7 @@ module Aws::ECS
|
|
736
744
|
#
|
737
745
|
#
|
738
746
|
#
|
739
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
747
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
740
748
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
741
749
|
# [3]: https://docs.docker.com/engine/reference/run/
|
742
750
|
# @return [Array<Types::KeyValuePair>]
|
@@ -754,7 +762,7 @@ module Aws::ECS
|
|
754
762
|
#
|
755
763
|
#
|
756
764
|
#
|
757
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
765
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
758
766
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
759
767
|
# [3]: https://docs.docker.com/engine/reference/run/
|
760
768
|
# @return [Array<Types::MountPoint>]
|
@@ -766,7 +774,7 @@ module Aws::ECS
|
|
766
774
|
#
|
767
775
|
#
|
768
776
|
#
|
769
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
777
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
770
778
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
771
779
|
# [3]: https://docs.docker.com/engine/reference/run/
|
772
780
|
# @return [Array<Types::VolumeFrom>]
|
@@ -792,7 +800,7 @@ module Aws::ECS
|
|
792
800
|
#
|
793
801
|
#
|
794
802
|
#
|
795
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
803
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
796
804
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
797
805
|
# [3]: https://docs.docker.com/engine/reference/run/
|
798
806
|
# @return [String]
|
@@ -808,7 +816,7 @@ module Aws::ECS
|
|
808
816
|
#
|
809
817
|
#
|
810
818
|
#
|
811
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
819
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
812
820
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
813
821
|
# [3]: https://docs.docker.com/engine/reference/run/
|
814
822
|
# @return [String]
|
@@ -821,7 +829,7 @@ module Aws::ECS
|
|
821
829
|
#
|
822
830
|
#
|
823
831
|
#
|
824
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
832
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
825
833
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
826
834
|
# [3]: https://docs.docker.com/engine/reference/run/
|
827
835
|
# @return [String]
|
@@ -837,7 +845,7 @@ module Aws::ECS
|
|
837
845
|
#
|
838
846
|
#
|
839
847
|
#
|
840
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
848
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
841
849
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
842
850
|
# @return [Boolean]
|
843
851
|
#
|
@@ -855,7 +863,7 @@ module Aws::ECS
|
|
855
863
|
#
|
856
864
|
#
|
857
865
|
#
|
858
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
866
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
859
867
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
860
868
|
# [3]: https://docs.docker.com/engine/reference/run/
|
861
869
|
# @return [Boolean]
|
@@ -864,7 +872,7 @@ module Aws::ECS
|
|
864
872
|
# When this parameter is true, the container is given read-only access
|
865
873
|
# to its root file system. This parameter maps to `ReadonlyRootfs` in
|
866
874
|
# the [Create a container][1] section of the [Docker Remote API][2]
|
867
|
-
# and the `--read-only` option to
|
875
|
+
# and the `--read-only` option to [docker run][3].
|
868
876
|
#
|
869
877
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
870
878
|
#
|
@@ -872,8 +880,9 @@ module Aws::ECS
|
|
872
880
|
#
|
873
881
|
#
|
874
882
|
#
|
875
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
883
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
876
884
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
885
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
877
886
|
# @return [Boolean]
|
878
887
|
#
|
879
888
|
# @!attribute [rw] dns_servers
|
@@ -888,7 +897,7 @@ module Aws::ECS
|
|
888
897
|
#
|
889
898
|
#
|
890
899
|
#
|
891
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
900
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
892
901
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
893
902
|
# [3]: https://docs.docker.com/engine/reference/run/
|
894
903
|
# @return [Array<String>]
|
@@ -905,7 +914,7 @@ module Aws::ECS
|
|
905
914
|
#
|
906
915
|
#
|
907
916
|
#
|
908
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
917
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
909
918
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
910
919
|
# [3]: https://docs.docker.com/engine/reference/run/
|
911
920
|
# @return [Array<String>]
|
@@ -924,7 +933,7 @@ module Aws::ECS
|
|
924
933
|
#
|
925
934
|
#
|
926
935
|
#
|
927
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
936
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
928
937
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
929
938
|
# [3]: https://docs.docker.com/engine/reference/run/
|
930
939
|
# @return [Array<Types::HostEntry>]
|
@@ -951,12 +960,38 @@ module Aws::ECS
|
|
951
960
|
#
|
952
961
|
#
|
953
962
|
#
|
954
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
963
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
955
964
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
956
965
|
# [3]: https://docs.docker.com/engine/reference/run/
|
957
966
|
# [4]: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
|
958
967
|
# @return [Array<String>]
|
959
968
|
#
|
969
|
+
# @!attribute [rw] interactive
|
970
|
+
# When this parameter is `true`, this allows you to deploy
|
971
|
+
# containerized applications that require `stdin` or a `tty` to be
|
972
|
+
# allocated. This parameter maps to `OpenStdin` in the [Create a
|
973
|
+
# container][1] section of the [Docker Remote API][2] and the
|
974
|
+
# `--interactive` option to [docker run][3].
|
975
|
+
#
|
976
|
+
#
|
977
|
+
#
|
978
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
979
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/
|
980
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
981
|
+
# @return [Boolean]
|
982
|
+
#
|
983
|
+
# @!attribute [rw] pseudo_terminal
|
984
|
+
# When this parameter is `true`, a TTY is allocated. This parameter
|
985
|
+
# maps to `Tty` in the [Create a container][1] section of the [Docker
|
986
|
+
# Remote API][2] and the `--tty` option to [docker run][3].
|
987
|
+
#
|
988
|
+
#
|
989
|
+
#
|
990
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
991
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/
|
992
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
993
|
+
# @return [Boolean]
|
994
|
+
#
|
960
995
|
# @!attribute [rw] docker_labels
|
961
996
|
# A key/value map of labels to add to the container. This parameter
|
962
997
|
# maps to `Labels` in the [Create a container][1] section of the
|
@@ -969,7 +1004,7 @@ module Aws::ECS
|
|
969
1004
|
#
|
970
1005
|
#
|
971
1006
|
#
|
972
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
1007
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
973
1008
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
974
1009
|
# [3]: https://docs.docker.com/engine/reference/run/
|
975
1010
|
# @return [Hash<String,String>]
|
@@ -990,7 +1025,7 @@ module Aws::ECS
|
|
990
1025
|
#
|
991
1026
|
#
|
992
1027
|
#
|
993
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
1028
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
994
1029
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
995
1030
|
# [3]: https://docs.docker.com/engine/reference/run/
|
996
1031
|
# @return [Array<Types::Ulimit>]
|
@@ -1038,7 +1073,7 @@ module Aws::ECS
|
|
1038
1073
|
#
|
1039
1074
|
#
|
1040
1075
|
#
|
1041
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
1076
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
1042
1077
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
1043
1078
|
# [3]: https://docs.docker.com/engine/reference/run/
|
1044
1079
|
# [4]: https://docs.docker.com/engine/admin/logging/overview/
|
@@ -1053,11 +1088,32 @@ module Aws::ECS
|
|
1053
1088
|
#
|
1054
1089
|
#
|
1055
1090
|
#
|
1056
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
1091
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
1057
1092
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
1058
1093
|
# [3]: https://docs.docker.com/engine/reference/run/
|
1059
1094
|
# @return [Types::HealthCheck]
|
1060
1095
|
#
|
1096
|
+
# @!attribute [rw] system_controls
|
1097
|
+
# A list of namespaced kernel parameters to set in the container. This
|
1098
|
+
# parameter maps to `Sysctls` in the [Create a container][1] section
|
1099
|
+
# of the [Docker Remote API][2] and the `--sysctl` option to [docker
|
1100
|
+
# run][3].
|
1101
|
+
#
|
1102
|
+
# <note markdown="1"> It is not recommended that you specify network-related
|
1103
|
+
# `systemControls` parameters for multiple containers in a single task
|
1104
|
+
# that also uses either the `awsvpc` or `host` network modes. When you
|
1105
|
+
# do, the container that is started last will determine which
|
1106
|
+
# `systemControls` parameters take effect.
|
1107
|
+
#
|
1108
|
+
# </note>
|
1109
|
+
#
|
1110
|
+
#
|
1111
|
+
#
|
1112
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
1113
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/
|
1114
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
1115
|
+
# @return [Array<Types::SystemControl>]
|
1116
|
+
#
|
1061
1117
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition AWS API Documentation
|
1062
1118
|
#
|
1063
1119
|
class ContainerDefinition < Struct.new(
|
@@ -1086,10 +1142,13 @@ module Aws::ECS
|
|
1086
1142
|
:dns_search_domains,
|
1087
1143
|
:extra_hosts,
|
1088
1144
|
:docker_security_options,
|
1145
|
+
:interactive,
|
1146
|
+
:pseudo_terminal,
|
1089
1147
|
:docker_labels,
|
1090
1148
|
:ulimits,
|
1091
1149
|
:log_configuration,
|
1092
|
-
:health_check
|
1150
|
+
:health_check,
|
1151
|
+
:system_controls)
|
1093
1152
|
include Aws::Structure
|
1094
1153
|
end
|
1095
1154
|
|
@@ -2273,8 +2332,10 @@ module Aws::ECS
|
|
2273
2332
|
include Aws::Structure
|
2274
2333
|
end
|
2275
2334
|
|
2276
|
-
#
|
2277
|
-
# when using
|
2335
|
+
# This parameter is specified when using Docker volumes. Docker volumes
|
2336
|
+
# are only supported when using the EC2 launch type. Windows containers
|
2337
|
+
# only support the use of the `local` driver. To use bind mounts,
|
2338
|
+
# specify a `host` instead.
|
2278
2339
|
#
|
2279
2340
|
# @note When making an API call, you may pass DockerVolumeConfiguration
|
2280
2341
|
# data as a hash:
|
@@ -2387,6 +2448,24 @@ module Aws::ECS
|
|
2387
2448
|
# Docker health checks that exist in the container image (such as those
|
2388
2449
|
# specified in a parent image or from the image's Dockerfile).
|
2389
2450
|
#
|
2451
|
+
# The following are notes about container health check support:
|
2452
|
+
#
|
2453
|
+
# * Container health checks require version 1.17.0 or greater of the
|
2454
|
+
# Amazon ECS container agent. For more information, see [Updating the
|
2455
|
+
# Amazon ECS Container Agent][1].
|
2456
|
+
#
|
2457
|
+
# * Container health checks are supported for Fargate tasks if using
|
2458
|
+
# platform version version 1.1.0 or greater. For more information, see
|
2459
|
+
# [AWS Fargate Platform Versions][2].
|
2460
|
+
#
|
2461
|
+
# * Container health checks are not supported for tasks that are part of
|
2462
|
+
# a service that is configured to use a Classic Load Balancer.
|
2463
|
+
#
|
2464
|
+
#
|
2465
|
+
#
|
2466
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
2467
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html
|
2468
|
+
#
|
2390
2469
|
# @note When making an API call, you may pass HealthCheck
|
2391
2470
|
# data as a hash:
|
2392
2471
|
#
|
@@ -2412,7 +2491,7 @@ module Aws::ECS
|
|
2412
2491
|
#
|
2413
2492
|
#
|
2414
2493
|
#
|
2415
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
2494
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
2416
2495
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
2417
2496
|
# @return [Array<String>]
|
2418
2497
|
#
|
@@ -2560,7 +2639,7 @@ module Aws::ECS
|
|
2560
2639
|
#
|
2561
2640
|
#
|
2562
2641
|
#
|
2563
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
2642
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
2564
2643
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
2565
2644
|
# [3]: https://docs.docker.com/engine/reference/run/
|
2566
2645
|
# @return [Array<String>]
|
@@ -2583,7 +2662,7 @@ module Aws::ECS
|
|
2583
2662
|
#
|
2584
2663
|
#
|
2585
2664
|
#
|
2586
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
2665
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
2587
2666
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
2588
2667
|
# [3]: https://docs.docker.com/engine/reference/run/
|
2589
2668
|
# @return [Array<String>]
|
@@ -2676,7 +2755,7 @@ module Aws::ECS
|
|
2676
2755
|
#
|
2677
2756
|
#
|
2678
2757
|
#
|
2679
|
-
# [1]: https://docs.docker.com/engine/api/v1.35/#
|
2758
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
2680
2759
|
# [2]: https://docs.docker.com/engine/api/v1.35/
|
2681
2760
|
# [3]: https://docs.docker.com/engine/reference/run/
|
2682
2761
|
# @return [Array<Types::Device>]
|
@@ -4018,6 +4097,8 @@ module Aws::ECS
|
|
4018
4097
|
# },
|
4019
4098
|
# ],
|
4020
4099
|
# docker_security_options: ["String"],
|
4100
|
+
# interactive: false,
|
4101
|
+
# pseudo_terminal: false,
|
4021
4102
|
# docker_labels: {
|
4022
4103
|
# "String" => "String",
|
4023
4104
|
# },
|
@@ -4041,6 +4122,12 @@ module Aws::ECS
|
|
4041
4122
|
# retries: 1,
|
4042
4123
|
# start_period: 1,
|
4043
4124
|
# },
|
4125
|
+
# system_controls: [
|
4126
|
+
# {
|
4127
|
+
# namespace: "String",
|
4128
|
+
# value: "String",
|
4129
|
+
# },
|
4130
|
+
# ],
|
4044
4131
|
# },
|
4045
4132
|
# ],
|
4046
4133
|
# volumes: [
|
@@ -4736,7 +4823,7 @@ module Aws::ECS
|
|
4736
4823
|
#
|
4737
4824
|
# @!attribute [rw] port
|
4738
4825
|
# The port value used if your service discovery service specified an
|
4739
|
-
# SRV record. This field
|
4826
|
+
# SRV record. This field may be used if both the `awsvpc` network mode
|
4740
4827
|
# and SRV records are used.
|
4741
4828
|
# @return [Integer]
|
4742
4829
|
#
|
@@ -5117,6 +5204,50 @@ module Aws::ECS
|
|
5117
5204
|
include Aws::Structure
|
5118
5205
|
end
|
5119
5206
|
|
5207
|
+
# A list of namespaced kernel parameters to set in the container. This
|
5208
|
+
# parameter maps to `Sysctls` in the [Create a container][1] section of
|
5209
|
+
# the [Docker Remote API][2] and the `--sysctl` option to [docker
|
5210
|
+
# run][3].
|
5211
|
+
#
|
5212
|
+
# <note markdown="1"> It is not recommended that you specify network-related
|
5213
|
+
# `systemControls` parameters for multiple containers in a single task
|
5214
|
+
# that also uses either the `awsvpc` or `host` network modes. When you
|
5215
|
+
# do, the container that is started last will determine which
|
5216
|
+
# `systemControls` parameters take effect.
|
5217
|
+
#
|
5218
|
+
# </note>
|
5219
|
+
#
|
5220
|
+
#
|
5221
|
+
#
|
5222
|
+
# [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
|
5223
|
+
# [2]: https://docs.docker.com/engine/api/v1.35/
|
5224
|
+
# [3]: https://docs.docker.com/engine/reference/run/
|
5225
|
+
#
|
5226
|
+
# @note When making an API call, you may pass SystemControl
|
5227
|
+
# data as a hash:
|
5228
|
+
#
|
5229
|
+
# {
|
5230
|
+
# namespace: "String",
|
5231
|
+
# value: "String",
|
5232
|
+
# }
|
5233
|
+
#
|
5234
|
+
# @!attribute [rw] namespace
|
5235
|
+
# The namespaced kernel parameter to set a `value` for.
|
5236
|
+
# @return [String]
|
5237
|
+
#
|
5238
|
+
# @!attribute [rw] value
|
5239
|
+
# The value for the namespaced kernel parameter specifed in
|
5240
|
+
# `namespace`.
|
5241
|
+
# @return [String]
|
5242
|
+
#
|
5243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/SystemControl AWS API Documentation
|
5244
|
+
#
|
5245
|
+
class SystemControl < Struct.new(
|
5246
|
+
:namespace,
|
5247
|
+
:value)
|
5248
|
+
include Aws::Structure
|
5249
|
+
end
|
5250
|
+
|
5120
5251
|
# Details on a task in a cluster.
|
5121
5252
|
#
|
5122
5253
|
# @!attribute [rw] task_arn
|
@@ -6046,8 +6177,10 @@ module Aws::ECS
|
|
6046
6177
|
# @return [Types::HostVolumeProperties]
|
6047
6178
|
#
|
6048
6179
|
# @!attribute [rw] docker_volume_configuration
|
6049
|
-
#
|
6050
|
-
# when using
|
6180
|
+
# This parameter is specified when using Docker volumes. Docker
|
6181
|
+
# volumes are only supported when using the EC2 launch type. Windows
|
6182
|
+
# containers only support the use of the `local` driver. To use bind
|
6183
|
+
# mounts, specify a `host` instead.
|
6051
6184
|
# @return [Types::DockerVolumeConfiguration]
|
6052
6185
|
#
|
6053
6186
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Volume 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.
|
4
|
+
version: 1.20.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-09-
|
11
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|