aws-sdk-elasticloadbalancingv2 1.30.0 → 1.31.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-elasticloadbalancingv2.rb +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +114 -134
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +229 -142
- 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: 6834dd541101bd1f02d51e4864151d47caf54c9a
|
4
|
+
data.tar.gz: 818d4c4c4cec5c98086f384f4b8aa1a978a41080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a4283ab0d0735332824911de9b426e6f2a1bd7172d03fae1dca4f87268fd27eacdf121d2a750256e168674e47f68fe4a363ce35e1ee67817cde056c74fed310
|
7
|
+
data.tar.gz: ce957d3700c8919cd95e2d931f84289b790bfd2becccdb767a29c290c4cd62940e6e9828a2eba83ca0d1a23d5e4eb90afc1f90fce73e82a3f3d3a2c6234b65e8
|
@@ -254,15 +254,23 @@ module Aws::ElasticLoadBalancingV2
|
|
254
254
|
|
255
255
|
# @!group API Operations
|
256
256
|
|
257
|
-
# Adds the specified certificate to the
|
257
|
+
# Adds the specified SSL server certificate to the certificate list for
|
258
|
+
# the specified HTTPS listener.
|
259
|
+
#
|
260
|
+
# If the certificate in already in the certificate list, the call is
|
261
|
+
# successful but the certificate is not added again.
|
262
|
+
#
|
263
|
+
# To get the certificate list for a listener, use
|
264
|
+
# DescribeListenerCertificates. To remove certificates from the
|
265
|
+
# certificate list for a listener, use RemoveListenerCertificates. To
|
266
|
+
# replace the default certificate for a listener, use ModifyListener.
|
267
|
+
#
|
268
|
+
# For more information, see [SSL Certificates][1] in the *Application
|
269
|
+
# Load Balancers Guide*.
|
258
270
|
#
|
259
|
-
# If the certificate was already added, the call is successful but the
|
260
|
-
# certificate is not added again.
|
261
271
|
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
# listener, use RemoveListenerCertificates. To specify the default SSL
|
265
|
-
# server certificate, use ModifyListener.
|
272
|
+
#
|
273
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates
|
266
274
|
#
|
267
275
|
# @option params [required, String] :listener_arn
|
268
276
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -390,8 +398,8 @@ module Aws::ElasticLoadBalancingV2
|
|
390
398
|
# @option params [required, String] :protocol
|
391
399
|
# The protocol for connections from clients to the load balancer. For
|
392
400
|
# Application Load Balancers, the supported protocols are HTTP and
|
393
|
-
# HTTPS. For Network Load Balancers, the supported protocols are TCP
|
394
|
-
# TLS.
|
401
|
+
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
402
|
+
# TLS, UDP, and TCP\_UDP.
|
395
403
|
#
|
396
404
|
# @option params [required, Integer] :port
|
397
405
|
# The port on which the load balancer is listening.
|
@@ -402,11 +410,12 @@ module Aws::ElasticLoadBalancingV2
|
|
402
410
|
# predefined security policy.
|
403
411
|
#
|
404
412
|
# @option params [Array<Types::Certificate>] :certificates
|
405
|
-
# \[HTTPS and TLS listeners\] The default
|
406
|
-
# must provide exactly one certificate. Set `CertificateArn` to the
|
413
|
+
# \[HTTPS and TLS listeners\] The default certificate for the listener.
|
414
|
+
# You must provide exactly one certificate. Set `CertificateArn` to the
|
407
415
|
# certificate ARN but do not set `IsDefault`.
|
408
416
|
#
|
409
|
-
# To create a certificate list, use
|
417
|
+
# To create a certificate list for the listener, use
|
418
|
+
# AddListenerCertificates.
|
410
419
|
#
|
411
420
|
# @option params [required, Array<Types::Action>] :default_actions
|
412
421
|
# The actions for the default rule. The rule must include one forward
|
@@ -414,8 +423,8 @@ module Aws::ElasticLoadBalancingV2
|
|
414
423
|
#
|
415
424
|
# If the action type is `forward`, you specify a target group. The
|
416
425
|
# protocol of the target group must be HTTP or HTTPS for an Application
|
417
|
-
# Load Balancer. The protocol of the target group must be TCP
|
418
|
-
# a Network Load Balancer.
|
426
|
+
# Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
|
427
|
+
# or TCP\_UDP for a Network Load Balancer.
|
419
428
|
#
|
420
429
|
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
421
430
|
# authenticate users through an identity provider that is OpenID Connect
|
@@ -523,7 +532,7 @@ module Aws::ElasticLoadBalancingV2
|
|
523
532
|
#
|
524
533
|
# resp = client.create_listener({
|
525
534
|
# load_balancer_arn: "LoadBalancerArn", # required
|
526
|
-
# protocol: "HTTP", # required, accepts HTTP, HTTPS, TCP, TLS
|
535
|
+
# protocol: "HTTP", # required, accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
527
536
|
# port: 1, # required
|
528
537
|
# ssl_policy: "SslPolicyName",
|
529
538
|
# certificates: [
|
@@ -588,7 +597,7 @@ module Aws::ElasticLoadBalancingV2
|
|
588
597
|
# resp.listeners[0].listener_arn #=> String
|
589
598
|
# resp.listeners[0].load_balancer_arn #=> String
|
590
599
|
# resp.listeners[0].port #=> Integer
|
591
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
600
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
592
601
|
# resp.listeners[0].certificates #=> Array
|
593
602
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
594
603
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -901,36 +910,10 @@ module Aws::ElasticLoadBalancingV2
|
|
901
910
|
# The Amazon Resource Name (ARN) of the listener.
|
902
911
|
#
|
903
912
|
# @option params [required, Array<Types::RuleCondition>] :conditions
|
904
|
-
# The conditions. Each
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
# (for example, my.example.com). A host name is case insensitive, can be
|
909
|
-
# up to 128 characters in length, and can contain any of the following
|
910
|
-
# characters. You can include up to three wildcard characters.
|
911
|
-
#
|
912
|
-
# * A-Z, a-z, 0-9
|
913
|
-
#
|
914
|
-
# * \- .
|
915
|
-
#
|
916
|
-
# * * (matches 0 or more characters)
|
917
|
-
#
|
918
|
-
# * ? (matches exactly 1 character)
|
919
|
-
#
|
920
|
-
# If the field name is `path-pattern`, you can specify a single path
|
921
|
-
# pattern. A path pattern is case-sensitive, can be up to 128 characters
|
922
|
-
# in length, and can contain any of the following characters. You can
|
923
|
-
# include up to three wildcard characters.
|
924
|
-
#
|
925
|
-
# * A-Z, a-z, 0-9
|
926
|
-
#
|
927
|
-
# * \_ - . $ / ~ " ' @ : +
|
928
|
-
#
|
929
|
-
# * & (using &amp;)
|
930
|
-
#
|
931
|
-
# * * (matches 0 or more characters)
|
932
|
-
#
|
933
|
-
# * ? (matches exactly 1 character)
|
913
|
+
# The conditions. Each rule can include zero or one of the following
|
914
|
+
# conditions: `http-request-method`, `host-header`, `path-pattern`, and
|
915
|
+
# `source-ip`, and zero or more of the following conditions:
|
916
|
+
# `http-header` and `query-string`.
|
934
917
|
#
|
935
918
|
# @option params [required, Integer] :priority
|
936
919
|
# The rule priority. A listener can't have multiple rules with the same
|
@@ -942,8 +925,8 @@ module Aws::ElasticLoadBalancingV2
|
|
942
925
|
#
|
943
926
|
# If the action type is `forward`, you specify a target group. The
|
944
927
|
# protocol of the target group must be HTTP or HTTPS for an Application
|
945
|
-
# Load Balancer. The protocol of the target group must be TCP
|
946
|
-
# a Network Load Balancer.
|
928
|
+
# Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
|
929
|
+
# or TCP\_UDP for a Network Load Balancer.
|
947
930
|
#
|
948
931
|
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
949
932
|
# authenticate users through an identity provider that is OpenID Connect
|
@@ -1202,9 +1185,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1202
1185
|
# @option params [String] :protocol
|
1203
1186
|
# The protocol to use for routing traffic to the targets. For
|
1204
1187
|
# Application Load Balancers, the supported protocols are HTTP and
|
1205
|
-
# HTTPS. For Network Load Balancers, the supported protocols are TCP
|
1206
|
-
# TLS
|
1207
|
-
#
|
1188
|
+
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
1189
|
+
# TLS, UDP, or TCP\_UDP. A TCP\_UDP listener must be associated with a
|
1190
|
+
# TCP\_UDP target group. If the target is a Lambda function, this
|
1191
|
+
# parameter does not apply.
|
1208
1192
|
#
|
1209
1193
|
# @option params [Integer] :port
|
1210
1194
|
# The port on which the targets receive traffic. This port is used
|
@@ -1220,7 +1204,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1220
1204
|
# targets. For Application Load Balancers, the default is HTTP. For
|
1221
1205
|
# Network Load Balancers, the default is TCP. The TCP protocol is
|
1222
1206
|
# supported for health checks only if the protocol of the target group
|
1223
|
-
# is TCP or
|
1207
|
+
# is TCP, TLS, UDP, or TCP\_UDP. The TLS, UDP, and TCP\_UDP protocols
|
1208
|
+
# are not supported for health checks.
|
1224
1209
|
#
|
1225
1210
|
# @option params [String] :health_check_port
|
1226
1211
|
# The port the load balancer uses when performing health checks on
|
@@ -1229,8 +1214,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1229
1214
|
#
|
1230
1215
|
# @option params [Boolean] :health_check_enabled
|
1231
1216
|
# Indicates whether health checks are enabled. If the target type is
|
1232
|
-
# `
|
1233
|
-
# `
|
1217
|
+
# `lambda`, health checks are disabled by default but can be enabled. If
|
1218
|
+
# the target type is `instance` or `ip`, health checks are always
|
1219
|
+
# enabled and cannot be disabled.
|
1234
1220
|
#
|
1235
1221
|
# @option params [String] :health_check_path
|
1236
1222
|
# \[HTTP/HTTPS health checks\] The ping path that is the destination on
|
@@ -1238,31 +1224,32 @@ module Aws::ElasticLoadBalancingV2
|
|
1238
1224
|
#
|
1239
1225
|
# @option params [Integer] :health_check_interval_seconds
|
1240
1226
|
# The approximate amount of time, in seconds, between health checks of
|
1241
|
-
# an individual target. For
|
1242
|
-
# 5–300 seconds. For
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
# seconds.
|
1227
|
+
# an individual target. For HTTP and HTTPS health checks, the range is
|
1228
|
+
# 5–300 seconds. For TCP health checks, the supported values are 10 and
|
1229
|
+
# 30 seconds. If the target type is `instance` or `ip`, the default is
|
1230
|
+
# 30 seconds. If the target type is `lambda`, the default is 35 seconds.
|
1246
1231
|
#
|
1247
1232
|
# @option params [Integer] :health_check_timeout_seconds
|
1248
1233
|
# The amount of time, in seconds, during which no response from a target
|
1249
|
-
# means a failed health check. For
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1253
|
-
#
|
1234
|
+
# means a failed health check. For target groups with a protocol of HTTP
|
1235
|
+
# or HTTPS, the default is 5 seconds. For target groups with a protocol
|
1236
|
+
# of TCP or TLS, this value must be 6 seconds for HTTP health checks and
|
1237
|
+
# 10 seconds for TCP and HTTPS health checks. If the target type is
|
1238
|
+
# `lambda`, the default is 30 seconds.
|
1254
1239
|
#
|
1255
1240
|
# @option params [Integer] :healthy_threshold_count
|
1256
1241
|
# The number of consecutive health checks successes required before
|
1257
|
-
# considering an unhealthy target healthy. For
|
1258
|
-
#
|
1259
|
-
# is 3.
|
1242
|
+
# considering an unhealthy target healthy. For target groups with a
|
1243
|
+
# protocol of HTTP or HTTPS, the default is 5. For target groups with a
|
1244
|
+
# protocol of TCP or TLS, the default is 3. If the target type is
|
1245
|
+
# `lambda`, the default is 5.
|
1260
1246
|
#
|
1261
1247
|
# @option params [Integer] :unhealthy_threshold_count
|
1262
1248
|
# The number of consecutive health check failures required before
|
1263
|
-
# considering a target unhealthy. For
|
1264
|
-
# default is 2. For
|
1265
|
-
# as the healthy threshold
|
1249
|
+
# considering a target unhealthy. For target groups with a protocol of
|
1250
|
+
# HTTP or HTTPS, the default is 2. For target groups with a protocol of
|
1251
|
+
# TCP or TLS, this value must be the same as the healthy threshold
|
1252
|
+
# count. If the target type is `lambda`, the default is 2.
|
1266
1253
|
#
|
1267
1254
|
# @option params [Types::Matcher] :matcher
|
1268
1255
|
# \[HTTP/HTTPS health checks\] The HTTP codes to use when checking for a
|
@@ -1274,7 +1261,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1274
1261
|
# more than one target type.
|
1275
1262
|
#
|
1276
1263
|
# * `instance` - Targets are specified by instance ID. This is the
|
1277
|
-
# default value.
|
1264
|
+
# default value. If the target group protocol is UDP or TCP\_UDP, the
|
1265
|
+
# target type must be `instance`.
|
1278
1266
|
#
|
1279
1267
|
# * `ip` - Targets are specified by IP address. You can specify IP
|
1280
1268
|
# addresses from the subnets of the virtual private cloud (VPC) for
|
@@ -1328,10 +1316,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1328
1316
|
#
|
1329
1317
|
# resp = client.create_target_group({
|
1330
1318
|
# name: "TargetGroupName", # required
|
1331
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS
|
1319
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1332
1320
|
# port: 1,
|
1333
1321
|
# vpc_id: "VpcId",
|
1334
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS
|
1322
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1335
1323
|
# health_check_port: "HealthCheckPort",
|
1336
1324
|
# health_check_enabled: false,
|
1337
1325
|
# health_check_path: "Path",
|
@@ -1350,10 +1338,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1350
1338
|
# resp.target_groups #=> Array
|
1351
1339
|
# resp.target_groups[0].target_group_arn #=> String
|
1352
1340
|
# resp.target_groups[0].target_group_name #=> String
|
1353
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
1341
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1354
1342
|
# resp.target_groups[0].port #=> Integer
|
1355
1343
|
# resp.target_groups[0].vpc_id #=> String
|
1356
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
1344
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1357
1345
|
# resp.target_groups[0].health_check_port #=> String
|
1358
1346
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
1359
1347
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -1612,7 +1600,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1612
1600
|
req.send_request(options)
|
1613
1601
|
end
|
1614
1602
|
|
1615
|
-
# Describes the
|
1603
|
+
# Describes the default certificate and the certificate list for the
|
1604
|
+
# specified HTTPS listener.
|
1605
|
+
#
|
1606
|
+
# If the default certificate is also in the certificate list, it appears
|
1607
|
+
# twice in the results (once with `IsDefault` set to true and once with
|
1608
|
+
# `IsDefault` set to false).
|
1609
|
+
#
|
1610
|
+
# For more information, see [SSL Certificates][1] in the *Application
|
1611
|
+
# Load Balancers Guide*.
|
1612
|
+
#
|
1613
|
+
#
|
1614
|
+
#
|
1615
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates
|
1616
1616
|
#
|
1617
1617
|
# @option params [required, String] :listener_arn
|
1618
1618
|
# The Amazon Resource Names (ARN) of the listener.
|
@@ -1657,6 +1657,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1657
1657
|
# Application Load Balancer or Network Load Balancer. You must specify
|
1658
1658
|
# either a load balancer or one or more listeners.
|
1659
1659
|
#
|
1660
|
+
# For an HTTPS or TLS listener, the output includes the default
|
1661
|
+
# certificate for the listener. To describe the certificate list for the
|
1662
|
+
# listener, use DescribeListenerCertificates.
|
1663
|
+
#
|
1660
1664
|
# @option params [String] :load_balancer_arn
|
1661
1665
|
# The Amazon Resource Name (ARN) of the load balancer.
|
1662
1666
|
#
|
@@ -1719,7 +1723,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1719
1723
|
# resp.listeners[0].listener_arn #=> String
|
1720
1724
|
# resp.listeners[0].load_balancer_arn #=> String
|
1721
1725
|
# resp.listeners[0].port #=> Integer
|
1722
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
1726
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1723
1727
|
# resp.listeners[0].certificates #=> Array
|
1724
1728
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
1725
1729
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -2464,10 +2468,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2464
2468
|
# resp.target_groups #=> Array
|
2465
2469
|
# resp.target_groups[0].target_group_arn #=> String
|
2466
2470
|
# resp.target_groups[0].target_group_name #=> String
|
2467
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
2471
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
2468
2472
|
# resp.target_groups[0].port #=> Integer
|
2469
2473
|
# resp.target_groups[0].vpc_id #=> String
|
2470
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
2474
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
2471
2475
|
# resp.target_groups[0].health_check_port #=> String
|
2472
2476
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
2473
2477
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -2606,9 +2610,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2606
2610
|
#
|
2607
2611
|
# Any properties that you do not specify retain their current values.
|
2608
2612
|
# However, changing the protocol from HTTPS to HTTP, or from TLS to TCP,
|
2609
|
-
# removes the security policy and
|
2613
|
+
# removes the security policy and default certificate properties. If you
|
2610
2614
|
# change the protocol from HTTP to HTTPS, or from TCP to TLS, you must
|
2611
|
-
# add the security policy and
|
2615
|
+
# add the security policy and default certificate properties.
|
2612
2616
|
#
|
2613
2617
|
# @option params [required, String] :listener_arn
|
2614
2618
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -2619,7 +2623,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2619
2623
|
# @option params [String] :protocol
|
2620
2624
|
# The protocol for connections from clients to the load balancer.
|
2621
2625
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2622
|
-
# Network Load Balancers support the TCP and
|
2626
|
+
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2627
|
+
# protocols.
|
2623
2628
|
#
|
2624
2629
|
# @option params [String] :ssl_policy
|
2625
2630
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
@@ -2631,8 +2636,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2631
2636
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
|
2632
2637
|
#
|
2633
2638
|
# @option params [Array<Types::Certificate>] :certificates
|
2634
|
-
# \[HTTPS and TLS listeners\] The default
|
2635
|
-
# must provide exactly one certificate. Set `CertificateArn` to the
|
2639
|
+
# \[HTTPS and TLS listeners\] The default certificate for the listener.
|
2640
|
+
# You must provide exactly one certificate. Set `CertificateArn` to the
|
2636
2641
|
# certificate ARN but do not set `IsDefault`.
|
2637
2642
|
#
|
2638
2643
|
# To create a certificate list, use AddListenerCertificates.
|
@@ -2643,8 +2648,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2643
2648
|
#
|
2644
2649
|
# If the action type is `forward`, you specify a target group. The
|
2645
2650
|
# protocol of the target group must be HTTP or HTTPS for an Application
|
2646
|
-
# Load Balancer. The protocol of the target group must be TCP
|
2647
|
-
# a Network Load Balancer.
|
2651
|
+
# Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
|
2652
|
+
# or TCP\_UDP for a Network Load Balancer.
|
2648
2653
|
#
|
2649
2654
|
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
2650
2655
|
# authenticate users through an identity provider that is OpenID Connect
|
@@ -2738,7 +2743,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2738
2743
|
# resp = client.modify_listener({
|
2739
2744
|
# listener_arn: "ListenerArn", # required
|
2740
2745
|
# port: 1,
|
2741
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS
|
2746
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
2742
2747
|
# ssl_policy: "SslPolicyName",
|
2743
2748
|
# certificates: [
|
2744
2749
|
# {
|
@@ -2802,7 +2807,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2802
2807
|
# resp.listeners[0].listener_arn #=> String
|
2803
2808
|
# resp.listeners[0].load_balancer_arn #=> String
|
2804
2809
|
# resp.listeners[0].port #=> Integer
|
2805
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
2810
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
2806
2811
|
# resp.listeners[0].certificates #=> Array
|
2807
2812
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
2808
2813
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -3037,44 +3042,19 @@ module Aws::ElasticLoadBalancingV2
|
|
3037
3042
|
# The Amazon Resource Name (ARN) of the rule.
|
3038
3043
|
#
|
3039
3044
|
# @option params [Array<Types::RuleCondition>] :conditions
|
3040
|
-
# The conditions. Each
|
3041
|
-
#
|
3042
|
-
#
|
3043
|
-
#
|
3044
|
-
# (for example, my.example.com). A host name is case insensitive, can be
|
3045
|
-
# up to 128 characters in length, and can contain any of the following
|
3046
|
-
# characters. You can include up to three wildcard characters.
|
3047
|
-
#
|
3048
|
-
# * A-Z, a-z, 0-9
|
3049
|
-
#
|
3050
|
-
# * \- .
|
3051
|
-
#
|
3052
|
-
# * * (matches 0 or more characters)
|
3053
|
-
#
|
3054
|
-
# * ? (matches exactly 1 character)
|
3055
|
-
#
|
3056
|
-
# If the field name is `path-pattern`, you can specify a single path
|
3057
|
-
# pattern. A path pattern is case-sensitive, can be up to 128 characters
|
3058
|
-
# in length, and can contain any of the following characters. You can
|
3059
|
-
# include up to three wildcard characters.
|
3060
|
-
#
|
3061
|
-
# * A-Z, a-z, 0-9
|
3062
|
-
#
|
3063
|
-
# * \_ - . $ / ~ " ' @ : +
|
3064
|
-
#
|
3065
|
-
# * & (using &amp;)
|
3066
|
-
#
|
3067
|
-
# * * (matches 0 or more characters)
|
3068
|
-
#
|
3069
|
-
# * ? (matches exactly 1 character)
|
3045
|
+
# The conditions. Each rule can include zero or one of the following
|
3046
|
+
# conditions: `http-request-method`, `host-header`, `path-pattern`, and
|
3047
|
+
# `source-ip`, and zero or more of the following conditions:
|
3048
|
+
# `http-header` and `query-string`.
|
3070
3049
|
#
|
3071
3050
|
# @option params [Array<Types::Action>] :actions
|
3072
|
-
# The actions.
|
3051
|
+
# The actions. Each rule must include exactly one of the following types
|
3052
|
+
# of actions: `forward`, `fixed-response`, or `redirect`.
|
3073
3053
|
#
|
3074
3054
|
# If the action type is `forward`, you specify a target group. The
|
3075
3055
|
# protocol of the target group must be HTTP or HTTPS for an Application
|
3076
|
-
# Load Balancer. The protocol of the target group must be TCP
|
3077
|
-
# a Network Load Balancer.
|
3056
|
+
# Load Balancer. The protocol of the target group must be TCP, TLS, UDP,
|
3057
|
+
# or TCP\_UDP for a Network Load Balancer.
|
3078
3058
|
#
|
3079
3059
|
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
3080
3060
|
# authenticate users through an identity provider that is OpenID Connect
|
@@ -3299,8 +3279,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3299
3279
|
# @option params [String] :health_check_protocol
|
3300
3280
|
# The protocol the load balancer uses when performing health checks on
|
3301
3281
|
# targets. The TCP protocol is supported for health checks only if the
|
3302
|
-
# protocol of the target group is TCP or
|
3303
|
-
# supported for health checks.
|
3282
|
+
# protocol of the target group is TCP, TLS, UDP, or TCP\_UDP. The TLS,
|
3283
|
+
# UDP, and TCP\_UDP protocols are not supported for health checks.
|
3304
3284
|
#
|
3305
3285
|
# If the protocol of the target group is TCP, you can't modify this
|
3306
3286
|
# setting.
|
@@ -3318,9 +3298,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3318
3298
|
#
|
3319
3299
|
# @option params [Integer] :health_check_interval_seconds
|
3320
3300
|
# The approximate amount of time, in seconds, between health checks of
|
3321
|
-
# an individual target. For Application Load Balancers, the range is
|
3322
|
-
#
|
3323
|
-
# or 30 seconds.
|
3301
|
+
# an individual target. For Application Load Balancers, the range is 5
|
3302
|
+
# to 300 seconds. For Network Load Balancers, the supported values are
|
3303
|
+
# 10 or 30 seconds.
|
3324
3304
|
#
|
3325
3305
|
# If the protocol of the target group is TCP, you can't modify this
|
3326
3306
|
# setting.
|
@@ -3393,7 +3373,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3393
3373
|
#
|
3394
3374
|
# resp = client.modify_target_group({
|
3395
3375
|
# target_group_arn: "TargetGroupArn", # required
|
3396
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS
|
3376
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
3397
3377
|
# health_check_port: "HealthCheckPort",
|
3398
3378
|
# health_check_path: "Path",
|
3399
3379
|
# health_check_enabled: false,
|
@@ -3411,10 +3391,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3411
3391
|
# resp.target_groups #=> Array
|
3412
3392
|
# resp.target_groups[0].target_group_arn #=> String
|
3413
3393
|
# resp.target_groups[0].target_group_name #=> String
|
3414
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
3394
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3415
3395
|
# resp.target_groups[0].port #=> Integer
|
3416
3396
|
# resp.target_groups[0].vpc_id #=> String
|
3417
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS"
|
3397
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3418
3398
|
# resp.target_groups[0].health_check_port #=> String
|
3419
3399
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
3420
3400
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -3600,7 +3580,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3600
3580
|
req.send_request(options)
|
3601
3581
|
end
|
3602
3582
|
|
3603
|
-
# Removes the specified certificate from the
|
3583
|
+
# Removes the specified certificate from the certificate list for the
|
3584
|
+
# specified HTTPS listener.
|
3604
3585
|
#
|
3605
3586
|
# You can't remove the default certificate for a listener. To replace
|
3606
3587
|
# the default certificate, call ModifyListener.
|
@@ -3686,15 +3667,14 @@ module Aws::ElasticLoadBalancingV2
|
|
3686
3667
|
# Sets the type of IP addresses used by the subnets of the specified
|
3687
3668
|
# Application Load Balancer or Network Load Balancer.
|
3688
3669
|
#
|
3689
|
-
# Network Load Balancers must use `ipv4`.
|
3690
|
-
#
|
3691
3670
|
# @option params [required, String] :load_balancer_arn
|
3692
3671
|
# The Amazon Resource Name (ARN) of the load balancer.
|
3693
3672
|
#
|
3694
3673
|
# @option params [required, String] :ip_address_type
|
3695
3674
|
# The IP address type. The possible values are `ipv4` (for IPv4
|
3696
3675
|
# addresses) and `dualstack` (for IPv4 and IPv6 addresses). Internal
|
3697
|
-
# load balancers must use `ipv4`.
|
3676
|
+
# load balancers must use `ipv4`. Network Load Balancers must use
|
3677
|
+
# `ipv4`.
|
3698
3678
|
#
|
3699
3679
|
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3700
3680
|
#
|
@@ -4004,7 +3984,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4004
3984
|
params: params,
|
4005
3985
|
config: config)
|
4006
3986
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4007
|
-
context[:gem_version] = '1.
|
3987
|
+
context[:gem_version] = '1.31.0'
|
4008
3988
|
Seahorse::Client::Request.new(handlers, context)
|
4009
3989
|
end
|
4010
3990
|
|