aws-sdk-elasticloadbalancingv2 1.54.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ec2fe7f82a0e3659113fb2346b60aa3568620eb3c49f8a71137b598080c89f0
|
4
|
+
data.tar.gz: e8bd0aa38feec30f7a8c3c0e7f209abd3bd2bb2cb5f576b808aea2ad3a95a811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d7d168ddd7a818a663afdf4a014f7da3e10f0e283d9b3f705516e28e12eafd3801ab5699c2b0c47aa53fc6b81114e6ec1df939fba4483b088be629fb7989c81
|
7
|
+
data.tar.gz: 9df0f00e309488c729957762a28dc6f5362ef36d18d61f0764122c7074496a5e1918517afc9dbc6c171824063c87d2f7a520f479e5fbecaf912930a3a7f3153c
|
@@ -333,17 +333,14 @@ module Aws::ElasticLoadBalancingV2
|
|
333
333
|
# If the certificate in already in the certificate list, the call is
|
334
334
|
# successful but the certificate is not added again.
|
335
335
|
#
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
339
|
-
# replace the default certificate for a listener, use ModifyListener.
|
340
|
-
#
|
341
|
-
# For more information, see [SSL Certificates][1] in the *Application
|
342
|
-
# Load Balancers Guide*.
|
336
|
+
# For more information, see [HTTPS listeners][1] in the *Application
|
337
|
+
# Load Balancers Guide* or [TLS listeners][2] in the *Network Load
|
338
|
+
# Balancers Guide*.
|
343
339
|
#
|
344
340
|
#
|
345
341
|
#
|
346
|
-
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html
|
342
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html
|
343
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html
|
347
344
|
#
|
348
345
|
# @option params [required, String] :listener_arn
|
349
346
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -385,14 +382,12 @@ module Aws::ElasticLoadBalancingV2
|
|
385
382
|
|
386
383
|
# Adds the specified tags to the specified Elastic Load Balancing
|
387
384
|
# resource. You can tag your Application Load Balancers, Network Load
|
388
|
-
# Balancers, target groups, listeners, and
|
385
|
+
# Balancers, Gateway Load Balancers, target groups, listeners, and
|
386
|
+
# rules.
|
389
387
|
#
|
390
388
|
# Each tag consists of a key and an optional value. If a resource
|
391
389
|
# already has a tag with the same key, `AddTags` updates its value.
|
392
390
|
#
|
393
|
-
# To list the current tags for your resources, use DescribeTags. To
|
394
|
-
# remove tags from your resources, use RemoveTags.
|
395
|
-
#
|
396
391
|
# @option params [required, Array<String>] :resource_arns
|
397
392
|
# The Amazon Resource Name (ARN) of the resource.
|
398
393
|
#
|
@@ -443,65 +438,47 @@ module Aws::ElasticLoadBalancingV2
|
|
443
438
|
req.send_request(options)
|
444
439
|
end
|
445
440
|
|
446
|
-
# Creates a listener for the specified Application Load Balancer
|
447
|
-
# Network Load Balancer.
|
441
|
+
# Creates a listener for the specified Application Load Balancer,
|
442
|
+
# Network Load Balancer. or Gateway Load Balancer.
|
448
443
|
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
444
|
+
# For more information, see the following:
|
445
|
+
#
|
446
|
+
# * [Listeners for your Application Load Balancers][1]
|
447
|
+
#
|
448
|
+
# * [Listeners for your Network Load Balancers][2]
|
449
|
+
#
|
450
|
+
# * [Listeners for your Gateway Load Balancers][3]
|
453
451
|
#
|
454
452
|
# This operation is idempotent, which means that it completes at most
|
455
453
|
# one time. If you attempt to create multiple listeners with the same
|
456
454
|
# settings, each call succeeds.
|
457
455
|
#
|
458
|
-
# For more information, see [Listeners for Your Application Load
|
459
|
-
# Balancers][1] in the *Application Load Balancers Guide* and [Listeners
|
460
|
-
# for Your Network Load Balancers][2] in the *Network Load Balancers
|
461
|
-
# Guide*.
|
462
|
-
#
|
463
456
|
#
|
464
457
|
#
|
465
458
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html
|
466
459
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html
|
460
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html
|
467
461
|
#
|
468
462
|
# @option params [required, String] :load_balancer_arn
|
469
463
|
# The Amazon Resource Name (ARN) of the load balancer.
|
470
464
|
#
|
471
|
-
# @option params [
|
465
|
+
# @option params [String] :protocol
|
472
466
|
# The protocol for connections from clients to the load balancer. For
|
473
467
|
# Application Load Balancers, the supported protocols are HTTP and
|
474
468
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
475
|
-
# TLS, UDP, and TCP\_UDP.
|
469
|
+
# TLS, UDP, and TCP\_UDP. You cannot specify a protocol for a Gateway
|
470
|
+
# Load Balancer.
|
476
471
|
#
|
477
|
-
# @option params [
|
478
|
-
# The port on which the load balancer is listening.
|
472
|
+
# @option params [Integer] :port
|
473
|
+
# The port on which the load balancer is listening. You cannot specify a
|
474
|
+
# port for a Gateway Load Balancer.
|
479
475
|
#
|
480
476
|
# @option params [String] :ssl_policy
|
481
477
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
482
|
-
# protocols and ciphers are supported.
|
483
|
-
# values:
|
484
|
-
#
|
485
|
-
# * `ELBSecurityPolicy-2016-08`
|
486
|
-
#
|
487
|
-
# * `ELBSecurityPolicy-TLS-1-0-2015-04`
|
488
|
-
#
|
489
|
-
# * `ELBSecurityPolicy-TLS-1-1-2017-01`
|
490
|
-
#
|
491
|
-
# * `ELBSecurityPolicy-TLS-1-2-2017-01`
|
492
|
-
#
|
493
|
-
# * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
|
494
|
-
#
|
495
|
-
# * `ELBSecurityPolicy-FS-2018-06`
|
478
|
+
# protocols and ciphers are supported.
|
496
479
|
#
|
497
|
-
#
|
498
|
-
#
|
499
|
-
# * `ELBSecurityPolicy-FS-1-2-2019-08`
|
500
|
-
#
|
501
|
-
# * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
|
502
|
-
#
|
503
|
-
# For more information, see [Security Policies][1] in the *Application
|
504
|
-
# Load Balancers Guide* and [Security Policies][2] in the *Network Load
|
480
|
+
# For more information, see [Security policies][1] in the *Application
|
481
|
+
# Load Balancers Guide* and [Security policies][2] in the *Network Load
|
505
482
|
# Balancers Guide*.
|
506
483
|
#
|
507
484
|
#
|
@@ -514,9 +491,6 @@ module Aws::ElasticLoadBalancingV2
|
|
514
491
|
# You must provide exactly one certificate. Set `CertificateArn` to the
|
515
492
|
# certificate ARN but do not set `IsDefault`.
|
516
493
|
#
|
517
|
-
# To create a certificate list for the listener, use
|
518
|
-
# AddListenerCertificates.
|
519
|
-
#
|
520
494
|
# @option params [required, Array<Types::Action>] :default_actions
|
521
495
|
# The actions for the default rule.
|
522
496
|
#
|
@@ -535,7 +509,7 @@ module Aws::ElasticLoadBalancingV2
|
|
535
509
|
#
|
536
510
|
# * `None`
|
537
511
|
#
|
538
|
-
# For more information, see [ALPN
|
512
|
+
# For more information, see [ALPN policies][1] in the *Network Load
|
539
513
|
# Balancers Guide*.
|
540
514
|
#
|
541
515
|
#
|
@@ -638,8 +612,8 @@ module Aws::ElasticLoadBalancingV2
|
|
638
612
|
#
|
639
613
|
# resp = client.create_listener({
|
640
614
|
# load_balancer_arn: "LoadBalancerArn", # required
|
641
|
-
# protocol: "HTTP", #
|
642
|
-
# port: 1,
|
615
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
616
|
+
# port: 1,
|
643
617
|
# ssl_policy: "SslPolicyName",
|
644
618
|
# certificates: [
|
645
619
|
# {
|
@@ -722,7 +696,7 @@ module Aws::ElasticLoadBalancingV2
|
|
722
696
|
# resp.listeners[0].listener_arn #=> String
|
723
697
|
# resp.listeners[0].load_balancer_arn #=> String
|
724
698
|
# resp.listeners[0].port #=> Integer
|
725
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
699
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
726
700
|
# resp.listeners[0].certificates #=> Array
|
727
701
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
728
702
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -779,36 +753,26 @@ module Aws::ElasticLoadBalancingV2
|
|
779
753
|
req.send_request(options)
|
780
754
|
end
|
781
755
|
|
782
|
-
# Creates an Application Load Balancer
|
756
|
+
# Creates an Application Load Balancer, Network Load Balancer, or
|
757
|
+
# Gateway Load Balancer.
|
758
|
+
#
|
759
|
+
# For more information, see the following:
|
783
760
|
#
|
784
|
-
#
|
785
|
-
# public subnets, IP address type, and tags. Otherwise, you could do so
|
786
|
-
# later using SetSecurityGroups, SetSubnets, SetIpAddressType, and
|
787
|
-
# AddTags.
|
761
|
+
# * [Application Load Balancers][1]
|
788
762
|
#
|
789
|
-
#
|
790
|
-
# describe your current load balancers, see DescribeLoadBalancers. When
|
791
|
-
# you are finished with a load balancer, you can delete it using
|
792
|
-
# DeleteLoadBalancer.
|
763
|
+
# * [Network Load Balancers][2]
|
793
764
|
#
|
794
|
-
#
|
795
|
-
# Balancer][1] in the *Application Load Balancers Guide* and [Limits for
|
796
|
-
# Your Network Load Balancer][2] in the *Network Load Balancers Guide*.
|
765
|
+
# * [Gateway Load Balancers][3]
|
797
766
|
#
|
798
767
|
# This operation is idempotent, which means that it completes at most
|
799
768
|
# one time. If you attempt to create multiple load balancers with the
|
800
769
|
# same settings, each call succeeds.
|
801
770
|
#
|
802
|
-
# For more information, see [Application Load Balancers][3] in the
|
803
|
-
# *Application Load Balancers Guide* and [Network Load Balancers][4] in
|
804
|
-
# the *Network Load Balancers Guide*.
|
805
771
|
#
|
806
772
|
#
|
807
|
-
#
|
808
|
-
# [
|
809
|
-
# [
|
810
|
-
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html
|
811
|
-
# [4]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html
|
773
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html
|
774
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html
|
775
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html
|
812
776
|
#
|
813
777
|
# @option params [required, String] :name
|
814
778
|
# The name of the load balancer.
|
@@ -834,6 +798,9 @@ module Aws::ElasticLoadBalancingV2
|
|
834
798
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
835
799
|
# Availability Zones.
|
836
800
|
#
|
801
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
802
|
+
# Availability Zones.
|
803
|
+
#
|
837
804
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
838
805
|
# The IDs of the public subnets. You can specify only one subnet per
|
839
806
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -854,6 +821,10 @@ module Aws::ElasticLoadBalancingV2
|
|
854
821
|
# balancer. For internal load balancers, you can specify one private IP
|
855
822
|
# address per subnet from the IPv4 range of the subnet.
|
856
823
|
#
|
824
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
825
|
+
# Availability Zones. You cannot specify Elastic IP addresses for your
|
826
|
+
# subnets.
|
827
|
+
#
|
857
828
|
# @option params [Array<String>] :security_groups
|
858
829
|
# \[Application Load Balancers\] The IDs of the security groups for the
|
859
830
|
# load balancer.
|
@@ -873,6 +844,8 @@ module Aws::ElasticLoadBalancingV2
|
|
873
844
|
#
|
874
845
|
# The default is an Internet-facing load balancer.
|
875
846
|
#
|
847
|
+
# You cannot specify a scheme for a Gateway Load Balancer.
|
848
|
+
#
|
876
849
|
# @option params [Array<Types::Tag>] :tags
|
877
850
|
# The tags to assign to the load balancer.
|
878
851
|
#
|
@@ -1005,7 +978,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1005
978
|
# value: "TagValue",
|
1006
979
|
# },
|
1007
980
|
# ],
|
1008
|
-
# type: "application", # accepts application, network
|
981
|
+
# type: "application", # accepts application, network, gateway
|
1009
982
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
1010
983
|
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
|
1011
984
|
# })
|
@@ -1022,7 +995,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1022
995
|
# resp.load_balancers[0].vpc_id #=> String
|
1023
996
|
# resp.load_balancers[0].state.code #=> String, one of "active", "provisioning", "active_impaired", "failed"
|
1024
997
|
# resp.load_balancers[0].state.reason #=> String
|
1025
|
-
# resp.load_balancers[0].type #=> String, one of "application", "network"
|
998
|
+
# resp.load_balancers[0].type #=> String, one of "application", "network", "gateway"
|
1026
999
|
# resp.load_balancers[0].availability_zones #=> Array
|
1027
1000
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
1028
1001
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
@@ -1053,11 +1026,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1053
1026
|
# value to the highest value. When the conditions for a rule are met,
|
1054
1027
|
# its actions are performed. If the conditions for no rules are met, the
|
1055
1028
|
# actions for the default rule are performed. For more information, see
|
1056
|
-
# [Listener
|
1057
|
-
#
|
1058
|
-
# To view your current rules, use DescribeRules. To update a rule, use
|
1059
|
-
# ModifyRule. To set the priorities of your rules, use
|
1060
|
-
# SetRulePriorities. To delete a rule, use DeleteRule.
|
1029
|
+
# [Listener rules][1] in the *Application Load Balancers Guide*.
|
1061
1030
|
#
|
1062
1031
|
#
|
1063
1032
|
#
|
@@ -1312,29 +1281,23 @@ module Aws::ElasticLoadBalancingV2
|
|
1312
1281
|
|
1313
1282
|
# Creates a target group.
|
1314
1283
|
#
|
1315
|
-
#
|
1316
|
-
# update the health check settings for the target group, use
|
1317
|
-
# ModifyTargetGroup. To monitor the health of targets in the target
|
1318
|
-
# group, use DescribeTargetHealth.
|
1284
|
+
# For more information, see the following:
|
1319
1285
|
#
|
1320
|
-
#
|
1321
|
-
# group in an action using CreateListener or CreateRule.
|
1286
|
+
# * [Target groups for your Application Load Balancers][1]
|
1322
1287
|
#
|
1323
|
-
#
|
1288
|
+
# * [Target groups for your Network Load Balancers][2]
|
1289
|
+
#
|
1290
|
+
# * [Target groups for your Gateway Load Balancers][3]
|
1324
1291
|
#
|
1325
1292
|
# This operation is idempotent, which means that it completes at most
|
1326
1293
|
# one time. If you attempt to create multiple target groups with the
|
1327
1294
|
# same settings, each call succeeds.
|
1328
1295
|
#
|
1329
|
-
# For more information, see [Target Groups for Your Application Load
|
1330
|
-
# Balancers][1] in the *Application Load Balancers Guide* or [Target
|
1331
|
-
# Groups for Your Network Load Balancers][2] in the *Network Load
|
1332
|
-
# Balancers Guide*.
|
1333
|
-
#
|
1334
1296
|
#
|
1335
1297
|
#
|
1336
1298
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
|
1337
1299
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html
|
1300
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html
|
1338
1301
|
#
|
1339
1302
|
# @option params [required, String] :name
|
1340
1303
|
# The name of the target group.
|
@@ -1347,7 +1310,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1347
1310
|
# The protocol to use for routing traffic to the targets. For
|
1348
1311
|
# Application Load Balancers, the supported protocols are HTTP and
|
1349
1312
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
1350
|
-
# TLS, UDP, or TCP\_UDP.
|
1313
|
+
# TLS, UDP, or TCP\_UDP. For Gateway Load Balancers, the supported
|
1314
|
+
# protocol is GENEVE. A TCP\_UDP listener must be associated with a
|
1351
1315
|
# TCP\_UDP target group. If the target is a Lambda function, this
|
1352
1316
|
# parameter does not apply.
|
1353
1317
|
#
|
@@ -1360,7 +1324,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1360
1324
|
# @option params [Integer] :port
|
1361
1325
|
# The port on which the targets receive traffic. This port is used
|
1362
1326
|
# unless you specify a port override when registering the target. If the
|
1363
|
-
# target is a Lambda function, this parameter does not apply.
|
1327
|
+
# target is a Lambda function, this parameter does not apply. If the
|
1328
|
+
# protocol is GENEVE, the supported port is 6081.
|
1364
1329
|
#
|
1365
1330
|
# @option params [String] :vpc_id
|
1366
1331
|
# The identifier of the virtual private cloud (VPC). If the target is a
|
@@ -1370,15 +1335,17 @@ module Aws::ElasticLoadBalancingV2
|
|
1370
1335
|
# @option params [String] :health_check_protocol
|
1371
1336
|
# The protocol the load balancer uses when performing health checks on
|
1372
1337
|
# targets. For Application Load Balancers, the default is HTTP. For
|
1373
|
-
# Network Load Balancers, the default is TCP.
|
1374
|
-
# supported for health checks
|
1375
|
-
#
|
1376
|
-
# are not supported for health checks.
|
1338
|
+
# Network Load Balancers and Gateway Load Balancers, the default is TCP.
|
1339
|
+
# The TCP protocol is not supported for health checks if the protocol of
|
1340
|
+
# the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP\_UDP
|
1341
|
+
# protocols are not supported for health checks.
|
1377
1342
|
#
|
1378
1343
|
# @option params [String] :health_check_port
|
1379
1344
|
# The port the load balancer uses when performing health checks on
|
1380
|
-
# targets.
|
1381
|
-
#
|
1345
|
+
# targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP\_UDP,
|
1346
|
+
# the default is `traffic-port`, which is the port on which each target
|
1347
|
+
# receives traffic from the load balancer. If the protocol is GENEVE,
|
1348
|
+
# the default is port 80.
|
1382
1349
|
#
|
1383
1350
|
# @option params [Boolean] :health_check_enabled
|
1384
1351
|
# Indicates whether health checks are enabled. If the target type is
|
@@ -1398,32 +1365,34 @@ module Aws::ElasticLoadBalancingV2
|
|
1398
1365
|
#
|
1399
1366
|
# @option params [Integer] :health_check_interval_seconds
|
1400
1367
|
# The approximate amount of time, in seconds, between health checks of
|
1401
|
-
# an individual target. For
|
1402
|
-
#
|
1403
|
-
# 30 seconds. If the target
|
1404
|
-
#
|
1368
|
+
# an individual target. For TCP health checks, the supported values are
|
1369
|
+
# 10 and 30 seconds. If the target type is `instance` or `ip`, the
|
1370
|
+
# default is 30 seconds. If the target group protocol is GENEVE, the
|
1371
|
+
# default is 10 seconds. If the target type is `lambda`, the default is
|
1372
|
+
# 35 seconds.
|
1405
1373
|
#
|
1406
1374
|
# @option params [Integer] :health_check_timeout_seconds
|
1407
1375
|
# The amount of time, in seconds, during which no response from a target
|
1408
|
-
# means a failed health check. For target groups with a protocol of
|
1409
|
-
#
|
1410
|
-
# of TCP or TLS, this value must be 6 seconds for HTTP
|
1411
|
-
# 10 seconds for TCP and HTTPS health checks. If the
|
1412
|
-
# `lambda`, the default is 30 seconds.
|
1376
|
+
# means a failed health check. For target groups with a protocol of
|
1377
|
+
# HTTP, HTTPS, or GENEVE, the default is 5 seconds. For target groups
|
1378
|
+
# with a protocol of TCP or TLS, this value must be 6 seconds for HTTP
|
1379
|
+
# health checks and 10 seconds for TCP and HTTPS health checks. If the
|
1380
|
+
# target type is `lambda`, the default is 30 seconds.
|
1413
1381
|
#
|
1414
1382
|
# @option params [Integer] :healthy_threshold_count
|
1415
1383
|
# The number of consecutive health checks successes required before
|
1416
1384
|
# considering an unhealthy target healthy. For target groups with a
|
1417
1385
|
# protocol of HTTP or HTTPS, the default is 5. For target groups with a
|
1418
|
-
# protocol of TCP or
|
1419
|
-
# `lambda`, the default is 5.
|
1386
|
+
# protocol of TCP, TLS, or GENEVE, the default is 3. If the target type
|
1387
|
+
# is `lambda`, the default is 5.
|
1420
1388
|
#
|
1421
1389
|
# @option params [Integer] :unhealthy_threshold_count
|
1422
1390
|
# The number of consecutive health check failures required before
|
1423
|
-
# considering a target unhealthy.
|
1424
|
-
#
|
1425
|
-
#
|
1426
|
-
#
|
1391
|
+
# considering a target unhealthy. If the target group protocol is HTTP
|
1392
|
+
# or HTTPS, the default is 2. If the target group protocol is TCP or
|
1393
|
+
# TLS, this value must be the same as the healthy threshold count. If
|
1394
|
+
# the target group protocol is GENEVE, the default is 3. If the target
|
1395
|
+
# type is `lambda`, the default is 2.
|
1427
1396
|
#
|
1428
1397
|
# @option params [Types::Matcher] :matcher
|
1429
1398
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
@@ -1434,16 +1403,16 @@ module Aws::ElasticLoadBalancingV2
|
|
1434
1403
|
# this target group. You can't specify targets for a target group using
|
1435
1404
|
# more than one target type.
|
1436
1405
|
#
|
1437
|
-
# * `instance` -
|
1438
|
-
#
|
1406
|
+
# * `instance` - Register targets by instance ID. This is the default
|
1407
|
+
# value.
|
1439
1408
|
#
|
1440
|
-
# * `ip` -
|
1441
|
-
#
|
1442
|
-
#
|
1409
|
+
# * `ip` - Register targets by IP address. You can specify IP addresses
|
1410
|
+
# from the subnets of the virtual private cloud (VPC) for the target
|
1411
|
+
# group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and
|
1443
1412
|
# 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't
|
1444
1413
|
# specify publicly routable IP addresses.
|
1445
1414
|
#
|
1446
|
-
# * `lambda` -
|
1415
|
+
# * `lambda` - Register a single Lambda function as a target.
|
1447
1416
|
#
|
1448
1417
|
# @option params [Array<Types::Tag>] :tags
|
1449
1418
|
# The tags to assign to the target group.
|
@@ -1492,11 +1461,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1492
1461
|
#
|
1493
1462
|
# resp = client.create_target_group({
|
1494
1463
|
# name: "TargetGroupName", # required
|
1495
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1464
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1496
1465
|
# protocol_version: "ProtocolVersion",
|
1497
1466
|
# port: 1,
|
1498
1467
|
# vpc_id: "VpcId",
|
1499
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1468
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1500
1469
|
# health_check_port: "HealthCheckPort",
|
1501
1470
|
# health_check_enabled: false,
|
1502
1471
|
# health_check_path: "Path",
|
@@ -1522,10 +1491,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1522
1491
|
# resp.target_groups #=> Array
|
1523
1492
|
# resp.target_groups[0].target_group_arn #=> String
|
1524
1493
|
# resp.target_groups[0].target_group_name #=> String
|
1525
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1494
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
1526
1495
|
# resp.target_groups[0].port #=> Integer
|
1527
1496
|
# resp.target_groups[0].vpc_id #=> String
|
1528
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1497
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
1529
1498
|
# resp.target_groups[0].health_check_port #=> String
|
1530
1499
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
1531
1500
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -1552,7 +1521,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1552
1521
|
# Deletes the specified listener.
|
1553
1522
|
#
|
1554
1523
|
# Alternatively, your listener is deleted when you delete the load
|
1555
|
-
# balancer to which it is attached
|
1524
|
+
# balancer to which it is attached.
|
1556
1525
|
#
|
1557
1526
|
# @option params [required, String] :listener_arn
|
1558
1527
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -1583,8 +1552,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1583
1552
|
req.send_request(options)
|
1584
1553
|
end
|
1585
1554
|
|
1586
|
-
# Deletes the specified Application Load Balancer
|
1587
|
-
# Balancer
|
1555
|
+
# Deletes the specified Application Load Balancer, Network Load
|
1556
|
+
# Balancer, or Gateway Load Balancer. Deleting a load balancer also
|
1557
|
+
# deletes its listeners.
|
1588
1558
|
#
|
1589
1559
|
# You can't delete a load balancer if deletion protection is enabled.
|
1590
1560
|
# If the load balancer does not exist or has already been deleted, the
|
@@ -1661,6 +1631,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1661
1631
|
#
|
1662
1632
|
# You can delete a target group if it is not referenced by any actions.
|
1663
1633
|
# Deleting a target group also deletes any associated health checks.
|
1634
|
+
# Deleting a target group does not affect its registered targets. For
|
1635
|
+
# example, any EC2 instances continue to run until you stop or terminate
|
1636
|
+
# them.
|
1664
1637
|
#
|
1665
1638
|
# @option params [required, String] :target_group_arn
|
1666
1639
|
# The Amazon Resource Name (ARN) of the target group.
|
@@ -1744,14 +1717,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1744
1717
|
# Describes the current Elastic Load Balancing resource limits for your
|
1745
1718
|
# AWS account.
|
1746
1719
|
#
|
1747
|
-
# For more information, see
|
1748
|
-
#
|
1749
|
-
#
|
1720
|
+
# For more information, see the following:
|
1721
|
+
#
|
1722
|
+
# * [Quotas for your Application Load Balancers][1]
|
1723
|
+
#
|
1724
|
+
# * [Quotas for your Network Load Balancers][2]
|
1725
|
+
#
|
1726
|
+
# * [Quotas for your Gateway Load Balancers][3]
|
1750
1727
|
#
|
1751
1728
|
#
|
1752
1729
|
#
|
1753
1730
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
|
1754
1731
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html
|
1732
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html
|
1755
1733
|
#
|
1756
1734
|
# @option params [String] :marker
|
1757
1735
|
# The marker for the next set of results. (You received this marker from
|
@@ -1795,12 +1773,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1795
1773
|
# twice in the results (once with `IsDefault` set to true and once with
|
1796
1774
|
# `IsDefault` set to false).
|
1797
1775
|
#
|
1798
|
-
# For more information, see [SSL
|
1799
|
-
# Load Balancers Guide
|
1776
|
+
# For more information, see [SSL certificates][1] in the *Application
|
1777
|
+
# Load Balancers Guide* or [Server certificates][2] in the *Network Load
|
1778
|
+
# Balancers Guide*.
|
1800
1779
|
#
|
1801
1780
|
#
|
1802
1781
|
#
|
1803
1782
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates
|
1783
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate
|
1804
1784
|
#
|
1805
1785
|
# @option params [required, String] :listener_arn
|
1806
1786
|
# The Amazon Resource Names (ARN) of the listener.
|
@@ -1842,12 +1822,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1842
1822
|
end
|
1843
1823
|
|
1844
1824
|
# Describes the specified listeners or the listeners for the specified
|
1845
|
-
# Application Load Balancer
|
1846
|
-
# either a load balancer or one or more
|
1847
|
-
#
|
1848
|
-
# For an HTTPS or TLS listener, the output includes the default
|
1849
|
-
# certificate for the listener. To describe the certificate list for the
|
1850
|
-
# listener, use DescribeListenerCertificates.
|
1825
|
+
# Application Load Balancer, Network Load Balancer, or Gateway Load
|
1826
|
+
# Balancer. You must specify either a load balancer or one or more
|
1827
|
+
# listeners.
|
1851
1828
|
#
|
1852
1829
|
# @option params [String] :load_balancer_arn
|
1853
1830
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -1913,7 +1890,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1913
1890
|
# resp.listeners[0].listener_arn #=> String
|
1914
1891
|
# resp.listeners[0].load_balancer_arn #=> String
|
1915
1892
|
# resp.listeners[0].port #=> Integer
|
1916
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1893
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
1917
1894
|
# resp.listeners[0].certificates #=> Array
|
1918
1895
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
1919
1896
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -1971,17 +1948,23 @@ module Aws::ElasticLoadBalancingV2
|
|
1971
1948
|
req.send_request(options)
|
1972
1949
|
end
|
1973
1950
|
|
1974
|
-
# Describes the attributes for the specified Application Load Balancer
|
1975
|
-
# or
|
1951
|
+
# Describes the attributes for the specified Application Load Balancer,
|
1952
|
+
# Network Load Balancer, or Gateway Load Balancer.
|
1953
|
+
#
|
1954
|
+
# For more information, see the following:
|
1976
1955
|
#
|
1977
|
-
#
|
1978
|
-
#
|
1979
|
-
#
|
1956
|
+
# * [Load balancer attributes][1] in the *Application Load Balancers
|
1957
|
+
# Guide*
|
1958
|
+
#
|
1959
|
+
# * [Load balancer attributes][2] in the *Network Load Balancers Guide*
|
1960
|
+
#
|
1961
|
+
# * [Load balancer attributes][3] in the *Gateway Load Balancers Guide*
|
1980
1962
|
#
|
1981
1963
|
#
|
1982
1964
|
#
|
1983
1965
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes
|
1984
1966
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes
|
1967
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes
|
1985
1968
|
#
|
1986
1969
|
# @option params [required, String] :load_balancer_arn
|
1987
1970
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -2048,10 +2031,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2048
2031
|
|
2049
2032
|
# Describes the specified load balancers or all of your load balancers.
|
2050
2033
|
#
|
2051
|
-
# To describe the listeners for a load balancer, use DescribeListeners.
|
2052
|
-
# To describe the attributes for a load balancer, use
|
2053
|
-
# DescribeLoadBalancerAttributes.
|
2054
|
-
#
|
2055
2034
|
# @option params [Array<String>] :load_balancer_arns
|
2056
2035
|
# The Amazon Resource Names (ARN) of the load balancers. You can specify
|
2057
2036
|
# up to 20 load balancers in a single call.
|
@@ -2137,7 +2116,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2137
2116
|
# resp.load_balancers[0].vpc_id #=> String
|
2138
2117
|
# resp.load_balancers[0].state.code #=> String, one of "active", "provisioning", "active_impaired", "failed"
|
2139
2118
|
# resp.load_balancers[0].state.reason #=> String
|
2140
|
-
# resp.load_balancers[0].type #=> String, one of "application", "network"
|
2119
|
+
# resp.load_balancers[0].type #=> String, one of "application", "network", "gateway"
|
2141
2120
|
# resp.load_balancers[0].availability_zones #=> Array
|
2142
2121
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
2143
2122
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
@@ -2312,12 +2291,14 @@ module Aws::ElasticLoadBalancingV2
|
|
2312
2291
|
# Describes the specified policies or all policies used for SSL
|
2313
2292
|
# negotiation.
|
2314
2293
|
#
|
2315
|
-
# For more information, see [Security
|
2316
|
-
# Load Balancers Guide
|
2294
|
+
# For more information, see [Security policies][1] in the *Application
|
2295
|
+
# Load Balancers Guide* or [Security policies][2] in the *Network Load
|
2296
|
+
# Balancers Guide*.
|
2317
2297
|
#
|
2318
2298
|
#
|
2319
2299
|
#
|
2320
2300
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
|
2301
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies
|
2321
2302
|
#
|
2322
2303
|
# @option params [Array<String>] :names
|
2323
2304
|
# The names of the policies.
|
@@ -2467,7 +2448,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2467
2448
|
|
2468
2449
|
# Describes the tags for the specified Elastic Load Balancing resources.
|
2469
2450
|
# You can describe the tags for one or more Application Load Balancers,
|
2470
|
-
# Network Load Balancers,
|
2451
|
+
# Network Load Balancers, Gateway Load Balancers, target groups,
|
2452
|
+
# listeners, or rules.
|
2471
2453
|
#
|
2472
2454
|
# @option params [required, Array<String>] :resource_arns
|
2473
2455
|
# The Amazon Resource Names (ARN) of the resources. You can specify up
|
@@ -2532,14 +2514,20 @@ module Aws::ElasticLoadBalancingV2
|
|
2532
2514
|
|
2533
2515
|
# Describes the attributes for the specified target group.
|
2534
2516
|
#
|
2535
|
-
# For more information, see
|
2536
|
-
#
|
2537
|
-
# the *
|
2517
|
+
# For more information, see the following:
|
2518
|
+
#
|
2519
|
+
# * [Target group attributes][1] in the *Application Load Balancers
|
2520
|
+
# Guide*
|
2521
|
+
#
|
2522
|
+
# * [Target group attributes][2] in the *Network Load Balancers Guide*
|
2523
|
+
#
|
2524
|
+
# * [Target group attributes][3] in the *Gateway Load Balancers Guide*
|
2538
2525
|
#
|
2539
2526
|
#
|
2540
2527
|
#
|
2541
2528
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes
|
2542
2529
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes
|
2530
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes
|
2543
2531
|
#
|
2544
2532
|
# @option params [required, String] :target_group_arn
|
2545
2533
|
# The Amazon Resource Name (ARN) of the target group.
|
@@ -2606,10 +2594,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2606
2594
|
# load balancer, the names of one or more target groups, or the ARNs of
|
2607
2595
|
# one or more target groups.
|
2608
2596
|
#
|
2609
|
-
# To describe the targets for a target group, use DescribeTargetHealth.
|
2610
|
-
# To describe the attributes of a target group, use
|
2611
|
-
# DescribeTargetGroupAttributes.
|
2612
|
-
#
|
2613
2597
|
# @option params [String] :load_balancer_arn
|
2614
2598
|
# The Amazon Resource Name (ARN) of the load balancer.
|
2615
2599
|
#
|
@@ -2685,10 +2669,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2685
2669
|
# resp.target_groups #=> Array
|
2686
2670
|
# resp.target_groups[0].target_group_arn #=> String
|
2687
2671
|
# resp.target_groups[0].target_group_name #=> String
|
2688
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
2672
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
2689
2673
|
# resp.target_groups[0].port #=> Integer
|
2690
2674
|
# resp.target_groups[0].vpc_id #=> String
|
2691
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
2675
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
2692
2676
|
# resp.target_groups[0].health_check_port #=> String
|
2693
2677
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
2694
2678
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -2848,39 +2832,21 @@ module Aws::ElasticLoadBalancingV2
|
|
2848
2832
|
# The Amazon Resource Name (ARN) of the listener.
|
2849
2833
|
#
|
2850
2834
|
# @option params [Integer] :port
|
2851
|
-
# The port for connections from clients to the load balancer.
|
2835
|
+
# The port for connections from clients to the load balancer. You cannot
|
2836
|
+
# specify a port for a Gateway Load Balancer.
|
2852
2837
|
#
|
2853
2838
|
# @option params [String] :protocol
|
2854
2839
|
# The protocol for connections from clients to the load balancer.
|
2855
2840
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2856
2841
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2857
|
-
# protocols.
|
2842
|
+
# protocols. You cannot specify a protocol for a Gateway Load Balancer.
|
2858
2843
|
#
|
2859
2844
|
# @option params [String] :ssl_policy
|
2860
2845
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
2861
|
-
# protocols and ciphers are supported.
|
2862
|
-
# values:
|
2846
|
+
# protocols and ciphers are supported.
|
2863
2847
|
#
|
2864
|
-
# *
|
2865
|
-
#
|
2866
|
-
# * `ELBSecurityPolicy-TLS-1-0-2015-04`
|
2867
|
-
#
|
2868
|
-
# * `ELBSecurityPolicy-TLS-1-1-2017-01`
|
2869
|
-
#
|
2870
|
-
# * `ELBSecurityPolicy-TLS-1-2-2017-01`
|
2871
|
-
#
|
2872
|
-
# * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
|
2873
|
-
#
|
2874
|
-
# * `ELBSecurityPolicy-FS-2018-06`
|
2875
|
-
#
|
2876
|
-
# * `ELBSecurityPolicy-FS-1-1-2019-08`
|
2877
|
-
#
|
2878
|
-
# * `ELBSecurityPolicy-FS-1-2-2019-08`
|
2879
|
-
#
|
2880
|
-
# * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
|
2881
|
-
#
|
2882
|
-
# For more information, see [Security Policies][1] in the *Application
|
2883
|
-
# Load Balancers Guide* and [Security Policies][2] in the *Network Load
|
2848
|
+
# For more information, see [Security policies][1] in the *Application
|
2849
|
+
# Load Balancers Guide* or [Security policies][2] in the *Network Load
|
2884
2850
|
# Balancers Guide*.
|
2885
2851
|
#
|
2886
2852
|
#
|
@@ -2893,8 +2859,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2893
2859
|
# You must provide exactly one certificate. Set `CertificateArn` to the
|
2894
2860
|
# certificate ARN but do not set `IsDefault`.
|
2895
2861
|
#
|
2896
|
-
# To create a certificate list, use AddListenerCertificates.
|
2897
|
-
#
|
2898
2862
|
# @option params [Array<Types::Action>] :default_actions
|
2899
2863
|
# The actions for the default rule.
|
2900
2864
|
#
|
@@ -2913,7 +2877,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2913
2877
|
#
|
2914
2878
|
# * `None`
|
2915
2879
|
#
|
2916
|
-
# For more information, see [ALPN
|
2880
|
+
# For more information, see [ALPN policies][1] in the *Network Load
|
2917
2881
|
# Balancers Guide*.
|
2918
2882
|
#
|
2919
2883
|
#
|
@@ -2999,7 +2963,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2999
2963
|
# resp = client.modify_listener({
|
3000
2964
|
# listener_arn: "ListenerArn", # required
|
3001
2965
|
# port: 1,
|
3002
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
2966
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
3003
2967
|
# ssl_policy: "SslPolicyName",
|
3004
2968
|
# certificates: [
|
3005
2969
|
# {
|
@@ -3076,7 +3040,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3076
3040
|
# resp.listeners[0].listener_arn #=> String
|
3077
3041
|
# resp.listeners[0].load_balancer_arn #=> String
|
3078
3042
|
# resp.listeners[0].port #=> Integer
|
3079
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3043
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
3080
3044
|
# resp.listeners[0].certificates #=> Array
|
3081
3045
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
3082
3046
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -3134,7 +3098,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3134
3098
|
end
|
3135
3099
|
|
3136
3100
|
# Modifies the specified attributes of the specified Application Load
|
3137
|
-
# Balancer or
|
3101
|
+
# Balancer, Network Load Balancer, or Gateway Load Balancer.
|
3138
3102
|
#
|
3139
3103
|
# If any of the specified attributes can't be modified as requested,
|
3140
3104
|
# the call fails. Any existing attributes that you do not modify retain
|
@@ -3315,8 +3279,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3315
3279
|
# an action, specify a list with the current actions plus the new
|
3316
3280
|
# action.
|
3317
3281
|
#
|
3318
|
-
# To modify the actions for the default rule, use ModifyListener.
|
3319
|
-
#
|
3320
3282
|
# @option params [required, String] :rule_arn
|
3321
3283
|
# The Amazon Resource Name (ARN) of the rule.
|
3322
3284
|
#
|
@@ -3545,16 +3507,15 @@ module Aws::ElasticLoadBalancingV2
|
|
3545
3507
|
# Modifies the health checks used when evaluating the health state of
|
3546
3508
|
# the targets in the specified target group.
|
3547
3509
|
#
|
3548
|
-
# To monitor the health of the targets, use DescribeTargetHealth.
|
3549
|
-
#
|
3550
3510
|
# @option params [required, String] :target_group_arn
|
3551
3511
|
# The Amazon Resource Name (ARN) of the target group.
|
3552
3512
|
#
|
3553
3513
|
# @option params [String] :health_check_protocol
|
3554
3514
|
# The protocol the load balancer uses when performing health checks on
|
3555
3515
|
# targets. The TCP protocol is supported for health checks only if the
|
3556
|
-
# protocol of the target group is TCP, TLS, UDP, or TCP\_UDP. The
|
3557
|
-
# UDP, and TCP\_UDP protocols are not supported for health
|
3516
|
+
# protocol of the target group is TCP, TLS, UDP, or TCP\_UDP. The
|
3517
|
+
# GENEVE, TLS, UDP, and TCP\_UDP protocols are not supported for health
|
3518
|
+
# checks.
|
3558
3519
|
#
|
3559
3520
|
# With Network Load Balancers, you can't modify this setting.
|
3560
3521
|
#
|
@@ -3577,9 +3538,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3577
3538
|
#
|
3578
3539
|
# @option params [Integer] :health_check_interval_seconds
|
3579
3540
|
# The approximate amount of time, in seconds, between health checks of
|
3580
|
-
# an individual target. For
|
3581
|
-
#
|
3582
|
-
# 30 seconds.
|
3541
|
+
# an individual target. For TCP health checks, the supported values are
|
3542
|
+
# 10 or 30 seconds.
|
3583
3543
|
#
|
3584
3544
|
# With Network Load Balancers, you can't modify this setting.
|
3585
3545
|
#
|
@@ -3650,7 +3610,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3650
3610
|
#
|
3651
3611
|
# resp = client.modify_target_group({
|
3652
3612
|
# target_group_arn: "TargetGroupArn", # required
|
3653
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
3613
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
3654
3614
|
# health_check_port: "HealthCheckPort",
|
3655
3615
|
# health_check_path: "Path",
|
3656
3616
|
# health_check_enabled: false,
|
@@ -3669,10 +3629,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3669
3629
|
# resp.target_groups #=> Array
|
3670
3630
|
# resp.target_groups[0].target_group_arn #=> String
|
3671
3631
|
# resp.target_groups[0].target_group_name #=> String
|
3672
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3632
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
3673
3633
|
# resp.target_groups[0].port #=> Integer
|
3674
3634
|
# resp.target_groups[0].vpc_id #=> String
|
3675
|
-
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3635
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
3676
3636
|
# resp.target_groups[0].health_check_port #=> String
|
3677
3637
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
3678
3638
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -3788,8 +3748,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3788
3748
|
# CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can
|
3789
3749
|
# register instances of these types by IP address.
|
3790
3750
|
#
|
3791
|
-
# To remove a target from a target group, use DeregisterTargets.
|
3792
|
-
#
|
3793
3751
|
# @option params [required, String] :target_group_arn
|
3794
3752
|
# The Amazon Resource Name (ARN) of the target group.
|
3795
3753
|
#
|
@@ -3859,12 +3817,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3859
3817
|
# Removes the specified certificate from the certificate list for the
|
3860
3818
|
# specified HTTPS or TLS listener.
|
3861
3819
|
#
|
3862
|
-
# You can't remove the default certificate for a listener. To replace
|
3863
|
-
# the default certificate, call ModifyListener.
|
3864
|
-
#
|
3865
|
-
# To list the certificates for your listener, use
|
3866
|
-
# DescribeListenerCertificates.
|
3867
|
-
#
|
3868
3820
|
# @option params [required, String] :listener_arn
|
3869
3821
|
# The Amazon Resource Name (ARN) of the listener.
|
3870
3822
|
#
|
@@ -3898,9 +3850,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3898
3850
|
|
3899
3851
|
# Removes the specified tags from the specified Elastic Load Balancing
|
3900
3852
|
# resources. You can remove the tags for one or more Application Load
|
3901
|
-
# Balancers, Network Load Balancers,
|
3902
|
-
#
|
3903
|
-
# To list the current tags for your resources, use DescribeTags.
|
3853
|
+
# Balancers, Network Load Balancers, Gateway Load Balancers, target
|
3854
|
+
# groups, listeners, or rules.
|
3904
3855
|
#
|
3905
3856
|
# @option params [required, Array<String>] :resource_arns
|
3906
3857
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -3950,8 +3901,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3950
3901
|
# @option params [required, String] :ip_address_type
|
3951
3902
|
# The IP address type. The possible values are `ipv4` (for IPv4
|
3952
3903
|
# addresses) and `dualstack` (for IPv4 and IPv6 addresses). Internal
|
3953
|
-
# load balancers must use `ipv4`.
|
3954
|
-
# `ipv4`.
|
3904
|
+
# load balancers must use `ipv4`.
|
3955
3905
|
#
|
3956
3906
|
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3957
3907
|
#
|
@@ -4118,7 +4068,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4118
4068
|
# Application Load Balancer. The specified security groups override the
|
4119
4069
|
# previously associated security groups.
|
4120
4070
|
#
|
4121
|
-
# You can't specify a security group for a Network Load Balancer
|
4071
|
+
# You can't specify a security group for a Network Load Balancer or
|
4072
|
+
# Gateway Load Balancer.
|
4122
4073
|
#
|
4123
4074
|
# @option params [required, String] :load_balancer_arn
|
4124
4075
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -4171,8 +4122,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4171
4122
|
end
|
4172
4123
|
|
4173
4124
|
# Enables the Availability Zones for the specified public subnets for
|
4174
|
-
# the specified
|
4175
|
-
# previously enabled subnets.
|
4125
|
+
# the specified Application Load Balancer or Network Load Balancer. The
|
4126
|
+
# specified subnets replace the previously enabled subnets.
|
4176
4127
|
#
|
4177
4128
|
# When you specify subnets for a Network Load Balancer, you must include
|
4178
4129
|
# all subnets that were enabled previously, with their existing
|
@@ -4278,7 +4229,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4278
4229
|
params: params,
|
4279
4230
|
config: config)
|
4280
4231
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4281
|
-
context[:gem_version] = '1.
|
4232
|
+
context[:gem_version] = '1.55.0'
|
4282
4233
|
Seahorse::Client::Request.new(handlers, context)
|
4283
4234
|
end
|
4284
4235
|
|