aws-sdk-ecs 1.137.0 → 1.139.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 +48 -4
- data/lib/aws-sdk-ecs/client_api.rb +18 -0
- data/lib/aws-sdk-ecs/types.rb +101 -21
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97d3ecbfb0d705982ded1dae3b8da79ff665d900615950b1a286e6d9f1b55dcc
|
4
|
+
data.tar.gz: 75fafba54a7a246f7746121c4c9830ed7648c85c9e9d561ed12900aa7a5b4621
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dc386aa0f5b7aff424ea6c43cb83f2c2cfd981b8df356f7f0aec1a8029650bb367ea9482144e860e6ad14b1793dd458a10b1b2245011a7581eb24ceb7ca3c77
|
7
|
+
data.tar.gz: d9d2515bc8fbb7be791e632112a8cae1e15123f8a6bc4562401799b590f1c296606e8b81506f7651ab6aa3d29cf317e22f602e4ed435a2fa530d790ae37cd37a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.139.0 (2024-01-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon ECS.
|
8
|
+
|
9
|
+
1.138.0 (2024-01-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.137.0 (2024-01-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.139.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -1450,6 +1450,17 @@ module Aws::ECS
|
|
1450
1450
|
# },
|
1451
1451
|
# ],
|
1452
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
|
+
# },
|
1453
1464
|
# },
|
1454
1465
|
# ],
|
1455
1466
|
# log_configuration: {
|
@@ -1606,6 +1617,11 @@ module Aws::ECS
|
|
1606
1617
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
1607
1618
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
1608
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
|
1609
1625
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
1610
1626
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
1611
1627
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -1674,11 +1690,14 @@ module Aws::ECS
|
|
1674
1690
|
# more information, see [Amazon ECS deployment types][1] in the *Amazon
|
1675
1691
|
# Elastic Container Service Developer Guide*.
|
1676
1692
|
#
|
1677
|
-
#
|
1693
|
+
# For information about the maximum number of task sets and otther
|
1694
|
+
# quotas, see [Amazon ECS service quotas][2] in the *Amazon Elastic
|
1695
|
+
# Container Service Developer Guide*.
|
1678
1696
|
#
|
1679
1697
|
#
|
1680
1698
|
#
|
1681
1699
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
|
1700
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html
|
1682
1701
|
#
|
1683
1702
|
# @option params [required, String] :service
|
1684
1703
|
# The short name or full Amazon Resource Name (ARN) of the service to
|
@@ -2374,6 +2393,11 @@ module Aws::ECS
|
|
2374
2393
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
2375
2394
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
2376
2395
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
2396
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
2397
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
2398
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
2399
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
2400
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
2377
2401
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
2378
2402
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
2379
2403
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -3713,6 +3737,11 @@ module Aws::ECS
|
|
3713
3737
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
3714
3738
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
3715
3739
|
# resp.services[0].deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
3740
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
3741
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
3742
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
3743
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
3744
|
+
# resp.services[0].deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
3716
3745
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
3717
3746
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
3718
3747
|
# resp.services[0].deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -8059,8 +8088,7 @@ module Aws::ECS
|
|
8059
8088
|
# An optional message specified when a task is stopped. For example, if
|
8060
8089
|
# you're using a custom scheduler, you can use this parameter to
|
8061
8090
|
# specify the reason for stopping the task here, and the message appears
|
8062
|
-
# in subsequent DescribeTasks API operations on this task.
|
8063
|
-
# characters are allowed in this message.
|
8091
|
+
# in subsequent DescribeTasks API operations on this task.
|
8064
8092
|
#
|
8065
8093
|
# @return [Types::StopTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8066
8094
|
#
|
@@ -9535,6 +9563,17 @@ module Aws::ECS
|
|
9535
9563
|
# },
|
9536
9564
|
# ],
|
9537
9565
|
# ingress_port_override: 1,
|
9566
|
+
# timeout: {
|
9567
|
+
# idle_timeout_seconds: 1,
|
9568
|
+
# per_request_timeout_seconds: 1,
|
9569
|
+
# },
|
9570
|
+
# tls: {
|
9571
|
+
# issuer_certificate_authority: { # required
|
9572
|
+
# aws_pca_authority_arn: "String",
|
9573
|
+
# },
|
9574
|
+
# kms_key: "String",
|
9575
|
+
# role_arn: "String",
|
9576
|
+
# },
|
9538
9577
|
# },
|
9539
9578
|
# ],
|
9540
9579
|
# log_configuration: {
|
@@ -9691,6 +9730,11 @@ module Aws::ECS
|
|
9691
9730
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].port #=> Integer
|
9692
9731
|
# resp.service.deployments[0].service_connect_configuration.services[0].client_aliases[0].dns_name #=> String
|
9693
9732
|
# resp.service.deployments[0].service_connect_configuration.services[0].ingress_port_override #=> Integer
|
9733
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.idle_timeout_seconds #=> Integer
|
9734
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].timeout.per_request_timeout_seconds #=> Integer
|
9735
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.issuer_certificate_authority.aws_pca_authority_arn #=> String
|
9736
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.kms_key #=> String
|
9737
|
+
# resp.service.deployments[0].service_connect_configuration.services[0].tls.role_arn #=> String
|
9694
9738
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.log_driver #=> String, one of "json-file", "syslog", "journald", "gelf", "fluentd", "awslogs", "splunk", "awsfirelens"
|
9695
9739
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options #=> Hash
|
9696
9740
|
# resp.service.deployments[0].service_connect_configuration.log_configuration.options["String"] #=> String
|
@@ -10123,7 +10167,7 @@ module Aws::ECS
|
|
10123
10167
|
params: params,
|
10124
10168
|
config: config)
|
10125
10169
|
context[:gem_name] = 'aws-sdk-ecs'
|
10126
|
-
context[:gem_version] = '1.
|
10170
|
+
context[:gem_version] = '1.139.0'
|
10127
10171
|
Seahorse::Client::Request.new(handlers, context)
|
10128
10172
|
end
|
10129
10173
|
|
@@ -137,6 +137,7 @@ module Aws::ECS
|
|
137
137
|
DockerLabelsMap = Shapes::MapShape.new(name: 'DockerLabelsMap')
|
138
138
|
DockerVolumeConfiguration = Shapes::StructureShape.new(name: 'DockerVolumeConfiguration')
|
139
139
|
Double = Shapes::FloatShape.new(name: 'Double')
|
140
|
+
Duration = Shapes::IntegerShape.new(name: 'Duration')
|
140
141
|
EBSKMSKeyId = Shapes::StringShape.new(name: 'EBSKMSKeyId')
|
141
142
|
EBSResourceType = Shapes::StringShape.new(name: 'EBSResourceType')
|
142
143
|
EBSSnapshotId = Shapes::StringShape.new(name: 'EBSSnapshotId')
|
@@ -302,6 +303,8 @@ module Aws::ECS
|
|
302
303
|
ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
|
303
304
|
ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
|
304
305
|
ServiceConnectServiceResourceList = Shapes::ListShape.new(name: 'ServiceConnectServiceResourceList')
|
306
|
+
ServiceConnectTlsCertificateAuthority = Shapes::StructureShape.new(name: 'ServiceConnectTlsCertificateAuthority')
|
307
|
+
ServiceConnectTlsConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectTlsConfiguration')
|
305
308
|
ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
|
306
309
|
ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
|
307
310
|
ServiceField = Shapes::StringShape.new(name: 'ServiceField')
|
@@ -372,6 +375,7 @@ module Aws::ECS
|
|
372
375
|
TaskVolumeConfiguration = Shapes::StructureShape.new(name: 'TaskVolumeConfiguration')
|
373
376
|
TaskVolumeConfigurations = Shapes::ListShape.new(name: 'TaskVolumeConfigurations')
|
374
377
|
Tasks = Shapes::ListShape.new(name: 'Tasks')
|
378
|
+
TimeoutConfiguration = Shapes::StructureShape.new(name: 'TimeoutConfiguration')
|
375
379
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
376
380
|
Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
|
377
381
|
TmpfsList = Shapes::ListShape.new(name: 'TmpfsList')
|
@@ -1466,6 +1470,8 @@ module Aws::ECS
|
|
1466
1470
|
ServiceConnectService.add_member(:discovery_name, Shapes::ShapeRef.new(shape: String, location_name: "discoveryName"))
|
1467
1471
|
ServiceConnectService.add_member(:client_aliases, Shapes::ShapeRef.new(shape: ServiceConnectClientAliasList, location_name: "clientAliases"))
|
1468
1472
|
ServiceConnectService.add_member(:ingress_port_override, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ingressPortOverride"))
|
1473
|
+
ServiceConnectService.add_member(:timeout, Shapes::ShapeRef.new(shape: TimeoutConfiguration, location_name: "timeout"))
|
1474
|
+
ServiceConnectService.add_member(:tls, Shapes::ShapeRef.new(shape: ServiceConnectTlsConfiguration, location_name: "tls"))
|
1469
1475
|
ServiceConnectService.struct_class = Types::ServiceConnectService
|
1470
1476
|
|
1471
1477
|
ServiceConnectServiceList.member = Shapes::ShapeRef.new(shape: ServiceConnectService)
|
@@ -1476,6 +1482,14 @@ module Aws::ECS
|
|
1476
1482
|
|
1477
1483
|
ServiceConnectServiceResourceList.member = Shapes::ShapeRef.new(shape: ServiceConnectServiceResource)
|
1478
1484
|
|
1485
|
+
ServiceConnectTlsCertificateAuthority.add_member(:aws_pca_authority_arn, Shapes::ShapeRef.new(shape: String, location_name: "awsPcaAuthorityArn"))
|
1486
|
+
ServiceConnectTlsCertificateAuthority.struct_class = Types::ServiceConnectTlsCertificateAuthority
|
1487
|
+
|
1488
|
+
ServiceConnectTlsConfiguration.add_member(:issuer_certificate_authority, Shapes::ShapeRef.new(shape: ServiceConnectTlsCertificateAuthority, required: true, location_name: "issuerCertificateAuthority"))
|
1489
|
+
ServiceConnectTlsConfiguration.add_member(:kms_key, Shapes::ShapeRef.new(shape: String, location_name: "kmsKey"))
|
1490
|
+
ServiceConnectTlsConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
1491
|
+
ServiceConnectTlsConfiguration.struct_class = Types::ServiceConnectTlsConfiguration
|
1492
|
+
|
1479
1493
|
ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
1480
1494
|
ServiceEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1481
1495
|
ServiceEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -1764,6 +1778,10 @@ module Aws::ECS
|
|
1764
1778
|
|
1765
1779
|
Tasks.member = Shapes::ShapeRef.new(shape: Task)
|
1766
1780
|
|
1781
|
+
TimeoutConfiguration.add_member(:idle_timeout_seconds, Shapes::ShapeRef.new(shape: Duration, location_name: "idleTimeoutSeconds"))
|
1782
|
+
TimeoutConfiguration.add_member(:per_request_timeout_seconds, Shapes::ShapeRef.new(shape: Duration, location_name: "perRequestTimeoutSeconds"))
|
1783
|
+
TimeoutConfiguration.struct_class = Types::TimeoutConfiguration
|
1784
|
+
|
1767
1785
|
Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
|
1768
1786
|
Tmpfs.add_member(:size, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "size"))
|
1769
1787
|
Tmpfs.add_member(:mount_options, Shapes::ShapeRef.new(shape: StringList, location_name: "mountOptions"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -236,6 +236,8 @@ module Aws::ECS
|
|
236
236
|
end
|
237
237
|
|
238
238
|
# An object representing the networking details for a task or service.
|
239
|
+
# For example
|
240
|
+
# `awsvpcConfiguration=\{subnets=["subnet-12344321"],securityGroups=["sg-12344321"]\}`
|
239
241
|
#
|
240
242
|
# @!attribute [rw] subnets
|
241
243
|
# The IDs of the subnets associated with the task or service. There's
|
@@ -1773,7 +1775,7 @@ module Aws::ECS
|
|
1773
1775
|
# `nofile` resource limit parameter which Fargate overrides. The
|
1774
1776
|
# `nofile` resource limit sets a restriction on the number of open
|
1775
1777
|
# files that a container can use. The default `nofile` soft limit is
|
1776
|
-
# `1024` and the default hard limit is `
|
1778
|
+
# `1024` and the default hard limit is `65535`.
|
1777
1779
|
#
|
1778
1780
|
# This parameter requires version 1.18 of the Docker Remote API or
|
1779
1781
|
# greater on your container instance. To check the Docker Remote API
|
@@ -2023,10 +2025,15 @@ module Aws::ECS
|
|
2023
2025
|
#
|
2024
2026
|
# </note>
|
2025
2027
|
#
|
2028
|
+
# For more information about how to create a container dependency, see
|
2029
|
+
# [Container dependency][3] in the *Amazon Elastic Container Service
|
2030
|
+
# Developer Guide*.
|
2031
|
+
#
|
2026
2032
|
#
|
2027
2033
|
#
|
2028
2034
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
2029
2035
|
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
|
2036
|
+
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/example_task_definitions.html#example_task_definition-containerdependency
|
2030
2037
|
#
|
2031
2038
|
# @!attribute [rw] container_name
|
2032
2039
|
# The name of a container.
|
@@ -3828,8 +3835,8 @@ module Aws::ECS
|
|
3828
3835
|
# amount of time the service scheduler can wait for is determined by
|
3829
3836
|
# the container health check settings.
|
3830
3837
|
#
|
3831
|
-
# For services
|
3832
|
-
#
|
3838
|
+
# For services that *do* use a load balancer, the following should be
|
3839
|
+
# noted:
|
3833
3840
|
#
|
3834
3841
|
# * If a task has no essential containers with a health check defined,
|
3835
3842
|
# the service scheduler will wait for the load balancer target group
|
@@ -9222,13 +9229,25 @@ module Aws::ECS
|
|
9222
9229
|
# ephemeral port of the Service Connect proxy.
|
9223
9230
|
# @return [Integer]
|
9224
9231
|
#
|
9232
|
+
# @!attribute [rw] timeout
|
9233
|
+
# A reference to an object that represents the configured timeouts for
|
9234
|
+
# Service Connect.
|
9235
|
+
# @return [Types::TimeoutConfiguration]
|
9236
|
+
#
|
9237
|
+
# @!attribute [rw] tls
|
9238
|
+
# A reference to an object that represents a Transport Layer Security
|
9239
|
+
# (TLS) configuration.
|
9240
|
+
# @return [Types::ServiceConnectTlsConfiguration]
|
9241
|
+
#
|
9225
9242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectService AWS API Documentation
|
9226
9243
|
#
|
9227
9244
|
class ServiceConnectService < Struct.new(
|
9228
9245
|
:port_name,
|
9229
9246
|
:discovery_name,
|
9230
9247
|
:client_aliases,
|
9231
|
-
:ingress_port_override
|
9248
|
+
:ingress_port_override,
|
9249
|
+
:timeout,
|
9250
|
+
:tls)
|
9232
9251
|
SENSITIVE = []
|
9233
9252
|
include Aws::Structure
|
9234
9253
|
end
|
@@ -9274,6 +9293,47 @@ module Aws::ECS
|
|
9274
9293
|
include Aws::Structure
|
9275
9294
|
end
|
9276
9295
|
|
9296
|
+
# An object that represents the Amazon Web Services Private Certificate
|
9297
|
+
# Authority certificate.
|
9298
|
+
#
|
9299
|
+
# @!attribute [rw] aws_pca_authority_arn
|
9300
|
+
# The ARN of the Amazon Web Services Private Certificate Authority
|
9301
|
+
# certificate.
|
9302
|
+
# @return [String]
|
9303
|
+
#
|
9304
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectTlsCertificateAuthority AWS API Documentation
|
9305
|
+
#
|
9306
|
+
class ServiceConnectTlsCertificateAuthority < Struct.new(
|
9307
|
+
:aws_pca_authority_arn)
|
9308
|
+
SENSITIVE = []
|
9309
|
+
include Aws::Structure
|
9310
|
+
end
|
9311
|
+
|
9312
|
+
# An object that represents the configuration for Service Connect TLS.
|
9313
|
+
#
|
9314
|
+
# @!attribute [rw] issuer_certificate_authority
|
9315
|
+
# The signer certificate authority.
|
9316
|
+
# @return [Types::ServiceConnectTlsCertificateAuthority]
|
9317
|
+
#
|
9318
|
+
# @!attribute [rw] kms_key
|
9319
|
+
# The Amazon Web Services Key Management Service key.
|
9320
|
+
# @return [String]
|
9321
|
+
#
|
9322
|
+
# @!attribute [rw] role_arn
|
9323
|
+
# The Amazon Resource Name (ARN) of the IAM role that's associated
|
9324
|
+
# with the Service Connect TLS.
|
9325
|
+
# @return [String]
|
9326
|
+
#
|
9327
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ServiceConnectTlsConfiguration AWS API Documentation
|
9328
|
+
#
|
9329
|
+
class ServiceConnectTlsConfiguration < Struct.new(
|
9330
|
+
:issuer_certificate_authority,
|
9331
|
+
:kms_key,
|
9332
|
+
:role_arn)
|
9333
|
+
SENSITIVE = []
|
9334
|
+
include Aws::Structure
|
9335
|
+
end
|
9336
|
+
|
9277
9337
|
# The details for an event that's associated with a service.
|
9278
9338
|
#
|
9279
9339
|
# @!attribute [rw] id
|
@@ -9835,8 +9895,7 @@ module Aws::ECS
|
|
9835
9895
|
# An optional message specified when a task is stopped. For example,
|
9836
9896
|
# if you're using a custom scheduler, you can use this parameter to
|
9837
9897
|
# specify the reason for stopping the task here, and the message
|
9838
|
-
# appears in subsequent DescribeTasks API operations on this task.
|
9839
|
-
# to 255 characters are allowed in this message.
|
9898
|
+
# appears in subsequent DescribeTasks API operations on this task.
|
9840
9899
|
# @return [String]
|
9841
9900
|
#
|
9842
9901
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopTaskRequest AWS API Documentation
|
@@ -10453,20 +10512,6 @@ module Aws::ECS
|
|
10453
10512
|
# For more information about stop code, see [Stopped tasks error
|
10454
10513
|
# codes][1] in the *Amazon ECS User Guide*.
|
10455
10514
|
#
|
10456
|
-
# The following are valid values:
|
10457
|
-
#
|
10458
|
-
# * `TaskFailedToStart`
|
10459
|
-
#
|
10460
|
-
# * `EssentialContainerExited`
|
10461
|
-
#
|
10462
|
-
# * `UserInitiated`
|
10463
|
-
#
|
10464
|
-
# * `TerminationNotice`
|
10465
|
-
#
|
10466
|
-
# * `ServiceSchedulerInitiated`
|
10467
|
-
#
|
10468
|
-
# * `SpotInterruption`
|
10469
|
-
#
|
10470
10515
|
#
|
10471
10516
|
#
|
10472
10517
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html
|
@@ -11603,6 +11648,41 @@ module Aws::ECS
|
|
11603
11648
|
include Aws::Structure
|
11604
11649
|
end
|
11605
11650
|
|
11651
|
+
# An object that represents the timeout configurations for Service
|
11652
|
+
# Connect.
|
11653
|
+
#
|
11654
|
+
# <note markdown="1"> If `idleTimeout` is set to a time that is less than
|
11655
|
+
# `perRequestTimeout`, the connection will close when the `idleTimeout`
|
11656
|
+
# is reached and not the `perRequestTimeout`.
|
11657
|
+
#
|
11658
|
+
# </note>
|
11659
|
+
#
|
11660
|
+
# @!attribute [rw] idle_timeout_seconds
|
11661
|
+
# The amount of time in seconds a connection will stay active while
|
11662
|
+
# idle. A value of `0` can be set to disable `idleTimeout`.
|
11663
|
+
#
|
11664
|
+
# The `idleTimeout` default for `HTTP`/`HTTP2`/`GRPC` is 5 minutes.
|
11665
|
+
#
|
11666
|
+
# The `idleTimeout` default for `TCP` is 1 hour.
|
11667
|
+
# @return [Integer]
|
11668
|
+
#
|
11669
|
+
# @!attribute [rw] per_request_timeout_seconds
|
11670
|
+
# The amount of time waiting for the upstream to respond with a
|
11671
|
+
# complete response per request. A value of `0` can be set to disable
|
11672
|
+
# `perRequestTimeout`. `perRequestTimeout` can only be set if Service
|
11673
|
+
# Connect `appProtocol` isn't `TCP`. Only `idleTimeout` is allowed
|
11674
|
+
# for `TCP` `appProtocol`.
|
11675
|
+
# @return [Integer]
|
11676
|
+
#
|
11677
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/TimeoutConfiguration AWS API Documentation
|
11678
|
+
#
|
11679
|
+
class TimeoutConfiguration < Struct.new(
|
11680
|
+
:idle_timeout_seconds,
|
11681
|
+
:per_request_timeout_seconds)
|
11682
|
+
SENSITIVE = []
|
11683
|
+
include Aws::Structure
|
11684
|
+
end
|
11685
|
+
|
11606
11686
|
# The container path, mount options, and size of the tmpfs mount.
|
11607
11687
|
#
|
11608
11688
|
# @!attribute [rw] container_path
|
@@ -11642,7 +11722,7 @@ module Aws::ECS
|
|
11642
11722
|
# resource limit parameter which Fargate overrides. The `nofile`
|
11643
11723
|
# resource limit sets a restriction on the number of open files that a
|
11644
11724
|
# container can use. The default `nofile` soft limit is `1024` and the
|
11645
|
-
# default hard limit is `
|
11725
|
+
# default hard limit is `65535`.
|
11646
11726
|
#
|
11647
11727
|
# You can specify the `ulimit` settings for a container in a task
|
11648
11728
|
# definition.
|
data/lib/aws-sdk-ecs.rb
CHANGED
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.139.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: 2024-01-
|
11
|
+
date: 2024-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|