Skip to content

Commit 64cd81f

Browse files
author
AWS
committed
AWS App Mesh Update: AWS App Mesh release to support Multiple Listener and Access Log Format feature
1 parent 608f2ba commit 64cd81f

File tree

2 files changed

+113
-3
lines changed

2 files changed

+113
-3
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": "AWS App Mesh",
4+
"contributor": "",
5+
"description": "AWS App Mesh release to support Multiple Listener and Access Log Format feature"
6+
}

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

Lines changed: 107 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@
863863
},
864864
"ipPreference":{
865865
"shape":"IpPreference",
866-
"documentation":"<p>The IP version to use to control traffic within the mesh.</p>"
866+
"documentation":"<p>The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.</p>"
867867
},
868868
"namespaceName":{
869869
"shape":"AwsCloudMapName",
@@ -1922,7 +1922,7 @@
19221922
},
19231923
"ipPreference":{
19241924
"shape":"IpPreference",
1925-
"documentation":"<p>The IP version to use to control traffic within the mesh.</p>"
1925+
"documentation":"<p>The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.</p>"
19261926
},
19271927
"responseType":{
19281928
"shape":"DnsResponseType",
@@ -1984,6 +1984,10 @@
19841984
"type":"structure",
19851985
"required":["path"],
19861986
"members":{
1987+
"format":{
1988+
"shape":"LoggingFormat",
1989+
"documentation":"<p>The specified format for the logs. The format is either <code>json_format</code> or <code>text_format</code>.</p>"
1990+
},
19871991
"path":{
19881992
"shape":"FilePath",
19891993
"documentation":"<p>The file path to write access logs to. You can use <code>/dev/stdout</code> to send access logs to standard out and configure your Envoy container to use a log driver, such as <code>awslogs</code>, to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.</p> <pre><code> &lt;note&gt; &lt;p&gt;The Envoy process must have write permissions to the path that you specify here. Otherwise, Envoy fails to bootstrap properly.&lt;/p&gt; &lt;/note&gt; </code></pre>"
@@ -2175,6 +2179,10 @@
21752179
"type":"structure",
21762180
"required":["virtualService"],
21772181
"members":{
2182+
"port":{
2183+
"shape":"ListenerPort",
2184+
"documentation":"<p>The port number of the gateway route target.</p>"
2185+
},
21782186
"virtualService":{
21792187
"shape":"GatewayRouteVirtualService",
21802188
"documentation":"<p>An object that represents a virtual service gateway route target.</p>"
@@ -2237,6 +2245,10 @@
22372245
"shape":"GrpcGatewayRouteMetadataList",
22382246
"documentation":"<p>The gateway route metadata to be matched on.</p>"
22392247
},
2248+
"port":{
2249+
"shape":"ListenerPort",
2250+
"documentation":"<p>The port number to match from the request.</p>"
2251+
},
22402252
"serviceName":{
22412253
"shape":"ServiceName",
22422254
"documentation":"<p>The fully qualified domain name for the service to match from the request.</p>"
@@ -2397,6 +2409,10 @@
23972409
"shape":"MethodName",
23982410
"documentation":"<p>The method name to match from the request. If you specify a name, you must also specify a <code>serviceName</code>.</p>"
23992411
},
2412+
"port":{
2413+
"shape":"ListenerPort",
2414+
"documentation":"<p>The port number to match on.</p>"
2415+
},
24002416
"serviceName":{
24012417
"shape":"ServiceName",
24022418
"documentation":"<p>The fully qualified domain name for the service to match from the request.</p>"
@@ -2643,6 +2659,10 @@
26432659
"shape":"HttpPathMatch",
26442660
"documentation":"<p>The path to match on.</p>"
26452661
},
2662+
"port":{
2663+
"shape":"ListenerPort",
2664+
"documentation":"<p>The port number to match on.</p>"
2665+
},
26462666
"prefix":{
26472667
"shape":"String",
26482668
"documentation":"<p>Specifies the path to match requests with. This parameter must always start with <code>/</code>, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is <code>my-service.local</code> and you want the route to match requests to <code>my-service.local/metrics</code>, your prefix should be <code>/metrics</code>.</p>"
@@ -2874,6 +2894,10 @@
28742894
"shape":"HttpPathMatch",
28752895
"documentation":"<p>The client request path to match on.</p>"
28762896
},
2897+
"port":{
2898+
"shape":"ListenerPort",
2899+
"documentation":"<p>The port number to match on.</p>"
2900+
},
28772901
"prefix":{
28782902
"shape":"String",
28792903
"documentation":"<p>Specifies the path to match requests with. This parameter must always start with <code>/</code>, which by itself matches all requests to the virtual service name. You can also match for path-based routing of requests. For example, if your virtual service name is <code>my-service.local</code> and you want the route to match requests to <code>my-service.local/metrics</code>, your prefix should be <code>/metrics</code>.</p>"
@@ -2930,6 +2954,38 @@
29302954
"IPv6_ONLY"
29312955
]
29322956
},
2957+
"JsonFormat":{
2958+
"type":"list",
2959+
"member":{"shape":"JsonFormatRef"}
2960+
},
2961+
"JsonFormatRef":{
2962+
"type":"structure",
2963+
"required":[
2964+
"key",
2965+
"value"
2966+
],
2967+
"members":{
2968+
"key":{
2969+
"shape":"JsonKey",
2970+
"documentation":"<p>The specified key for the JSON.</p>"
2971+
},
2972+
"value":{
2973+
"shape":"JsonValue",
2974+
"documentation":"<p>The specified value for the JSON.</p>"
2975+
}
2976+
},
2977+
"documentation":"<p>An object that represents the key value pairs for the JSON.</p>"
2978+
},
2979+
"JsonKey":{
2980+
"type":"string",
2981+
"max":100,
2982+
"min":1
2983+
},
2984+
"JsonValue":{
2985+
"type":"string",
2986+
"max":100,
2987+
"min":1
2988+
},
29332989
"LimitExceededException":{
29342990
"type":"structure",
29352991
"members":{
@@ -3378,6 +3434,12 @@
33783434
},
33793435
"documentation":"<p>An object that represents a listener for a virtual node.</p>"
33803436
},
3437+
"ListenerPort":{
3438+
"type":"integer",
3439+
"box":true,
3440+
"max":65535,
3441+
"min":1
3442+
},
33813443
"ListenerTimeout":{
33823444
"type":"structure",
33833445
"members":{
@@ -3534,6 +3596,21 @@
35343596
},
35353597
"documentation":"<p>An object that represents the logging information for a virtual node.</p>"
35363598
},
3599+
"LoggingFormat":{
3600+
"type":"structure",
3601+
"members":{
3602+
"json":{
3603+
"shape":"JsonFormat",
3604+
"documentation":"<p/>"
3605+
},
3606+
"text":{
3607+
"shape":"TextFormat",
3608+
"documentation":"<p/>"
3609+
}
3610+
},
3611+
"documentation":"<p>An object that represents the format for the logs.</p>",
3612+
"union":true
3613+
},
35373614
"Long":{
35383615
"type":"long",
35393616
"box":true
@@ -4156,6 +4233,10 @@
41564233
"shape":"TcpRouteAction",
41574234
"documentation":"<p>The action to take if a match is determined.</p>"
41584235
},
4236+
"match":{
4237+
"shape":"TcpRouteMatch",
4238+
"documentation":"<p>An object that represents the criteria for determining a request match.</p>"
4239+
},
41594240
"timeout":{
41604241
"shape":"TcpTimeout",
41614242
"documentation":"<p>An object that represents types of timeouts. </p>"
@@ -4174,6 +4255,16 @@
41744255
},
41754256
"documentation":"<p>An object that represents the action to take if a match is determined.</p>"
41764257
},
4258+
"TcpRouteMatch":{
4259+
"type":"structure",
4260+
"members":{
4261+
"port":{
4262+
"shape":"ListenerPort",
4263+
"documentation":"<p>The port number to match on.</p>"
4264+
}
4265+
},
4266+
"documentation":"<p>An object representing the TCP route to match.</p>"
4267+
},
41774268
"TcpTimeout":{
41784269
"type":"structure",
41794270
"members":{
@@ -4184,14 +4275,19 @@
41844275
},
41854276
"documentation":"<p>An object that represents types of timeouts. </p>"
41864277
},
4278+
"TextFormat":{
4279+
"type":"string",
4280+
"max":1000,
4281+
"min":1
4282+
},
41874283
"Timestamp":{"type":"timestamp"},
41884284
"TlsValidationContext":{
41894285
"type":"structure",
41904286
"required":["trust"],
41914287
"members":{
41924288
"subjectAlternativeNames":{
41934289
"shape":"SubjectAlternativeNames",
4194-
"documentation":"<p>A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context.</p>"
4290+
"documentation":"<p>A reference to an object that represents the SANs for a Transport Layer Security (TLS) validation context. If you don't specify SANs on the <i>terminating</i> mesh endpoint, the Envoy proxy for that node doesn't verify the SAN on a peer client certificate. If you don't specify SANs on the <i>originating</i> mesh endpoint, the SAN on the certificate provided by the terminating endpoint must match the mesh endpoint service discovery configuration. Since SPIRE vended certificates have a SPIFFE ID as a name, you must set the SAN since the name doesn't match the service discovery name.</p>"
41954291
},
41964292
"trust":{
41974293
"shape":"TlsValidationContextTrust",
@@ -4773,6 +4869,10 @@
47734869
"type":"structure",
47744870
"required":["path"],
47754871
"members":{
4872+
"format":{
4873+
"shape":"LoggingFormat",
4874+
"documentation":"<p>The specified format for the virtual gateway access logs. It can be either <code>json_format</code> or <code>text_format</code>.</p>"
4875+
},
47764876
"path":{
47774877
"shape":"FilePath",
47784878
"documentation":"<p>The file path to write access logs to. You can use <code>/dev/stdout</code> to send access logs to standard out and configure your Envoy container to use a log driver, such as <code>awslogs</code>, to export the access logs to a log storage service such as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file system to write the files to disk.</p>"
@@ -5711,6 +5811,10 @@
57115811
"weight"
57125812
],
57135813
"members":{
5814+
"port":{
5815+
"shape":"ListenerPort",
5816+
"documentation":"<p>The targeted port of the weighted object.</p>"
5817+
},
57145818
"virtualNode":{
57155819
"shape":"ResourceName",
57165820
"documentation":"<p>The virtual node to associate with the weighted target.</p>"

0 commit comments

Comments
 (0)