Skip to content

Commit 87f3615

Browse files
author
AWS
committed
Amazon EC2 Container Service Update: 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.
1 parent a8d5216 commit 87f3615

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EC2 Container Service",
4+
"contributor": "",
5+
"description": "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."
6+
}

services/ecs/src/main/resources/codegen-resources/service-2.json

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,6 +2915,11 @@
29152915
"documentation":"<p>This parameter is specified when you're using Docker volumes. Docker volumes are only supported when you're using the EC2 launch type. Windows containers only support the use of the <code>local</code> driver. To use bind mounts, specify a <code>host</code> instead.</p>"
29162916
},
29172917
"Double":{"type":"double"},
2918+
"Duration":{
2919+
"type":"integer",
2920+
"max":2147483647,
2921+
"min":0
2922+
},
29182923
"EBSKMSKeyId":{"type":"string"},
29192924
"EBSResourceType":{
29202925
"type":"string",
@@ -5104,7 +5109,12 @@
51045109
"ingressPortOverride":{
51055110
"shape":"PortNumber",
51065111
"documentation":"<p>The port number for the Service Connect proxy to listen on.</p> <p>Use the value of this field to bypass the proxy for traffic on the port number specified in the named <code>portMapping</code> in the task definition of this application, and then use it in your VPC security groups to allow traffic into the proxy for this Amazon ECS service.</p> <p>In <code>awsvpc</code> mode and Fargate, the default value is the container port number. The container port number is in the <code>portMapping</code> in the task definition. In bridge mode, the default value is the ephemeral port of the Service Connect proxy.</p>"
5107-
}
5112+
},
5113+
"timeout":{
5114+
"shape":"TimeoutConfiguration",
5115+
"documentation":"<p>A reference to an object that represents the configured timeouts for Service Connect.</p>"
5116+
},
5117+
"tls":{"shape":"ServiceConnectTlsConfiguration"}
51085118
},
51095119
"documentation":"<p>The Service Connect service object configuration. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html\">Service Connect</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
51105120
},
@@ -5130,6 +5140,35 @@
51305140
"type":"list",
51315141
"member":{"shape":"ServiceConnectServiceResource"}
51325142
},
5143+
"ServiceConnectTlsCertificateAuthority":{
5144+
"type":"structure",
5145+
"members":{
5146+
"awsPcaAuthorityArn":{
5147+
"shape":"String",
5148+
"documentation":"<p>The ARN of the Amazon Web Services Private Certificate Authority certificate.</p>"
5149+
}
5150+
},
5151+
"documentation":"<p>An object that represents the Amazon Web Services Private Certificate Authority certificate.</p>"
5152+
},
5153+
"ServiceConnectTlsConfiguration":{
5154+
"type":"structure",
5155+
"required":["issuerCertificateAuthority"],
5156+
"members":{
5157+
"issuerCertificateAuthority":{
5158+
"shape":"ServiceConnectTlsCertificateAuthority",
5159+
"documentation":"<p>The signer certificate authority.</p>"
5160+
},
5161+
"kmsKey":{
5162+
"shape":"String",
5163+
"documentation":"<p>The Amazon Web Services Key Management Service key.</p>"
5164+
},
5165+
"roleArn":{
5166+
"shape":"String",
5167+
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM role that's associated with the Service Connect TLS.</p>"
5168+
}
5169+
},
5170+
"documentation":"<p>An object that represents the configuration for Service Connect TLS.</p>"
5171+
},
51335172
"ServiceEvent":{
51345173
"type":"structure",
51355174
"members":{
@@ -6250,6 +6289,20 @@
62506289
"type":"list",
62516290
"member":{"shape":"Task"}
62526291
},
6292+
"TimeoutConfiguration":{
6293+
"type":"structure",
6294+
"members":{
6295+
"idleTimeoutSeconds":{
6296+
"shape":"Duration",
6297+
"documentation":"<p>The amount of time in seconds a connection will stay active while idle. A value of <code>0</code> can be set to disable <code>idleTimeout</code>.</p> <p>The <code>idleTimeout</code> default for <code>HTTP</code>/<code>HTTP2</code>/<code>GRPC</code> is 5 minutes.</p> <p>The <code>idleTimeout</code> default for <code>TCP</code> is 1 hour.</p>"
6298+
},
6299+
"perRequestTimeoutSeconds":{
6300+
"shape":"Duration",
6301+
"documentation":"<p>The amount of time waiting for the upstream to respond with a complete response per request. A value of <code>0</code> can be set to disable <code>perRequestTimeout</code>. <code>perRequestTimeout</code> can only be set if Service Connect <code>appProtocol</code> isn't <code>TCP</code>. Only <code>idleTimeout</code> is allowed for <code>TCP</code> <code>appProtocol</code>.</p>"
6302+
}
6303+
},
6304+
"documentation":"<p>An object that represents the timeout configurations for Service Connect.</p> <note> <p>If <code>idleTimeout</code> is set to a time that is less than <code>perRequestTimeout</code>, the connection will close when the <code>idleTimeout</code> is reached and not the <code>perRequestTimeout</code>.</p> </note>"
6305+
},
62536306
"Timestamp":{"type":"timestamp"},
62546307
"Tmpfs":{
62556308
"type":"structure",

0 commit comments

Comments
 (0)