aws-sdk-ecs 1.136.0 → 1.138.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +319 -13
- data/lib/aws-sdk-ecs/client_api.rb +89 -0
- data/lib/aws-sdk-ecs/types.rb +690 -27
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 790a3a94d91437d16e4f629c589e1880ef1fbf831ab5ba1095d459abe10fab23
|
4
|
+
data.tar.gz: 0d23237919cad844eacade43d22d9cd2e4f03ed006d5794ed2d8854346ad3171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eafa9caaaff0b2cad1fa5efcaa930dbc67b2129556fe3c1a367bc0ef9f799a627dd8bb8bfdb475e69784014a00c688a19172480f3608c952ba16286fb21e7ea5
|
7
|
+
data.tar.gz: 488ce9ff95934600916da828b120ae3c0e3f3b32b36eefdd49da50b7ecaae9c33543bc5bc552fc28084d5ca071dc0d039eb0871002596e414f312853fd86f556
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.138.0 (2024-01-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Transport Layer Security (TLS) and Configurable Timeout to ECS Service Connect. TLS facilitates privacy and data security for inter-service communications, while Configurable Timeout allows customized per-request timeout and idle timeout for Service Connect services.
|
8
|
+
|
9
|
+
1.137.0 (2024-01-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for adding an ElasticBlockStorage volume configurations in ECS RunTask/StartTask/CreateService/UpdateService APIs. The configuration allows for attaching EBS volumes to ECS Tasks.
|
13
|
+
|
4
14
|
1.136.0 (2024-01-04)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.138.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -775,6 +775,12 @@ module Aws::ECS
|
|
775
775
|
# balancing][1] in the *Amazon Elastic Container Service Developer
|
776
776
|
# Guide*.
|
777
777
|
#
|
778
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
779
|
+
# the volume when creating or updating a service. `volumeConfigurations`
|
780
|
+
# is only supported for REPLICA service and not DAEMON service. For more
|
781
|
+
# infomation, see [Amazon EBS volumes][2] in the *Amazon Elastic
|
782
|
+
# Container Service Developer Guide*.
|
783
|
+
#
|
778
784
|
# Tasks for services that don't use a load balancer are considered
|
779
785
|
# healthy if they're in the `RUNNING` state. Tasks for services that
|
780
786
|
# use a load balancer are considered healthy if they're in the
|
@@ -787,7 +793,7 @@ module Aws::ECS
|
|
787
793
|
# service scheduler spreads tasks across Availability Zones. You can
|
788
794
|
# use task placement strategies and constraints to customize task
|
789
795
|
# placement decisions. For more information, see [Service scheduler
|
790
|
-
# concepts][
|
796
|
+
# concepts][3] in the *Amazon Elastic Container Service Developer
|
791
797
|
# Guide*.
|
792
798
|
#
|
793
799
|
# * `DAEMON` - The daemon scheduling strategy deploys exactly one task
|
@@ -798,7 +804,7 @@ module Aws::ECS
|
|
798
804
|
# constraints. When using this strategy, you don't need to specify a
|
799
805
|
# desired number of tasks, a task placement strategy, or use Service
|
800
806
|
# Auto Scaling policies. For more information, see [Service scheduler
|
801
|
-
# concepts][
|
807
|
+
# concepts][3] in the *Amazon Elastic Container Service Developer
|
802
808
|
# Guide*.
|
803
809
|
#
|
804
810
|
# You can optionally specify a deployment configuration for your
|
@@ -854,20 +860,21 @@ module Aws::ECS
|
|
854
860
|
# controller, you can specify only parameters that aren't controlled at
|
855
861
|
# the task set level. The only required parameter is the service name.
|
856
862
|
# You control your services using the CreateTaskSet operation. For more
|
857
|
-
# information, see [Amazon ECS deployment types][
|
863
|
+
# information, see [Amazon ECS deployment types][4] in the *Amazon
|
858
864
|
# Elastic Container Service Developer Guide*.
|
859
865
|
#
|
860
866
|
# When the service scheduler launches new tasks, it determines task
|
861
867
|
# placement. For information about task placement and task placement
|
862
|
-
# strategies, see [Amazon ECS task placement][
|
868
|
+
# strategies, see [Amazon ECS task placement][5] in the *Amazon Elastic
|
863
869
|
# Container Service Developer Guide*.
|
864
870
|
#
|
865
871
|
#
|
866
872
|
#
|
867
873
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html
|
868
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
869
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
870
|
-
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/
|
874
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
875
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html
|
876
|
+
# [4]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
877
|
+
# [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement.html
|
871
878
|
#
|
872
879
|
# @option params [String] :cluster
|
873
880
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -1222,6 +1229,11 @@ module Aws::ECS
|
|
1222
1229
|
#
|
1223
1230
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
1224
1231
|
#
|
1232
|
+
# @option params [Array<Types::ServiceVolumeConfiguration>] :volume_configurations
|
1233
|
+
# The configuration for a volume specified in the task definition as a
|
1234
|
+
# volume that is configured at launch time. Currently, the only
|
1235
|
+
# supported volume type is an Amazon EBS volume.
|
1236
|
+
#
|
1225
1237
|
# @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1226
1238
|
#
|
1227
1239
|
# * {Types::CreateServiceResponse#service #service} => Types::Service
|
@@ -1438,6 +1450,17 @@ module Aws::ECS
|
|
1438
1450
|
# },
|
1439
1451
|
# ],
|
1440
1452
|
# ingress_port_override: 1,
|
1453
|
+
# timeout: {
|
1454
|
+
# idle_timeout_seconds: 1,
|
1455
|
+
# per_request_timeout_seconds: 1,
|
1456
|
+
# },
|
1457
|
+
# tls: {
|
1458
|
+
# issuer_certificate_authority: { # required
|
1459
|
+
# aws_pca_authority_arn: "String",
|
1460
|
+
# },
|
1461
|
+
# kms_key: "String",
|
1462
|
+
# role_arn: "String",
|
1463
|
+
# },
|
1441
1464
|
# },
|
1442
1465
|
# ],
|
1443
1466
|
# log_configuration: {
|
@@ -1453,6 +1476,34 @@ module Aws::ECS
|
|
1453
1476
|
# ],
|
1454
1477
|
# },
|
1455
1478
|
# },
|
1479
|
+
# volume_configurations: [
|
1480
|
+
# {
|
1481
|
+
# name: "ECSVolumeName", # required
|
1482
|
+
# managed_ebs_volume: {
|
1483
|
+
# encrypted: false,
|
1484
|
+
# kms_key_id: "EBSKMSKeyId",
|
1485
|
+
# volume_type: "EBSVolumeType",
|
1486
|
+
# size_in_gi_b: 1,
|
1487
|
+
# snapshot_id: "EBSSnapshotId",
|
1488
|
+
# iops: 1,
|
1489
|
+
# throughput: 1,
|
1490
|
+
# tag_specifications: [
|
1491
|
+
# {
|
1492
|
+
# resource_type: "volume", # required, accepts volume
|
1493
|
+
# tags: [
|
1494
|
+
# {
|
1495
|
+
# key: "TagKey",
|
1496
|
+
# value: "TagValue",
|
1497
|
+
# },
|
1498
|
+
# ],
|
1499
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
1500
|
+
# },
|
1501
|
+
# ],
|
1502
|
+
# role_arn: "IAMRoleArn", # required
|
1503
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
1504
|
+
# },
|
1505
|
+
# },
|
1506
|
+
# ],
|
1456
1507
|
# })
|
1457
1508
|
#
|
1458
1509
|
# @example Response structure
|
@@ -1566,6 +1617,11 @@ module Aws::ECS
|
|
1566
1617
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
1567
1618
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
1568
1619
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
1620
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
1621
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
1622
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
1623
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
1624
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
1569
1625
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
1570
1626
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
1571
1627
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -1575,6 +1631,23 @@ module Aws::ECS
|
|
1575
1631
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
1576
1632
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
1577
1633
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
1634
|
+
# resp.service.deployments[0].volume_configurations #=> Array
|
1635
|
+
# resp.service.deployments[0].volume_configurations[0].name #=> String
|
1636
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
1637
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
1638
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
1639
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
1640
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
1641
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
1642
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
1643
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
1644
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
1645
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
1646
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
1647
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
1648
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
1649
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
1650
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
1578
1651
|
# resp.service.role_arn #=> String
|
1579
1652
|
# resp.service.events #=> Array
|
1580
1653
|
# resp.service.events[0].id #=> String
|
@@ -2317,6 +2390,11 @@ module Aws::ECS
|
|
2317
2390
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
2318
2391
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
2319
2392
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
2393
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
2394
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
2395
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
2396
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
2397
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
2320
2398
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
2321
2399
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
2322
2400
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -2326,6 +2404,23 @@ module Aws::ECS
|
|
2326
2404
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
2327
2405
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
2328
2406
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
2407
|
+
# resp.service.deployments[0].volume_configurations #=> Array
|
2408
|
+
# resp.service.deployments[0].volume_configurations[0].name #=> String
|
2409
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
2410
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
2411
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
2412
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
2413
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
2414
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
2415
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
2416
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
2417
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
2418
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
2419
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
2420
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
2421
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
2422
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
2423
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
2329
2424
|
# resp.service.role_arn #=> String
|
2330
2425
|
# resp.service.events #=> Array
|
2331
2426
|
# resp.service.events[0].id #=> String
|
@@ -2548,6 +2643,7 @@ module Aws::ECS
|
|
2548
2643
|
# resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
2549
2644
|
# resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
2550
2645
|
# resp.task_definitions[0].volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
2646
|
+
# resp.task_definitions[0].volumes[0].configured_at_launch #=> Boolean
|
2551
2647
|
# resp.task_definitions[0].status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
2552
2648
|
# resp.task_definitions[0].requires_attributes #=> Array
|
2553
2649
|
# resp.task_definitions[0].requires_attributes[0].name #=> String
|
@@ -3003,6 +3099,7 @@ module Aws::ECS
|
|
3003
3099
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
3004
3100
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
3005
3101
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
3102
|
+
# resp.task_definition.volumes[0].configured_at_launch #=> Boolean
|
3006
3103
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
3007
3104
|
# resp.task_definition.requires_attributes #=> Array
|
3008
3105
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -3637,6 +3734,11 @@ module Aws::ECS
|
|
3637
3734
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
3638
3735
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
3639
3736
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
3737
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
3738
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
3739
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
3740
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
3741
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
3640
3742
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
3641
3743
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
3642
3744
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -3646,6 +3748,23 @@ module Aws::ECS
|
|
3646
3748
|
# resp.services[0].deployments[0].service_connect_resources #=> Array
|
3647
3749
|
# resp.services[0].deployments[0].service_connect_resources[0].discovery_name #=> String
|
3648
3750
|
# resp.services[0].deployments[0].service_connect_resources[0].discovery_arn #=> String
|
3751
|
+
# resp.services[0].deployments[0].volume_configurations #=> Array
|
3752
|
+
# resp.services[0].deployments[0].volume_configurations[0].name #=> String
|
3753
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
3754
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
3755
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
3756
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
3757
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
3758
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
3759
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
3760
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
3761
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
3762
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
3763
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
3764
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
3765
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
3766
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
3767
|
+
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
3649
3768
|
# resp.services[0].role_arn #=> String
|
3650
3769
|
# resp.services[0].events #=> Array
|
3651
3770
|
# resp.services[0].events[0].id #=> String
|
@@ -3922,6 +4041,7 @@ module Aws::ECS
|
|
3922
4041
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
3923
4042
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
3924
4043
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
4044
|
+
# resp.task_definition.volumes[0].configured_at_launch #=> Boolean
|
3925
4045
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
3926
4046
|
# resp.task_definition.requires_attributes #=> Array
|
3927
4047
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -6767,6 +6887,7 @@ module Aws::ECS
|
|
6767
6887
|
# domain: "String", # required
|
6768
6888
|
# },
|
6769
6889
|
# },
|
6890
|
+
# configured_at_launch: false,
|
6770
6891
|
# },
|
6771
6892
|
# ],
|
6772
6893
|
# placement_constraints: [
|
@@ -6945,6 +7066,7 @@ module Aws::ECS
|
|
6945
7066
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.root_directory #=> String
|
6946
7067
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.credentials_parameter #=> String
|
6947
7068
|
# resp.task_definition.volumes[0].fsx_windows_file_server_volume_configuration.authorization_config.domain #=> String
|
7069
|
+
# resp.task_definition.volumes[0].configured_at_launch #=> Boolean
|
6948
7070
|
# resp.task_definition.status #=> String, one of "ACTIVE", "INACTIVE", "DELETE_IN_PROGRESS"
|
6949
7071
|
# resp.task_definition.requires_attributes #=> Array
|
6950
7072
|
# resp.task_definition.requires_attributes[0].name #=> String
|
@@ -7010,6 +7132,11 @@ module Aws::ECS
|
|
7010
7132
|
#
|
7011
7133
|
# </note>
|
7012
7134
|
#
|
7135
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
7136
|
+
# the volume when creating or updating a service. For more infomation,
|
7137
|
+
# see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
|
7138
|
+
# Developer Guide*.
|
7139
|
+
#
|
7013
7140
|
# The Amazon ECS API follows an eventual consistency model. This is
|
7014
7141
|
# because of the distributed nature of the system supporting the API.
|
7015
7142
|
# This means that the result of an API command you run that affects your
|
@@ -7035,6 +7162,7 @@ module Aws::ECS
|
|
7035
7162
|
#
|
7036
7163
|
#
|
7037
7164
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
|
7165
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
7038
7166
|
#
|
7039
7167
|
# @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
|
7040
7168
|
# The capacity provider strategy to use for the task.
|
@@ -7260,6 +7388,16 @@ module Aws::ECS
|
|
7260
7388
|
#
|
7261
7389
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/ECS_Idempotency.html
|
7262
7390
|
#
|
7391
|
+
# @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
|
7392
|
+
# The details of the volume that was `configuredAtLaunch`. You can
|
7393
|
+
# configure the size, volumeType, IOPS, throughput, snapshot and
|
7394
|
+
# encryption in in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
7395
|
+
# the volume must match the `name` from the task definition.
|
7396
|
+
#
|
7397
|
+
#
|
7398
|
+
#
|
7399
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html
|
7400
|
+
#
|
7263
7401
|
# @return [Types::RunTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7264
7402
|
#
|
7265
7403
|
# * {Types::RunTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -7392,6 +7530,37 @@ module Aws::ECS
|
|
7392
7530
|
# ],
|
7393
7531
|
# task_definition: "String", # required
|
7394
7532
|
# client_token: "String",
|
7533
|
+
# volume_configurations: [
|
7534
|
+
# {
|
7535
|
+
# name: "ECSVolumeName", # required
|
7536
|
+
# managed_ebs_volume: {
|
7537
|
+
# encrypted: false,
|
7538
|
+
# kms_key_id: "EBSKMSKeyId",
|
7539
|
+
# volume_type: "EBSVolumeType",
|
7540
|
+
# size_in_gi_b: 1,
|
7541
|
+
# snapshot_id: "EBSSnapshotId",
|
7542
|
+
# iops: 1,
|
7543
|
+
# throughput: 1,
|
7544
|
+
# tag_specifications: [
|
7545
|
+
# {
|
7546
|
+
# resource_type: "volume", # required, accepts volume
|
7547
|
+
# tags: [
|
7548
|
+
# {
|
7549
|
+
# key: "TagKey",
|
7550
|
+
# value: "TagValue",
|
7551
|
+
# },
|
7552
|
+
# ],
|
7553
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
7554
|
+
# },
|
7555
|
+
# ],
|
7556
|
+
# role_arn: "IAMRoleArn", # required
|
7557
|
+
# termination_policy: {
|
7558
|
+
# delete_on_termination: false, # required
|
7559
|
+
# },
|
7560
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
7561
|
+
# },
|
7562
|
+
# },
|
7563
|
+
# ],
|
7395
7564
|
# })
|
7396
7565
|
#
|
7397
7566
|
# @example Response structure
|
@@ -7533,9 +7702,15 @@ module Aws::ECS
|
|
7533
7702
|
# information, see [Scheduling Tasks][1] in the *Amazon Elastic
|
7534
7703
|
# Container Service Developer Guide*.
|
7535
7704
|
#
|
7705
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
7706
|
+
# the volume when creating or updating a service. For more infomation,
|
7707
|
+
# see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
|
7708
|
+
# Developer Guide*.
|
7709
|
+
#
|
7536
7710
|
#
|
7537
7711
|
#
|
7538
7712
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
|
7713
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
7539
7714
|
#
|
7540
7715
|
# @option params [String] :cluster
|
7541
7716
|
# The short name or full Amazon Resource Name (ARN) of the cluster where
|
@@ -7641,6 +7816,16 @@ module Aws::ECS
|
|
7641
7816
|
# task definition to start. If a `revision` isn't specified, the latest
|
7642
7817
|
# `ACTIVE` revision is used.
|
7643
7818
|
#
|
7819
|
+
# @option params [Array<Types::TaskVolumeConfiguration>] :volume_configurations
|
7820
|
+
# The details of the volume that was `configuredAtLaunch`. You can
|
7821
|
+
# configure the size, volumeType, IOPS, throughput, snapshot and
|
7822
|
+
# encryption in [TaskManagedEBSVolumeConfiguration][1]. The `name` of
|
7823
|
+
# the volume must match the `name` from the task definition.
|
7824
|
+
#
|
7825
|
+
#
|
7826
|
+
#
|
7827
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html
|
7828
|
+
#
|
7644
7829
|
# @return [Types::StartTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7645
7830
|
#
|
7646
7831
|
# * {Types::StartTaskResponse#tasks #tasks} => Array<Types::Task>
|
@@ -7713,6 +7898,37 @@ module Aws::ECS
|
|
7713
7898
|
# },
|
7714
7899
|
# ],
|
7715
7900
|
# task_definition: "String", # required
|
7901
|
+
# volume_configurations: [
|
7902
|
+
# {
|
7903
|
+
# name: "ECSVolumeName", # required
|
7904
|
+
# managed_ebs_volume: {
|
7905
|
+
# encrypted: false,
|
7906
|
+
# kms_key_id: "EBSKMSKeyId",
|
7907
|
+
# volume_type: "EBSVolumeType",
|
7908
|
+
# size_in_gi_b: 1,
|
7909
|
+
# snapshot_id: "EBSSnapshotId",
|
7910
|
+
# iops: 1,
|
7911
|
+
# throughput: 1,
|
7912
|
+
# tag_specifications: [
|
7913
|
+
# {
|
7914
|
+
# resource_type: "volume", # required, accepts volume
|
7915
|
+
# tags: [
|
7916
|
+
# {
|
7917
|
+
# key: "TagKey",
|
7918
|
+
# value: "TagValue",
|
7919
|
+
# },
|
7920
|
+
# ],
|
7921
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
7922
|
+
# },
|
7923
|
+
# ],
|
7924
|
+
# role_arn: "IAMRoleArn", # required
|
7925
|
+
# termination_policy: {
|
7926
|
+
# delete_on_termination: false, # required
|
7927
|
+
# },
|
7928
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
7929
|
+
# },
|
7930
|
+
# },
|
7931
|
+
# ],
|
7716
7932
|
# })
|
7717
7933
|
#
|
7718
7934
|
# @example Response structure
|
@@ -8877,13 +9093,24 @@ module Aws::ECS
|
|
8877
9093
|
# task definition. When you update any of these parameters, Amazon ECS
|
8878
9094
|
# starts new tasks with the new configuration.
|
8879
9095
|
#
|
9096
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
9097
|
+
# the volume when starting or running a task, or when creating or
|
9098
|
+
# updating a service. For more infomation, see [Amazon EBS volumes][1]
|
9099
|
+
# in the *Amazon Elastic Container Service Developer Guide*. You can
|
9100
|
+
# update your volume configurations and trigger a new deployment.
|
9101
|
+
# `volumeConfigurations` is only supported for REPLICA service and not
|
9102
|
+
# DAEMON service. If you leave `volumeConfigurations` `null`, it
|
9103
|
+
# doesn't trigger a new deployment. For more infomation on volumes, see
|
9104
|
+
# [Amazon EBS volumes][1] in the *Amazon Elastic Container Service
|
9105
|
+
# Developer Guide*.
|
9106
|
+
#
|
8880
9107
|
# For services using the blue/green (`CODE_DEPLOY`) deployment
|
8881
9108
|
# controller, only the desired count, deployment configuration, health
|
8882
9109
|
# check grace period, task placement constraints and strategies, enable
|
8883
9110
|
# ECS managed tags option, and propagate tags can be updated using this
|
8884
9111
|
# API. If the network configuration, platform version, task definition,
|
8885
9112
|
# or load balancer need to be updated, create a new CodeDeploy
|
8886
|
-
# deployment. For more information, see [CreateDeployment][
|
9113
|
+
# deployment. For more information, see [CreateDeployment][2] in the
|
8887
9114
|
# *CodeDeploy API Reference*.
|
8888
9115
|
#
|
8889
9116
|
# For services using an external deployment controller, you can update
|
@@ -8898,7 +9125,12 @@ module Aws::ECS
|
|
8898
9125
|
# definition in a service by specifying the cluster that the service is
|
8899
9126
|
# running in and a new `desiredCount` parameter.
|
8900
9127
|
#
|
8901
|
-
#
|
9128
|
+
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
9129
|
+
# the volume when starting or running a task, or when creating or
|
9130
|
+
# updating a service. For more infomation, see [Amazon EBS volumes][1]
|
9131
|
+
# in the *Amazon Elastic Container Service Developer Guide*.
|
9132
|
+
#
|
9133
|
+
# If you have updated the container image of your application, you can
|
8902
9134
|
# create a new task definition with that image and deploy it to your
|
8903
9135
|
# service. The service scheduler uses the minimum healthy percent and
|
8904
9136
|
# maximum percent parameters (in the service's deployment
|
@@ -8987,14 +9219,15 @@ module Aws::ECS
|
|
8987
9219
|
# * `serviceRegistries`
|
8988
9220
|
#
|
8989
9221
|
# For more information about the role see the `CreateService` request
|
8990
|
-
# parameter [ `role` ][
|
9222
|
+
# parameter [ `role` ][3].
|
8991
9223
|
#
|
8992
9224
|
# </note>
|
8993
9225
|
#
|
8994
9226
|
#
|
8995
9227
|
#
|
8996
|
-
# [1]: https://docs.aws.amazon.com/
|
8997
|
-
# [2]: https://docs.aws.amazon.com/
|
9228
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
|
9229
|
+
# [2]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
|
9230
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
|
8998
9231
|
#
|
8999
9232
|
# @option params [String] :cluster
|
9000
9233
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -9203,6 +9436,18 @@ module Aws::ECS
|
|
9203
9436
|
#
|
9204
9437
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html
|
9205
9438
|
#
|
9439
|
+
# @option params [Array<Types::ServiceVolumeConfiguration>] :volume_configurations
|
9440
|
+
# The details of the volume that was `configuredAtLaunch`. You can
|
9441
|
+
# configure the size, volumeType, IOPS, throughput, snapshot and
|
9442
|
+
# encryption in [ServiceManagedEBSVolumeConfiguration][1]. The `name` of
|
9443
|
+
# the volume must match the `name` from the task definition. If set to
|
9444
|
+
# null, no new deployment is triggered. Otherwise, if this configuration
|
9445
|
+
# differs from the existing one, it triggers a new deployment.
|
9446
|
+
#
|
9447
|
+
#
|
9448
|
+
#
|
9449
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceManagedEBSVolumeConfiguration.html
|
9450
|
+
#
|
9206
9451
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9207
9452
|
#
|
9208
9453
|
# * {Types::UpdateServiceResponse#service #service} => Types::Service
|
@@ -9316,6 +9561,17 @@ module Aws::ECS
|
|
9316
9561
|
# },
|
9317
9562
|
# ],
|
9318
9563
|
# ingress_port_override: 1,
|
9564
|
+
# timeout: {
|
9565
|
+
# idle_timeout_seconds: 1,
|
9566
|
+
# per_request_timeout_seconds: 1,
|
9567
|
+
# },
|
9568
|
+
# tls: {
|
9569
|
+
# issuer_certificate_authority: { # required
|
9570
|
+
# aws_pca_authority_arn: "String",
|
9571
|
+
# },
|
9572
|
+
# kms_key: "String",
|
9573
|
+
# role_arn: "String",
|
9574
|
+
# },
|
9319
9575
|
# },
|
9320
9576
|
# ],
|
9321
9577
|
# log_configuration: {
|
@@ -9331,6 +9587,34 @@ module Aws::ECS
|
|
9331
9587
|
# ],
|
9332
9588
|
# },
|
9333
9589
|
# },
|
9590
|
+
# volume_configurations: [
|
9591
|
+
# {
|
9592
|
+
# name: "ECSVolumeName", # required
|
9593
|
+
# managed_ebs_volume: {
|
9594
|
+
# encrypted: false,
|
9595
|
+
# kms_key_id: "EBSKMSKeyId",
|
9596
|
+
# volume_type: "EBSVolumeType",
|
9597
|
+
# size_in_gi_b: 1,
|
9598
|
+
# snapshot_id: "EBSSnapshotId",
|
9599
|
+
# iops: 1,
|
9600
|
+
# throughput: 1,
|
9601
|
+
# tag_specifications: [
|
9602
|
+
# {
|
9603
|
+
# resource_type: "volume", # required, accepts volume
|
9604
|
+
# tags: [
|
9605
|
+
# {
|
9606
|
+
# key: "TagKey",
|
9607
|
+
# value: "TagValue",
|
9608
|
+
# },
|
9609
|
+
# ],
|
9610
|
+
# propagate_tags: "TASK_DEFINITION", # accepts TASK_DEFINITION, SERVICE, NONE
|
9611
|
+
# },
|
9612
|
+
# ],
|
9613
|
+
# role_arn: "IAMRoleArn", # required
|
9614
|
+
# filesystem_type: "ext3", # accepts ext3, ext4, xfs
|
9615
|
+
# },
|
9616
|
+
# },
|
9617
|
+
# ],
|
9334
9618
|
# })
|
9335
9619
|
#
|
9336
9620
|
# @example Response structure
|
@@ -9444,6 +9728,11 @@ module Aws::ECS
|
|
9444
9728
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
9445
9729
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
9446
9730
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
9731
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
9732
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
9733
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
9734
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
9735
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
9447
9736
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
9448
9737
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
9449
9738
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -9453,6 +9742,23 @@ module Aws::ECS
|
|
9453
9742
|
# resp.service.deployments[0].service_connect_resources #=> Array
|
9454
9743
|
# resp.service.deployments[0].service_connect_resources[0].discovery_name #=> String
|
9455
9744
|
# resp.service.deployments[0].service_connect_resources[0].discovery_arn #=> String
|
9745
|
+
# resp.service.deployments[0].volume_configurations #=> Array
|
9746
|
+
# resp.service.deployments[0].volume_configurations[0].name #=> String
|
9747
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.encrypted #=> Boolean
|
9748
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.kms_key_id #=> String
|
9749
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
9750
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
9751
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
|
9752
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
9753
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
9754
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
9755
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].resource_type #=> String, one of "volume"
|
9756
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags #=> Array
|
9757
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].key #=> String
|
9758
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].tags[0].value #=> String
|
9759
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications[0].propagate_tags #=> String, one of "TASK_DEFINITION", "SERVICE", "NONE"
|
9760
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.role_arn #=> String
|
9761
|
+
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.filesystem_type #=> String, one of "ext3", "ext4", "xfs"
|
9456
9762
|
# resp.service.role_arn #=> String
|
9457
9763
|
# resp.service.events #=> Array
|
9458
9764
|
# resp.service.events[0].id #=> String
|
@@ -9859,7 +10165,7 @@ module Aws::ECS
|
|
9859
10165
|
params: params,
|
9860
10166
|
config: config)
|
9861
10167
|
context[:gem_name] = 'aws-sdk-ecs'
|
9862
|
-
context[:gem_version] = '1.
|
10168
|
+
context[:gem_version] = '1.138.0'
|
9863
10169
|
Seahorse::Client::Request.new(handlers, context)
|
9864
10170
|
end
|
9865
10171
|
|