aws-sdk-elasticloadbalancingv2 1.54.0 → 1.59.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: 9e21e25cb5bd3e2ebaeb5e2a14b716bb94dbe4a4a40b98d6928924fa82f4f46e
|
4
|
+
data.tar.gz: 2a5f017f1eed991e54c1d736296aa7335d09395065c82076381bf36420a54343
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af6e49d7c0c0a77bcca4825e83900fe6cc2dac876151517a782f777aabef7bad0611bf44f32bc3c5406051a7dae83735d7876b94082c9c10e4e787f88b87e91
|
7
|
+
data.tar.gz: ca5abfa36f84e57d3134afeb0939633c708ba1337a46f6c27794d5a03fc5aed38458aa209761529a16189ec3d8238d2ebfef23448d82908dd73d16fdadcf4878
|
@@ -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,48 @@ 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.
|
443
|
+
#
|
444
|
+
# For more information, see the following:
|
445
|
+
#
|
446
|
+
# * [Listeners for your Application Load Balancers][1]
|
448
447
|
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
# using DeleteLoadBalancer.
|
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 can’t specify the UDP or TCP\_UDP protocol
|
470
|
+
# if dual-stack mode is enabled. You cannot specify a protocol for a
|
471
|
+
# Gateway Load Balancer.
|
476
472
|
#
|
477
|
-
# @option params [
|
478
|
-
# The port on which the load balancer is listening.
|
473
|
+
# @option params [Integer] :port
|
474
|
+
# The port on which the load balancer is listening. You cannot specify a
|
475
|
+
# port for a Gateway Load Balancer.
|
479
476
|
#
|
480
477
|
# @option params [String] :ssl_policy
|
481
478
|
# \[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`
|
479
|
+
# protocols and ciphers are supported.
|
488
480
|
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
# * `ELBSecurityPolicy-TLS-1-2-2017-01`
|
492
|
-
#
|
493
|
-
# * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
|
494
|
-
#
|
495
|
-
# * `ELBSecurityPolicy-FS-2018-06`
|
496
|
-
#
|
497
|
-
# * `ELBSecurityPolicy-FS-1-1-2019-08`
|
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
|
481
|
+
# For more information, see [Security policies][1] in the *Application
|
482
|
+
# Load Balancers Guide* and [Security policies][2] in the *Network Load
|
505
483
|
# Balancers Guide*.
|
506
484
|
#
|
507
485
|
#
|
@@ -514,9 +492,6 @@ module Aws::ElasticLoadBalancingV2
|
|
514
492
|
# You must provide exactly one certificate. Set `CertificateArn` to the
|
515
493
|
# certificate ARN but do not set `IsDefault`.
|
516
494
|
#
|
517
|
-
# To create a certificate list for the listener, use
|
518
|
-
# AddListenerCertificates.
|
519
|
-
#
|
520
495
|
# @option params [required, Array<Types::Action>] :default_actions
|
521
496
|
# The actions for the default rule.
|
522
497
|
#
|
@@ -535,7 +510,7 @@ module Aws::ElasticLoadBalancingV2
|
|
535
510
|
#
|
536
511
|
# * `None`
|
537
512
|
#
|
538
|
-
# For more information, see [ALPN
|
513
|
+
# For more information, see [ALPN policies][1] in the *Network Load
|
539
514
|
# Balancers Guide*.
|
540
515
|
#
|
541
516
|
#
|
@@ -638,8 +613,8 @@ module Aws::ElasticLoadBalancingV2
|
|
638
613
|
#
|
639
614
|
# resp = client.create_listener({
|
640
615
|
# load_balancer_arn: "LoadBalancerArn", # required
|
641
|
-
# protocol: "HTTP", #
|
642
|
-
# port: 1,
|
616
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
617
|
+
# port: 1,
|
643
618
|
# ssl_policy: "SslPolicyName",
|
644
619
|
# certificates: [
|
645
620
|
# {
|
@@ -722,7 +697,7 @@ module Aws::ElasticLoadBalancingV2
|
|
722
697
|
# resp.listeners[0].listener_arn #=> String
|
723
698
|
# resp.listeners[0].load_balancer_arn #=> String
|
724
699
|
# resp.listeners[0].port #=> Integer
|
725
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
700
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
726
701
|
# resp.listeners[0].certificates #=> Array
|
727
702
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
728
703
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -779,36 +754,26 @@ module Aws::ElasticLoadBalancingV2
|
|
779
754
|
req.send_request(options)
|
780
755
|
end
|
781
756
|
|
782
|
-
# Creates an Application Load Balancer
|
757
|
+
# Creates an Application Load Balancer, Network Load Balancer, or
|
758
|
+
# Gateway Load Balancer.
|
783
759
|
#
|
784
|
-
#
|
785
|
-
# public subnets, IP address type, and tags. Otherwise, you could do so
|
786
|
-
# later using SetSecurityGroups, SetSubnets, SetIpAddressType, and
|
787
|
-
# AddTags.
|
760
|
+
# For more information, see the following:
|
788
761
|
#
|
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.
|
762
|
+
# * [Application Load Balancers][1]
|
793
763
|
#
|
794
|
-
#
|
795
|
-
#
|
796
|
-
#
|
764
|
+
# * [Network Load Balancers][2]
|
765
|
+
#
|
766
|
+
# * [Gateway Load Balancers][3]
|
797
767
|
#
|
798
768
|
# This operation is idempotent, which means that it completes at most
|
799
769
|
# one time. If you attempt to create multiple load balancers with the
|
800
770
|
# same settings, each call succeeds.
|
801
771
|
#
|
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
772
|
#
|
806
773
|
#
|
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
|
774
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html
|
775
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html
|
776
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html
|
812
777
|
#
|
813
778
|
# @option params [required, String] :name
|
814
779
|
# The name of the load balancer.
|
@@ -834,6 +799,9 @@ module Aws::ElasticLoadBalancingV2
|
|
834
799
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
835
800
|
# Availability Zones.
|
836
801
|
#
|
802
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
803
|
+
# Availability Zones.
|
804
|
+
#
|
837
805
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
838
806
|
# The IDs of the public subnets. You can specify only one subnet per
|
839
807
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -852,7 +820,13 @@ module Aws::ElasticLoadBalancingV2
|
|
852
820
|
# Availability Zones. You can specify one Elastic IP address per subnet
|
853
821
|
# if you need static IP addresses for your internet-facing load
|
854
822
|
# balancer. For internal load balancers, you can specify one private IP
|
855
|
-
# address per subnet from the IPv4 range of the subnet.
|
823
|
+
# address per subnet from the IPv4 range of the subnet. For
|
824
|
+
# internet-facing load balancer, you can specify one IPv6 address per
|
825
|
+
# subnet.
|
826
|
+
#
|
827
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
828
|
+
# Availability Zones. You cannot specify Elastic IP addresses for your
|
829
|
+
# subnets.
|
856
830
|
#
|
857
831
|
# @option params [Array<String>] :security_groups
|
858
832
|
# \[Application Load Balancers\] The IDs of the security groups for the
|
@@ -873,6 +847,8 @@ module Aws::ElasticLoadBalancingV2
|
|
873
847
|
#
|
874
848
|
# The default is an Internet-facing load balancer.
|
875
849
|
#
|
850
|
+
# You cannot specify a scheme for a Gateway Load Balancer.
|
851
|
+
#
|
876
852
|
# @option params [Array<Types::Tag>] :tags
|
877
853
|
# The tags to assign to the load balancer.
|
878
854
|
#
|
@@ -880,10 +856,10 @@ module Aws::ElasticLoadBalancingV2
|
|
880
856
|
# The type of load balancer. The default is `application`.
|
881
857
|
#
|
882
858
|
# @option params [String] :ip_address_type
|
883
|
-
#
|
884
|
-
#
|
885
|
-
#
|
886
|
-
#
|
859
|
+
# The type of IP addresses used by the subnets for your load balancer.
|
860
|
+
# The possible values are `ipv4` (for IPv4 addresses) and `dualstack`
|
861
|
+
# (for IPv4 and IPv6 addresses). Internal load balancers must use
|
862
|
+
# `ipv4`.
|
887
863
|
#
|
888
864
|
# @option params [String] :customer_owned_ipv_4_pool
|
889
865
|
# \[Application Load Balancers on Outposts\] The ID of the
|
@@ -995,6 +971,7 @@ module Aws::ElasticLoadBalancingV2
|
|
995
971
|
# subnet_id: "SubnetId",
|
996
972
|
# allocation_id: "AllocationId",
|
997
973
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
974
|
+
# i_pv_6_address: "IPv6Address",
|
998
975
|
# },
|
999
976
|
# ],
|
1000
977
|
# security_groups: ["SecurityGroupId"],
|
@@ -1005,7 +982,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1005
982
|
# value: "TagValue",
|
1006
983
|
# },
|
1007
984
|
# ],
|
1008
|
-
# type: "application", # accepts application, network
|
985
|
+
# type: "application", # accepts application, network, gateway
|
1009
986
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
1010
987
|
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
|
1011
988
|
# })
|
@@ -1022,7 +999,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1022
999
|
# resp.load_balancers[0].vpc_id #=> String
|
1023
1000
|
# resp.load_balancers[0].state.code #=> String, one of "active", "provisioning", "active_impaired", "failed"
|
1024
1001
|
# resp.load_balancers[0].state.reason #=> String
|
1025
|
-
# resp.load_balancers[0].type #=> String, one of "application", "network"
|
1002
|
+
# resp.load_balancers[0].type #=> String, one of "application", "network", "gateway"
|
1026
1003
|
# resp.load_balancers[0].availability_zones #=> Array
|
1027
1004
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
1028
1005
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
@@ -1031,6 +1008,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1031
1008
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
1032
1009
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
1033
1010
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
|
1011
|
+
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
|
1034
1012
|
# resp.load_balancers[0].security_groups #=> Array
|
1035
1013
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1036
1014
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -1053,11 +1031,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1053
1031
|
# value to the highest value. When the conditions for a rule are met,
|
1054
1032
|
# its actions are performed. If the conditions for no rules are met, the
|
1055
1033
|
# 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.
|
1034
|
+
# [Listener rules][1] in the *Application Load Balancers Guide*.
|
1061
1035
|
#
|
1062
1036
|
#
|
1063
1037
|
#
|
@@ -1312,29 +1286,23 @@ module Aws::ElasticLoadBalancingV2
|
|
1312
1286
|
|
1313
1287
|
# Creates a target group.
|
1314
1288
|
#
|
1315
|
-
#
|
1316
|
-
#
|
1317
|
-
#
|
1318
|
-
# group, use DescribeTargetHealth.
|
1289
|
+
# For more information, see the following:
|
1290
|
+
#
|
1291
|
+
# * [Target groups for your Application Load Balancers][1]
|
1319
1292
|
#
|
1320
|
-
#
|
1321
|
-
# group in an action using CreateListener or CreateRule.
|
1293
|
+
# * [Target groups for your Network Load Balancers][2]
|
1322
1294
|
#
|
1323
|
-
#
|
1295
|
+
# * [Target groups for your Gateway Load Balancers][3]
|
1324
1296
|
#
|
1325
1297
|
# This operation is idempotent, which means that it completes at most
|
1326
1298
|
# one time. If you attempt to create multiple target groups with the
|
1327
1299
|
# same settings, each call succeeds.
|
1328
1300
|
#
|
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
1301
|
#
|
1335
1302
|
#
|
1336
1303
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
|
1337
1304
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html
|
1305
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html
|
1338
1306
|
#
|
1339
1307
|
# @option params [required, String] :name
|
1340
1308
|
# The name of the target group.
|
@@ -1347,7 +1315,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1347
1315
|
# The protocol to use for routing traffic to the targets. For
|
1348
1316
|
# Application Load Balancers, the supported protocols are HTTP and
|
1349
1317
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
1350
|
-
# TLS, UDP, or TCP\_UDP.
|
1318
|
+
# TLS, UDP, or TCP\_UDP. For Gateway Load Balancers, the supported
|
1319
|
+
# protocol is GENEVE. A TCP\_UDP listener must be associated with a
|
1351
1320
|
# TCP\_UDP target group. If the target is a Lambda function, this
|
1352
1321
|
# parameter does not apply.
|
1353
1322
|
#
|
@@ -1360,7 +1329,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1360
1329
|
# @option params [Integer] :port
|
1361
1330
|
# The port on which the targets receive traffic. This port is used
|
1362
1331
|
# unless you specify a port override when registering the target. If the
|
1363
|
-
# target is a Lambda function, this parameter does not apply.
|
1332
|
+
# target is a Lambda function, this parameter does not apply. If the
|
1333
|
+
# protocol is GENEVE, the supported port is 6081.
|
1364
1334
|
#
|
1365
1335
|
# @option params [String] :vpc_id
|
1366
1336
|
# The identifier of the virtual private cloud (VPC). If the target is a
|
@@ -1370,15 +1340,17 @@ module Aws::ElasticLoadBalancingV2
|
|
1370
1340
|
# @option params [String] :health_check_protocol
|
1371
1341
|
# The protocol the load balancer uses when performing health checks on
|
1372
1342
|
# 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.
|
1343
|
+
# Network Load Balancers and Gateway Load Balancers, the default is TCP.
|
1344
|
+
# The TCP protocol is not supported for health checks if the protocol of
|
1345
|
+
# the target group is HTTP or HTTPS. The GENEVE, TLS, UDP, and TCP\_UDP
|
1346
|
+
# protocols are not supported for health checks.
|
1377
1347
|
#
|
1378
1348
|
# @option params [String] :health_check_port
|
1379
1349
|
# The port the load balancer uses when performing health checks on
|
1380
|
-
# targets.
|
1381
|
-
#
|
1350
|
+
# targets. If the protocol is HTTP, HTTPS, TCP, TLS, UDP, or TCP\_UDP,
|
1351
|
+
# the default is `traffic-port`, which is the port on which each target
|
1352
|
+
# receives traffic from the load balancer. If the protocol is GENEVE,
|
1353
|
+
# the default is port 80.
|
1382
1354
|
#
|
1383
1355
|
# @option params [Boolean] :health_check_enabled
|
1384
1356
|
# Indicates whether health checks are enabled. If the target type is
|
@@ -1398,32 +1370,34 @@ module Aws::ElasticLoadBalancingV2
|
|
1398
1370
|
#
|
1399
1371
|
# @option params [Integer] :health_check_interval_seconds
|
1400
1372
|
# The approximate amount of time, in seconds, between health checks of
|
1401
|
-
# an individual target.
|
1402
|
-
#
|
1403
|
-
#
|
1404
|
-
#
|
1373
|
+
# an individual target. If the target group protocol is TCP, TLS, UDP,
|
1374
|
+
# or TCP\_UDP, the supported values are 10 and 30 seconds. If the target
|
1375
|
+
# group protocol is HTTP or HTTPS, the default is 30 seconds. If the
|
1376
|
+
# target group protocol is GENEVE, the default is 10 seconds. If the
|
1377
|
+
# target type is `lambda`, the default is 35 seconds.
|
1405
1378
|
#
|
1406
1379
|
# @option params [Integer] :health_check_timeout_seconds
|
1407
1380
|
# 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.
|
1381
|
+
# means a failed health check. For target groups with a protocol of
|
1382
|
+
# HTTP, HTTPS, or GENEVE, the default is 5 seconds. For target groups
|
1383
|
+
# with a protocol of TCP or TLS, this value must be 6 seconds for HTTP
|
1384
|
+
# health checks and 10 seconds for TCP and HTTPS health checks. If the
|
1385
|
+
# target type is `lambda`, the default is 30 seconds.
|
1413
1386
|
#
|
1414
1387
|
# @option params [Integer] :healthy_threshold_count
|
1415
1388
|
# The number of consecutive health checks successes required before
|
1416
1389
|
# considering an unhealthy target healthy. For target groups with a
|
1417
1390
|
# 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.
|
1391
|
+
# protocol of TCP, TLS, or GENEVE, the default is 3. If the target type
|
1392
|
+
# is `lambda`, the default is 5.
|
1420
1393
|
#
|
1421
1394
|
# @option params [Integer] :unhealthy_threshold_count
|
1422
1395
|
# The number of consecutive health check failures required before
|
1423
|
-
# considering a target unhealthy.
|
1424
|
-
#
|
1425
|
-
#
|
1426
|
-
#
|
1396
|
+
# considering a target unhealthy. If the target group protocol is HTTP
|
1397
|
+
# or HTTPS, the default is 2. If the target group protocol is TCP or
|
1398
|
+
# TLS, this value must be the same as the healthy threshold count. If
|
1399
|
+
# the target group protocol is GENEVE, the default is 3. If the target
|
1400
|
+
# type is `lambda`, the default is 2.
|
1427
1401
|
#
|
1428
1402
|
# @option params [Types::Matcher] :matcher
|
1429
1403
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
@@ -1434,16 +1408,16 @@ module Aws::ElasticLoadBalancingV2
|
|
1434
1408
|
# this target group. You can't specify targets for a target group using
|
1435
1409
|
# more than one target type.
|
1436
1410
|
#
|
1437
|
-
# * `instance` -
|
1438
|
-
#
|
1411
|
+
# * `instance` - Register targets by instance ID. This is the default
|
1412
|
+
# value.
|
1439
1413
|
#
|
1440
|
-
# * `ip` -
|
1441
|
-
#
|
1442
|
-
#
|
1414
|
+
# * `ip` - Register targets by IP address. You can specify IP addresses
|
1415
|
+
# from the subnets of the virtual private cloud (VPC) for the target
|
1416
|
+
# group, the RFC 1918 range (10.0.0.0/8, 172.16.0.0/12, and
|
1443
1417
|
# 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't
|
1444
1418
|
# specify publicly routable IP addresses.
|
1445
1419
|
#
|
1446
|
-
# * `lambda` -
|
1420
|
+
# * `lambda` - Register a single Lambda function as a target.
|
1447
1421
|
#
|
1448
1422
|
# @option params [Array<Types::Tag>] :tags
|
1449
1423
|
# The tags to assign to the target group.
|
@@ -1492,11 +1466,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1492
1466
|
#
|
1493
1467
|
# resp = client.create_target_group({
|
1494
1468
|
# name: "TargetGroupName", # required
|
1495
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1469
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1496
1470
|
# protocol_version: "ProtocolVersion",
|
1497
1471
|
# port: 1,
|
1498
1472
|
# vpc_id: "VpcId",
|
1499
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1473
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1500
1474
|
# health_check_port: "HealthCheckPort",
|
1501
1475
|
# health_check_enabled: false,
|
1502
1476
|
# health_check_path: "Path",
|
@@ -1522,10 +1496,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1522
1496
|
# resp.target_groups #=> Array
|
1523
1497
|
# resp.target_groups[0].target_group_arn #=> String
|
1524
1498
|
# resp.target_groups[0].target_group_name #=> String
|
1525
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1499
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
1526
1500
|
# resp.target_groups[0].port #=> Integer
|
1527
1501
|
# 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"
|
1502
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
1529
1503
|
# resp.target_groups[0].health_check_port #=> String
|
1530
1504
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
1531
1505
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -1552,7 +1526,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1552
1526
|
# Deletes the specified listener.
|
1553
1527
|
#
|
1554
1528
|
# Alternatively, your listener is deleted when you delete the load
|
1555
|
-
# balancer to which it is attached
|
1529
|
+
# balancer to which it is attached.
|
1556
1530
|
#
|
1557
1531
|
# @option params [required, String] :listener_arn
|
1558
1532
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -1583,8 +1557,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1583
1557
|
req.send_request(options)
|
1584
1558
|
end
|
1585
1559
|
|
1586
|
-
# Deletes the specified Application Load Balancer
|
1587
|
-
# Balancer
|
1560
|
+
# Deletes the specified Application Load Balancer, Network Load
|
1561
|
+
# Balancer, or Gateway Load Balancer. Deleting a load balancer also
|
1562
|
+
# deletes its listeners.
|
1588
1563
|
#
|
1589
1564
|
# You can't delete a load balancer if deletion protection is enabled.
|
1590
1565
|
# If the load balancer does not exist or has already been deleted, the
|
@@ -1661,6 +1636,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1661
1636
|
#
|
1662
1637
|
# You can delete a target group if it is not referenced by any actions.
|
1663
1638
|
# Deleting a target group also deletes any associated health checks.
|
1639
|
+
# Deleting a target group does not affect its registered targets. For
|
1640
|
+
# example, any EC2 instances continue to run until you stop or terminate
|
1641
|
+
# them.
|
1664
1642
|
#
|
1665
1643
|
# @option params [required, String] :target_group_arn
|
1666
1644
|
# The Amazon Resource Name (ARN) of the target group.
|
@@ -1744,14 +1722,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1744
1722
|
# Describes the current Elastic Load Balancing resource limits for your
|
1745
1723
|
# AWS account.
|
1746
1724
|
#
|
1747
|
-
# For more information, see
|
1748
|
-
#
|
1749
|
-
#
|
1725
|
+
# For more information, see the following:
|
1726
|
+
#
|
1727
|
+
# * [Quotas for your Application Load Balancers][1]
|
1728
|
+
#
|
1729
|
+
# * [Quotas for your Network Load Balancers][2]
|
1730
|
+
#
|
1731
|
+
# * [Quotas for your Gateway Load Balancers][3]
|
1750
1732
|
#
|
1751
1733
|
#
|
1752
1734
|
#
|
1753
1735
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
|
1754
1736
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html
|
1737
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html
|
1755
1738
|
#
|
1756
1739
|
# @option params [String] :marker
|
1757
1740
|
# The marker for the next set of results. (You received this marker from
|
@@ -1795,12 +1778,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1795
1778
|
# twice in the results (once with `IsDefault` set to true and once with
|
1796
1779
|
# `IsDefault` set to false).
|
1797
1780
|
#
|
1798
|
-
# For more information, see [SSL
|
1799
|
-
# Load Balancers Guide
|
1781
|
+
# For more information, see [SSL certificates][1] in the *Application
|
1782
|
+
# Load Balancers Guide* or [Server certificates][2] in the *Network Load
|
1783
|
+
# Balancers Guide*.
|
1800
1784
|
#
|
1801
1785
|
#
|
1802
1786
|
#
|
1803
1787
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates
|
1788
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate
|
1804
1789
|
#
|
1805
1790
|
# @option params [required, String] :listener_arn
|
1806
1791
|
# The Amazon Resource Names (ARN) of the listener.
|
@@ -1842,12 +1827,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1842
1827
|
end
|
1843
1828
|
|
1844
1829
|
# 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.
|
1830
|
+
# Application Load Balancer, Network Load Balancer, or Gateway Load
|
1831
|
+
# Balancer. You must specify either a load balancer or one or more
|
1832
|
+
# listeners.
|
1851
1833
|
#
|
1852
1834
|
# @option params [String] :load_balancer_arn
|
1853
1835
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -1913,7 +1895,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1913
1895
|
# resp.listeners[0].listener_arn #=> String
|
1914
1896
|
# resp.listeners[0].load_balancer_arn #=> String
|
1915
1897
|
# resp.listeners[0].port #=> Integer
|
1916
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
1898
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
1917
1899
|
# resp.listeners[0].certificates #=> Array
|
1918
1900
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
1919
1901
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -1971,17 +1953,23 @@ module Aws::ElasticLoadBalancingV2
|
|
1971
1953
|
req.send_request(options)
|
1972
1954
|
end
|
1973
1955
|
|
1974
|
-
# Describes the attributes for the specified Application Load Balancer
|
1975
|
-
# or
|
1956
|
+
# Describes the attributes for the specified Application Load Balancer,
|
1957
|
+
# Network Load Balancer, or Gateway Load Balancer.
|
1958
|
+
#
|
1959
|
+
# For more information, see the following:
|
1976
1960
|
#
|
1977
|
-
#
|
1978
|
-
#
|
1979
|
-
#
|
1961
|
+
# * [Load balancer attributes][1] in the *Application Load Balancers
|
1962
|
+
# Guide*
|
1963
|
+
#
|
1964
|
+
# * [Load balancer attributes][2] in the *Network Load Balancers Guide*
|
1965
|
+
#
|
1966
|
+
# * [Load balancer attributes][3] in the *Gateway Load Balancers Guide*
|
1980
1967
|
#
|
1981
1968
|
#
|
1982
1969
|
#
|
1983
1970
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes
|
1984
1971
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes
|
1972
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes
|
1985
1973
|
#
|
1986
1974
|
# @option params [required, String] :load_balancer_arn
|
1987
1975
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -2048,10 +2036,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2048
2036
|
|
2049
2037
|
# Describes the specified load balancers or all of your load balancers.
|
2050
2038
|
#
|
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
2039
|
# @option params [Array<String>] :load_balancer_arns
|
2056
2040
|
# The Amazon Resource Names (ARN) of the load balancers. You can specify
|
2057
2041
|
# up to 20 load balancers in a single call.
|
@@ -2137,7 +2121,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2137
2121
|
# resp.load_balancers[0].vpc_id #=> String
|
2138
2122
|
# resp.load_balancers[0].state.code #=> String, one of "active", "provisioning", "active_impaired", "failed"
|
2139
2123
|
# resp.load_balancers[0].state.reason #=> String
|
2140
|
-
# resp.load_balancers[0].type #=> String, one of "application", "network"
|
2124
|
+
# resp.load_balancers[0].type #=> String, one of "application", "network", "gateway"
|
2141
2125
|
# resp.load_balancers[0].availability_zones #=> Array
|
2142
2126
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
2143
2127
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
@@ -2146,6 +2130,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2146
2130
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
2147
2131
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
2148
2132
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
|
2133
|
+
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
|
2149
2134
|
# resp.load_balancers[0].security_groups #=> Array
|
2150
2135
|
# resp.load_balancers[0].security_groups[0] #=> String
|
2151
2136
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -2312,12 +2297,14 @@ module Aws::ElasticLoadBalancingV2
|
|
2312
2297
|
# Describes the specified policies or all policies used for SSL
|
2313
2298
|
# negotiation.
|
2314
2299
|
#
|
2315
|
-
# For more information, see [Security
|
2316
|
-
# Load Balancers Guide
|
2300
|
+
# For more information, see [Security policies][1] in the *Application
|
2301
|
+
# Load Balancers Guide* or [Security policies][2] in the *Network Load
|
2302
|
+
# Balancers Guide*.
|
2317
2303
|
#
|
2318
2304
|
#
|
2319
2305
|
#
|
2320
2306
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies
|
2307
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies
|
2321
2308
|
#
|
2322
2309
|
# @option params [Array<String>] :names
|
2323
2310
|
# The names of the policies.
|
@@ -2467,7 +2454,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2467
2454
|
|
2468
2455
|
# Describes the tags for the specified Elastic Load Balancing resources.
|
2469
2456
|
# You can describe the tags for one or more Application Load Balancers,
|
2470
|
-
# Network Load Balancers,
|
2457
|
+
# Network Load Balancers, Gateway Load Balancers, target groups,
|
2458
|
+
# listeners, or rules.
|
2471
2459
|
#
|
2472
2460
|
# @option params [required, Array<String>] :resource_arns
|
2473
2461
|
# The Amazon Resource Names (ARN) of the resources. You can specify up
|
@@ -2532,14 +2520,20 @@ module Aws::ElasticLoadBalancingV2
|
|
2532
2520
|
|
2533
2521
|
# Describes the attributes for the specified target group.
|
2534
2522
|
#
|
2535
|
-
# For more information, see
|
2536
|
-
#
|
2537
|
-
# the *
|
2523
|
+
# For more information, see the following:
|
2524
|
+
#
|
2525
|
+
# * [Target group attributes][1] in the *Application Load Balancers
|
2526
|
+
# Guide*
|
2527
|
+
#
|
2528
|
+
# * [Target group attributes][2] in the *Network Load Balancers Guide*
|
2529
|
+
#
|
2530
|
+
# * [Target group attributes][3] in the *Gateway Load Balancers Guide*
|
2538
2531
|
#
|
2539
2532
|
#
|
2540
2533
|
#
|
2541
2534
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes
|
2542
2535
|
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes
|
2536
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes
|
2543
2537
|
#
|
2544
2538
|
# @option params [required, String] :target_group_arn
|
2545
2539
|
# The Amazon Resource Name (ARN) of the target group.
|
@@ -2606,10 +2600,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2606
2600
|
# load balancer, the names of one or more target groups, or the ARNs of
|
2607
2601
|
# one or more target groups.
|
2608
2602
|
#
|
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
2603
|
# @option params [String] :load_balancer_arn
|
2614
2604
|
# The Amazon Resource Name (ARN) of the load balancer.
|
2615
2605
|
#
|
@@ -2685,10 +2675,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2685
2675
|
# resp.target_groups #=> Array
|
2686
2676
|
# resp.target_groups[0].target_group_arn #=> String
|
2687
2677
|
# resp.target_groups[0].target_group_name #=> String
|
2688
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
2678
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
2689
2679
|
# resp.target_groups[0].port #=> Integer
|
2690
2680
|
# 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"
|
2681
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
2692
2682
|
# resp.target_groups[0].health_check_port #=> String
|
2693
2683
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
2694
2684
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -2848,39 +2838,23 @@ module Aws::ElasticLoadBalancingV2
|
|
2848
2838
|
# The Amazon Resource Name (ARN) of the listener.
|
2849
2839
|
#
|
2850
2840
|
# @option params [Integer] :port
|
2851
|
-
# The port for connections from clients to the load balancer.
|
2841
|
+
# The port for connections from clients to the load balancer. You cannot
|
2842
|
+
# specify a port for a Gateway Load Balancer.
|
2852
2843
|
#
|
2853
2844
|
# @option params [String] :protocol
|
2854
2845
|
# The protocol for connections from clients to the load balancer.
|
2855
2846
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2856
2847
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2857
|
-
# protocols.
|
2848
|
+
# protocols. You can’t change the protocol to UDP or TCP\_UDP if
|
2849
|
+
# dual-stack mode is enabled. You cannot specify a protocol for a
|
2850
|
+
# Gateway Load Balancer.
|
2858
2851
|
#
|
2859
2852
|
# @option params [String] :ssl_policy
|
2860
2853
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
2861
|
-
# protocols and ciphers are supported.
|
2862
|
-
# values:
|
2863
|
-
#
|
2864
|
-
# * `ELBSecurityPolicy-2016-08`
|
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`
|
2854
|
+
# protocols and ciphers are supported.
|
2881
2855
|
#
|
2882
|
-
# For more information, see [Security
|
2883
|
-
# Load Balancers Guide*
|
2856
|
+
# For more information, see [Security policies][1] in the *Application
|
2857
|
+
# Load Balancers Guide* or [Security policies][2] in the *Network Load
|
2884
2858
|
# Balancers Guide*.
|
2885
2859
|
#
|
2886
2860
|
#
|
@@ -2893,8 +2867,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2893
2867
|
# You must provide exactly one certificate. Set `CertificateArn` to the
|
2894
2868
|
# certificate ARN but do not set `IsDefault`.
|
2895
2869
|
#
|
2896
|
-
# To create a certificate list, use AddListenerCertificates.
|
2897
|
-
#
|
2898
2870
|
# @option params [Array<Types::Action>] :default_actions
|
2899
2871
|
# The actions for the default rule.
|
2900
2872
|
#
|
@@ -2913,7 +2885,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2913
2885
|
#
|
2914
2886
|
# * `None`
|
2915
2887
|
#
|
2916
|
-
# For more information, see [ALPN
|
2888
|
+
# For more information, see [ALPN policies][1] in the *Network Load
|
2917
2889
|
# Balancers Guide*.
|
2918
2890
|
#
|
2919
2891
|
#
|
@@ -2999,7 +2971,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2999
2971
|
# resp = client.modify_listener({
|
3000
2972
|
# listener_arn: "ListenerArn", # required
|
3001
2973
|
# port: 1,
|
3002
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
2974
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
3003
2975
|
# ssl_policy: "SslPolicyName",
|
3004
2976
|
# certificates: [
|
3005
2977
|
# {
|
@@ -3076,7 +3048,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3076
3048
|
# resp.listeners[0].listener_arn #=> String
|
3077
3049
|
# resp.listeners[0].load_balancer_arn #=> String
|
3078
3050
|
# resp.listeners[0].port #=> Integer
|
3079
|
-
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3051
|
+
# resp.listeners[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
3080
3052
|
# resp.listeners[0].certificates #=> Array
|
3081
3053
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
3082
3054
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -3134,7 +3106,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3134
3106
|
end
|
3135
3107
|
|
3136
3108
|
# Modifies the specified attributes of the specified Application Load
|
3137
|
-
# Balancer or
|
3109
|
+
# Balancer, Network Load Balancer, or Gateway Load Balancer.
|
3138
3110
|
#
|
3139
3111
|
# If any of the specified attributes can't be modified as requested,
|
3140
3112
|
# the call fails. Any existing attributes that you do not modify retain
|
@@ -3315,8 +3287,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3315
3287
|
# an action, specify a list with the current actions plus the new
|
3316
3288
|
# action.
|
3317
3289
|
#
|
3318
|
-
# To modify the actions for the default rule, use ModifyListener.
|
3319
|
-
#
|
3320
3290
|
# @option params [required, String] :rule_arn
|
3321
3291
|
# The Amazon Resource Name (ARN) of the rule.
|
3322
3292
|
#
|
@@ -3545,16 +3515,15 @@ module Aws::ElasticLoadBalancingV2
|
|
3545
3515
|
# Modifies the health checks used when evaluating the health state of
|
3546
3516
|
# the targets in the specified target group.
|
3547
3517
|
#
|
3548
|
-
# To monitor the health of the targets, use DescribeTargetHealth.
|
3549
|
-
#
|
3550
3518
|
# @option params [required, String] :target_group_arn
|
3551
3519
|
# The Amazon Resource Name (ARN) of the target group.
|
3552
3520
|
#
|
3553
3521
|
# @option params [String] :health_check_protocol
|
3554
3522
|
# The protocol the load balancer uses when performing health checks on
|
3555
3523
|
# 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
|
3524
|
+
# protocol of the target group is TCP, TLS, UDP, or TCP\_UDP. The
|
3525
|
+
# GENEVE, TLS, UDP, and TCP\_UDP protocols are not supported for health
|
3526
|
+
# checks.
|
3558
3527
|
#
|
3559
3528
|
# With Network Load Balancers, you can't modify this setting.
|
3560
3529
|
#
|
@@ -3577,9 +3546,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3577
3546
|
#
|
3578
3547
|
# @option params [Integer] :health_check_interval_seconds
|
3579
3548
|
# The approximate amount of time, in seconds, between health checks of
|
3580
|
-
# an individual target. For
|
3581
|
-
#
|
3582
|
-
# 30 seconds.
|
3549
|
+
# an individual target. For TCP health checks, the supported values are
|
3550
|
+
# 10 or 30 seconds.
|
3583
3551
|
#
|
3584
3552
|
# With Network Load Balancers, you can't modify this setting.
|
3585
3553
|
#
|
@@ -3650,7 +3618,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3650
3618
|
#
|
3651
3619
|
# resp = client.modify_target_group({
|
3652
3620
|
# target_group_arn: "TargetGroupArn", # required
|
3653
|
-
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
3621
|
+
# health_check_protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
3654
3622
|
# health_check_port: "HealthCheckPort",
|
3655
3623
|
# health_check_path: "Path",
|
3656
3624
|
# health_check_enabled: false,
|
@@ -3669,10 +3637,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3669
3637
|
# resp.target_groups #=> Array
|
3670
3638
|
# resp.target_groups[0].target_group_arn #=> String
|
3671
3639
|
# resp.target_groups[0].target_group_name #=> String
|
3672
|
-
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP"
|
3640
|
+
# resp.target_groups[0].protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
3673
3641
|
# resp.target_groups[0].port #=> Integer
|
3674
3642
|
# 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"
|
3643
|
+
# resp.target_groups[0].health_check_protocol #=> String, one of "HTTP", "HTTPS", "TCP", "TLS", "UDP", "TCP_UDP", "GENEVE"
|
3676
3644
|
# resp.target_groups[0].health_check_port #=> String
|
3677
3645
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
3678
3646
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -3788,8 +3756,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3788
3756
|
# CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can
|
3789
3757
|
# register instances of these types by IP address.
|
3790
3758
|
#
|
3791
|
-
# To remove a target from a target group, use DeregisterTargets.
|
3792
|
-
#
|
3793
3759
|
# @option params [required, String] :target_group_arn
|
3794
3760
|
# The Amazon Resource Name (ARN) of the target group.
|
3795
3761
|
#
|
@@ -3859,12 +3825,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3859
3825
|
# Removes the specified certificate from the certificate list for the
|
3860
3826
|
# specified HTTPS or TLS listener.
|
3861
3827
|
#
|
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
3828
|
# @option params [required, String] :listener_arn
|
3869
3829
|
# The Amazon Resource Name (ARN) of the listener.
|
3870
3830
|
#
|
@@ -3898,9 +3858,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3898
3858
|
|
3899
3859
|
# Removes the specified tags from the specified Elastic Load Balancing
|
3900
3860
|
# 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.
|
3861
|
+
# Balancers, Network Load Balancers, Gateway Load Balancers, target
|
3862
|
+
# groups, listeners, or rules.
|
3904
3863
|
#
|
3905
3864
|
# @option params [required, Array<String>] :resource_arns
|
3906
3865
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -3950,8 +3909,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3950
3909
|
# @option params [required, String] :ip_address_type
|
3951
3910
|
# The IP address type. The possible values are `ipv4` (for IPv4
|
3952
3911
|
# addresses) and `dualstack` (for IPv4 and IPv6 addresses). Internal
|
3953
|
-
# load balancers must use `ipv4`.
|
3954
|
-
#
|
3912
|
+
# load balancers must use `ipv4`. You can’t specify `dualstack` for a
|
3913
|
+
# load balancer with a UDP or TCP\_UDP listener.
|
3955
3914
|
#
|
3956
3915
|
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3957
3916
|
#
|
@@ -4118,7 +4077,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4118
4077
|
# Application Load Balancer. The specified security groups override the
|
4119
4078
|
# previously associated security groups.
|
4120
4079
|
#
|
4121
|
-
# You can't specify a security group for a Network Load Balancer
|
4080
|
+
# You can't specify a security group for a Network Load Balancer or
|
4081
|
+
# Gateway Load Balancer.
|
4122
4082
|
#
|
4123
4083
|
# @option params [required, String] :load_balancer_arn
|
4124
4084
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -4171,8 +4131,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4171
4131
|
end
|
4172
4132
|
|
4173
4133
|
# Enables the Availability Zones for the specified public subnets for
|
4174
|
-
# the specified
|
4175
|
-
# previously enabled subnets.
|
4134
|
+
# the specified Application Load Balancer or Network Load Balancer. The
|
4135
|
+
# specified subnets replace the previously enabled subnets.
|
4176
4136
|
#
|
4177
4137
|
# When you specify subnets for a Network Load Balancer, you must include
|
4178
4138
|
# all subnets that were enabled previously, with their existing
|
@@ -4182,10 +4142,21 @@ module Aws::ElasticLoadBalancingV2
|
|
4182
4142
|
# The Amazon Resource Name (ARN) of the load balancer.
|
4183
4143
|
#
|
4184
4144
|
# @option params [Array<String>] :subnets
|
4185
|
-
# The IDs of the public subnets. You
|
4186
|
-
# two Availability Zones. You can specify only one subnet per
|
4145
|
+
# The IDs of the public subnets. You can specify only one subnet per
|
4187
4146
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
4188
4147
|
#
|
4148
|
+
# \[Application Load Balancers\] You must specify subnets from at least
|
4149
|
+
# two Availability Zones.
|
4150
|
+
#
|
4151
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
4152
|
+
# Outpost subnet.
|
4153
|
+
#
|
4154
|
+
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
4155
|
+
# from one or more Local Zones.
|
4156
|
+
#
|
4157
|
+
# \[Network Load Balancers\] You can specify subnets from one or more
|
4158
|
+
# Availability Zones.
|
4159
|
+
#
|
4189
4160
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
4190
4161
|
# The IDs of the public subnets. You can specify only one subnet per
|
4191
4162
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -4194,15 +4165,31 @@ module Aws::ElasticLoadBalancingV2
|
|
4194
4165
|
# two Availability Zones. You cannot specify Elastic IP addresses for
|
4195
4166
|
# your subnets.
|
4196
4167
|
#
|
4168
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
4169
|
+
# Outpost subnet.
|
4170
|
+
#
|
4171
|
+
# \[Application Load Balancers on Local Zones\] You can specify subnets
|
4172
|
+
# from one or more Local Zones.
|
4173
|
+
#
|
4197
4174
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
4198
|
-
# Availability Zones.
|
4199
|
-
#
|
4200
|
-
#
|
4201
|
-
#
|
4175
|
+
# Availability Zones. You can specify one Elastic IP address per subnet
|
4176
|
+
# if you need static IP addresses for your internet-facing load
|
4177
|
+
# balancer. For internal load balancers, you can specify one private IP
|
4178
|
+
# address per subnet from the IPv4 range of the subnet. For
|
4179
|
+
# internet-facing load balancer, you can specify one IPv6 address per
|
4180
|
+
# subnet.
|
4181
|
+
#
|
4182
|
+
# @option params [String] :ip_address_type
|
4183
|
+
# \[Network Load Balancers\] The type of IP addresses used by the
|
4184
|
+
# subnets for your load balancer. The possible values are `ipv4` (for
|
4185
|
+
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
|
4186
|
+
# can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
|
4187
|
+
# listener. Internal load balancers must use `ipv4`.
|
4202
4188
|
#
|
4203
4189
|
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4204
4190
|
#
|
4205
4191
|
# * {Types::SetSubnetsOutput#availability_zones #availability_zones} => Array<Types::AvailabilityZone>
|
4192
|
+
# * {Types::SetSubnetsOutput#ip_address_type #ip_address_type} => String
|
4206
4193
|
#
|
4207
4194
|
#
|
4208
4195
|
# @example Example: To enable Availability Zones for a load balancer
|
@@ -4241,8 +4228,10 @@ module Aws::ElasticLoadBalancingV2
|
|
4241
4228
|
# subnet_id: "SubnetId",
|
4242
4229
|
# allocation_id: "AllocationId",
|
4243
4230
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
4231
|
+
# i_pv_6_address: "IPv6Address",
|
4244
4232
|
# },
|
4245
4233
|
# ],
|
4234
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
4246
4235
|
# })
|
4247
4236
|
#
|
4248
4237
|
# @example Response structure
|
@@ -4255,6 +4244,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4255
4244
|
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
4256
4245
|
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
4257
4246
|
# resp.availability_zones[0].load_balancer_addresses[0].private_i_pv_4_address #=> String
|
4247
|
+
# resp.availability_zones[0].load_balancer_addresses[0].i_pv_6_address #=> String
|
4248
|
+
# resp.ip_address_type #=> String, one of "ipv4", "dualstack"
|
4258
4249
|
#
|
4259
4250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
|
4260
4251
|
#
|
@@ -4278,7 +4269,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4278
4269
|
params: params,
|
4279
4270
|
config: config)
|
4280
4271
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4281
|
-
context[:gem_version] = '1.
|
4272
|
+
context[:gem_version] = '1.59.0'
|
4282
4273
|
Seahorse::Client::Request.new(handlers, context)
|
4283
4274
|
end
|
4284
4275
|
|