aws-sdk-elasticloadbalancingv2 1.53.0 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48da78699a9637b0f13deb17affa60b23bcc97261e30f9f0b8ced47b2a931dc6
|
4
|
+
data.tar.gz: 2d4b45da0b27532cf094eaac27a581ede39f40f464ada3afa5f20327ff00c32b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3901a1441a5e4a10da51192a854fc0f4be60ec1fd8331d136dd842422612d26aad91f00fbe167e1fce78ed804567ec8816fafd941f4d436195f4612f57487a90
|
7
|
+
data.tar.gz: c6bdd9ddd5336feaee0a4b8e87f7f8f929bf8c2aafbcfd666a5e2f32b4e627253e1153502992b8b0bb97231f0962202dfe7486de38b7bd4eacabeefc58aca8b9
|
@@ -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.
|
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 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`
|
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`
|
479
|
+
# protocols and ciphers are supported.
|
496
480
|
#
|
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
|
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,30 +492,8 @@ 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
|
-
# The actions for the default rule.
|
522
|
-
# action or one or more fixed-response actions.
|
523
|
-
#
|
524
|
-
# If the action type is `forward`, you specify one or more target
|
525
|
-
# groups. The protocol of the target group must be HTTP or HTTPS for an
|
526
|
-
# Application Load Balancer. The protocol of the target group must be
|
527
|
-
# TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
|
528
|
-
#
|
529
|
-
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
530
|
-
# authenticate users through an identity provider that is OpenID Connect
|
531
|
-
# (OIDC) compliant.
|
532
|
-
#
|
533
|
-
# \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
|
534
|
-
# authenticate users through the user pools supported by Amazon Cognito.
|
535
|
-
#
|
536
|
-
# \[Application Load Balancer\] If the action type is `redirect`, you
|
537
|
-
# redirect specified client requests from one URL to another.
|
538
|
-
#
|
539
|
-
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
540
|
-
# you drop specified client requests and return a custom HTTP response.
|
496
|
+
# The actions for the default rule.
|
541
497
|
#
|
542
498
|
# @option params [Array<String>] :alpn_policy
|
543
499
|
# \[TLS listeners\] The name of the Application-Layer Protocol
|
@@ -554,7 +510,7 @@ module Aws::ElasticLoadBalancingV2
|
|
554
510
|
#
|
555
511
|
# * `None`
|
556
512
|
#
|
557
|
-
# For more information, see [ALPN
|
513
|
+
# For more information, see [ALPN policies][1] in the *Network Load
|
558
514
|
# Balancers Guide*.
|
559
515
|
#
|
560
516
|
#
|
@@ -657,8 +613,8 @@ module Aws::ElasticLoadBalancingV2
|
|
657
613
|
#
|
658
614
|
# resp = client.create_listener({
|
659
615
|
# load_balancer_arn: "LoadBalancerArn", # required
|
660
|
-
# protocol: "HTTP", #
|
661
|
-
# port: 1,
|
616
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
617
|
+
# port: 1,
|
662
618
|
# ssl_policy: "SslPolicyName",
|
663
619
|
# certificates: [
|
664
620
|
# {
|
@@ -741,7 +697,7 @@ module Aws::ElasticLoadBalancingV2
|
|
741
697
|
# resp.listeners[0].listener_arn #=> String
|
742
698
|
# resp.listeners[0].load_balancer_arn #=> String
|
743
699
|
# resp.listeners[0].port #=> Integer
|
744
|
-
# 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"
|
745
701
|
# resp.listeners[0].certificates #=> Array
|
746
702
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
747
703
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -798,36 +754,26 @@ module Aws::ElasticLoadBalancingV2
|
|
798
754
|
req.send_request(options)
|
799
755
|
end
|
800
756
|
|
801
|
-
# Creates an Application Load Balancer
|
757
|
+
# Creates an Application Load Balancer, Network Load Balancer, or
|
758
|
+
# Gateway Load Balancer.
|
802
759
|
#
|
803
|
-
#
|
804
|
-
# public subnets, IP address type, and tags. Otherwise, you could do so
|
805
|
-
# later using SetSecurityGroups, SetSubnets, SetIpAddressType, and
|
806
|
-
# AddTags.
|
760
|
+
# For more information, see the following:
|
807
761
|
#
|
808
|
-
#
|
809
|
-
# describe your current load balancers, see DescribeLoadBalancers. When
|
810
|
-
# you are finished with a load balancer, you can delete it using
|
811
|
-
# DeleteLoadBalancer.
|
762
|
+
# * [Application Load Balancers][1]
|
812
763
|
#
|
813
|
-
#
|
814
|
-
#
|
815
|
-
#
|
764
|
+
# * [Network Load Balancers][2]
|
765
|
+
#
|
766
|
+
# * [Gateway Load Balancers][3]
|
816
767
|
#
|
817
768
|
# This operation is idempotent, which means that it completes at most
|
818
769
|
# one time. If you attempt to create multiple load balancers with the
|
819
770
|
# same settings, each call succeeds.
|
820
771
|
#
|
821
|
-
# For more information, see [Application Load Balancers][3] in the
|
822
|
-
# *Application Load Balancers Guide* and [Network Load Balancers][4] in
|
823
|
-
# the *Network Load Balancers Guide*.
|
824
772
|
#
|
825
773
|
#
|
826
|
-
#
|
827
|
-
# [
|
828
|
-
# [
|
829
|
-
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html
|
830
|
-
# [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
|
831
777
|
#
|
832
778
|
# @option params [required, String] :name
|
833
779
|
# The name of the load balancer.
|
@@ -853,6 +799,9 @@ module Aws::ElasticLoadBalancingV2
|
|
853
799
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
854
800
|
# Availability Zones.
|
855
801
|
#
|
802
|
+
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
803
|
+
# Availability Zones.
|
804
|
+
#
|
856
805
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
857
806
|
# The IDs of the public subnets. You can specify only one subnet per
|
858
807
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -871,7 +820,13 @@ module Aws::ElasticLoadBalancingV2
|
|
871
820
|
# Availability Zones. You can specify one Elastic IP address per subnet
|
872
821
|
# if you need static IP addresses for your internet-facing load
|
873
822
|
# balancer. For internal load balancers, you can specify one private IP
|
874
|
-
# 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.
|
875
830
|
#
|
876
831
|
# @option params [Array<String>] :security_groups
|
877
832
|
# \[Application Load Balancers\] The IDs of the security groups for the
|
@@ -892,6 +847,8 @@ module Aws::ElasticLoadBalancingV2
|
|
892
847
|
#
|
893
848
|
# The default is an Internet-facing load balancer.
|
894
849
|
#
|
850
|
+
# You cannot specify a scheme for a Gateway Load Balancer.
|
851
|
+
#
|
895
852
|
# @option params [Array<Types::Tag>] :tags
|
896
853
|
# The tags to assign to the load balancer.
|
897
854
|
#
|
@@ -899,10 +856,10 @@ module Aws::ElasticLoadBalancingV2
|
|
899
856
|
# The type of load balancer. The default is `application`.
|
900
857
|
#
|
901
858
|
# @option params [String] :ip_address_type
|
902
|
-
#
|
903
|
-
#
|
904
|
-
#
|
905
|
-
#
|
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`.
|
906
863
|
#
|
907
864
|
# @option params [String] :customer_owned_ipv_4_pool
|
908
865
|
# \[Application Load Balancers on Outposts\] The ID of the
|
@@ -1014,6 +971,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1014
971
|
# subnet_id: "SubnetId",
|
1015
972
|
# allocation_id: "AllocationId",
|
1016
973
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
974
|
+
# i_pv_6_address: "IPv6Address",
|
1017
975
|
# },
|
1018
976
|
# ],
|
1019
977
|
# security_groups: ["SecurityGroupId"],
|
@@ -1024,7 +982,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1024
982
|
# value: "TagValue",
|
1025
983
|
# },
|
1026
984
|
# ],
|
1027
|
-
# type: "application", # accepts application, network
|
985
|
+
# type: "application", # accepts application, network, gateway
|
1028
986
|
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
1029
987
|
# customer_owned_ipv_4_pool: "CustomerOwnedIpv4Pool",
|
1030
988
|
# })
|
@@ -1041,7 +999,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1041
999
|
# resp.load_balancers[0].vpc_id #=> String
|
1042
1000
|
# resp.load_balancers[0].state.code #=> String, one of "active", "provisioning", "active_impaired", "failed"
|
1043
1001
|
# resp.load_balancers[0].state.reason #=> String
|
1044
|
-
# resp.load_balancers[0].type #=> String, one of "application", "network"
|
1002
|
+
# resp.load_balancers[0].type #=> String, one of "application", "network", "gateway"
|
1045
1003
|
# resp.load_balancers[0].availability_zones #=> Array
|
1046
1004
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
1047
1005
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
@@ -1050,6 +1008,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1050
1008
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
1051
1009
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
1052
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
|
1053
1012
|
# resp.load_balancers[0].security_groups #=> Array
|
1054
1013
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1055
1014
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -1072,11 +1031,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1072
1031
|
# value to the highest value. When the conditions for a rule are met,
|
1073
1032
|
# its actions are performed. If the conditions for no rules are met, the
|
1074
1033
|
# actions for the default rule are performed. For more information, see
|
1075
|
-
# [Listener
|
1076
|
-
#
|
1077
|
-
# To view your current rules, use DescribeRules. To update a rule, use
|
1078
|
-
# ModifyRule. To set the priorities of your rules, use
|
1079
|
-
# SetRulePriorities. To delete a rule, use DeleteRule.
|
1034
|
+
# [Listener rules][1] in the *Application Load Balancers Guide*.
|
1080
1035
|
#
|
1081
1036
|
#
|
1082
1037
|
#
|
@@ -1086,38 +1041,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1086
1041
|
# The Amazon Resource Name (ARN) of the listener.
|
1087
1042
|
#
|
1088
1043
|
# @option params [required, Array<Types::RuleCondition>] :conditions
|
1089
|
-
# The conditions.
|
1090
|
-
# the following conditions: `http-request-method`, `host-header`,
|
1091
|
-
# `path-pattern`, and `source-ip`. Each rule can also optionally include
|
1092
|
-
# one or more of each of the following conditions: `http-header` and
|
1093
|
-
# `query-string`.
|
1044
|
+
# The conditions.
|
1094
1045
|
#
|
1095
1046
|
# @option params [required, Integer] :priority
|
1096
1047
|
# The rule priority. A listener can't have multiple rules with the same
|
1097
1048
|
# priority.
|
1098
1049
|
#
|
1099
1050
|
# @option params [required, Array<Types::Action>] :actions
|
1100
|
-
# The actions.
|
1101
|
-
# of actions: `forward`, `fixed-response`, or `redirect`, and it must be
|
1102
|
-
# the last action to be performed.
|
1103
|
-
#
|
1104
|
-
# If the action type is `forward`, you specify one or more target
|
1105
|
-
# groups. The protocol of the target group must be HTTP or HTTPS for an
|
1106
|
-
# Application Load Balancer. The protocol of the target group must be
|
1107
|
-
# TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
|
1108
|
-
#
|
1109
|
-
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
1110
|
-
# authenticate users through an identity provider that is OpenID Connect
|
1111
|
-
# (OIDC) compliant.
|
1112
|
-
#
|
1113
|
-
# \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
|
1114
|
-
# authenticate users through the user pools supported by Amazon Cognito.
|
1115
|
-
#
|
1116
|
-
# \[Application Load Balancer\] If the action type is `redirect`, you
|
1117
|
-
# redirect specified client requests from one URL to another.
|
1118
|
-
#
|
1119
|
-
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
1120
|
-
# you drop specified client requests and return a custom HTTP response.
|
1051
|
+
# The actions.
|
1121
1052
|
#
|
1122
1053
|
# @option params [Array<Types::Tag>] :tags
|
1123
1054
|
# The tags to assign to the rule.
|
@@ -1355,29 +1286,23 @@ module Aws::ElasticLoadBalancingV2
|
|
1355
1286
|
|
1356
1287
|
# Creates a target group.
|
1357
1288
|
#
|
1358
|
-
#
|
1359
|
-
#
|
1360
|
-
#
|
1361
|
-
# group, use DescribeTargetHealth.
|
1289
|
+
# For more information, see the following:
|
1290
|
+
#
|
1291
|
+
# * [Target groups for your Application Load Balancers][1]
|
1362
1292
|
#
|
1363
|
-
#
|
1364
|
-
# group in an action using CreateListener or CreateRule.
|
1293
|
+
# * [Target groups for your Network Load Balancers][2]
|
1365
1294
|
#
|
1366
|
-
#
|
1295
|
+
# * [Target groups for your Gateway Load Balancers][3]
|
1367
1296
|
#
|
1368
1297
|
# This operation is idempotent, which means that it completes at most
|
1369
1298
|
# one time. If you attempt to create multiple target groups with the
|
1370
1299
|
# same settings, each call succeeds.
|
1371
1300
|
#
|
1372
|
-
# For more information, see [Target Groups for Your Application Load
|
1373
|
-
# Balancers][1] in the *Application Load Balancers Guide* or [Target
|
1374
|
-
# Groups for Your Network Load Balancers][2] in the *Network Load
|
1375
|
-
# Balancers Guide*.
|
1376
|
-
#
|
1377
1301
|
#
|
1378
1302
|
#
|
1379
1303
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html
|
1380
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
|
1381
1306
|
#
|
1382
1307
|
# @option params [required, String] :name
|
1383
1308
|
# The name of the target group.
|
@@ -1390,14 +1315,22 @@ module Aws::ElasticLoadBalancingV2
|
|
1390
1315
|
# The protocol to use for routing traffic to the targets. For
|
1391
1316
|
# Application Load Balancers, the supported protocols are HTTP and
|
1392
1317
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
1393
|
-
# 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
|
1394
1320
|
# TCP\_UDP target group. If the target is a Lambda function, this
|
1395
1321
|
# parameter does not apply.
|
1396
1322
|
#
|
1323
|
+
# @option params [String] :protocol_version
|
1324
|
+
# \[HTTP/HTTPS protocol\] The protocol version. Specify `GRPC` to send
|
1325
|
+
# requests to targets using gRPC. Specify `HTTP2` to send requests to
|
1326
|
+
# targets using HTTP/2. The default is `HTTP1`, which sends requests to
|
1327
|
+
# targets using HTTP/1.1.
|
1328
|
+
#
|
1397
1329
|
# @option params [Integer] :port
|
1398
1330
|
# The port on which the targets receive traffic. This port is used
|
1399
1331
|
# unless you specify a port override when registering the target. If the
|
1400
|
-
# 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.
|
1401
1334
|
#
|
1402
1335
|
# @option params [String] :vpc_id
|
1403
1336
|
# The identifier of the virtual private cloud (VPC). If the target is a
|
@@ -1407,15 +1340,17 @@ module Aws::ElasticLoadBalancingV2
|
|
1407
1340
|
# @option params [String] :health_check_protocol
|
1408
1341
|
# The protocol the load balancer uses when performing health checks on
|
1409
1342
|
# targets. For Application Load Balancers, the default is HTTP. For
|
1410
|
-
# Network Load Balancers, the default is TCP.
|
1411
|
-
# supported for health checks
|
1412
|
-
#
|
1413
|
-
# 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.
|
1414
1347
|
#
|
1415
1348
|
# @option params [String] :health_check_port
|
1416
1349
|
# The port the load balancer uses when performing health checks on
|
1417
|
-
# targets.
|
1418
|
-
#
|
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.
|
1419
1354
|
#
|
1420
1355
|
# @option params [Boolean] :health_check_enabled
|
1421
1356
|
# Indicates whether health checks are enabled. If the target type is
|
@@ -1424,57 +1359,65 @@ module Aws::ElasticLoadBalancingV2
|
|
1424
1359
|
# enabled and cannot be disabled.
|
1425
1360
|
#
|
1426
1361
|
# @option params [String] :health_check_path
|
1427
|
-
# \[HTTP/HTTPS health checks\] The
|
1428
|
-
#
|
1362
|
+
# \[HTTP/HTTPS health checks\] The destination for health checks on the
|
1363
|
+
# targets.
|
1364
|
+
#
|
1365
|
+
# \[HTTP1 or HTTP2 protocol version\] The ping path. The default is /.
|
1366
|
+
#
|
1367
|
+
# \[GRPC protocol version\] The path of a custom health check method
|
1368
|
+
# with the format /package.service/method. The default is
|
1369
|
+
# /AWS.ALB/healthcheck.
|
1429
1370
|
#
|
1430
1371
|
# @option params [Integer] :health_check_interval_seconds
|
1431
1372
|
# The approximate amount of time, in seconds, between health checks of
|
1432
|
-
# an individual target.
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
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.
|
1436
1378
|
#
|
1437
1379
|
# @option params [Integer] :health_check_timeout_seconds
|
1438
1380
|
# The amount of time, in seconds, during which no response from a target
|
1439
|
-
# means a failed health check. For target groups with a protocol of
|
1440
|
-
#
|
1441
|
-
# of TCP or TLS, this value must be 6 seconds for HTTP
|
1442
|
-
# 10 seconds for TCP and HTTPS health checks. If the
|
1443
|
-
# `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.
|
1444
1386
|
#
|
1445
1387
|
# @option params [Integer] :healthy_threshold_count
|
1446
1388
|
# The number of consecutive health checks successes required before
|
1447
1389
|
# considering an unhealthy target healthy. For target groups with a
|
1448
1390
|
# protocol of HTTP or HTTPS, the default is 5. For target groups with a
|
1449
|
-
# protocol of TCP or
|
1450
|
-
# `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.
|
1451
1393
|
#
|
1452
1394
|
# @option params [Integer] :unhealthy_threshold_count
|
1453
1395
|
# The number of consecutive health check failures required before
|
1454
|
-
# considering a target unhealthy.
|
1455
|
-
#
|
1456
|
-
#
|
1457
|
-
#
|
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.
|
1458
1401
|
#
|
1459
1402
|
# @option params [Types::Matcher] :matcher
|
1460
|
-
# \[HTTP/HTTPS health checks\] The HTTP codes to use when
|
1461
|
-
# successful response from a target.
|
1403
|
+
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
1404
|
+
# checking for a successful response from a target.
|
1462
1405
|
#
|
1463
1406
|
# @option params [String] :target_type
|
1464
1407
|
# The type of target that you must specify when registering targets with
|
1465
1408
|
# this target group. You can't specify targets for a target group using
|
1466
1409
|
# more than one target type.
|
1467
1410
|
#
|
1468
|
-
# * `instance` -
|
1469
|
-
#
|
1411
|
+
# * `instance` - Register targets by instance ID. This is the default
|
1412
|
+
# value.
|
1470
1413
|
#
|
1471
|
-
# * `ip` -
|
1472
|
-
#
|
1473
|
-
#
|
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
|
1474
1417
|
# 192.168.0.0/16), and the RFC 6598 range (100.64.0.0/10). You can't
|
1475
1418
|
# specify publicly routable IP addresses.
|
1476
1419
|
#
|
1477
|
-
# * `lambda` -
|
1420
|
+
# * `lambda` - Register a single Lambda function as a target.
|
1478
1421
|
#
|
1479
1422
|
# @option params [Array<Types::Tag>] :tags
|
1480
1423
|
# The tags to assign to the target group.
|
@@ -1523,10 +1466,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1523
1466
|
#
|
1524
1467
|
# resp = client.create_target_group({
|
1525
1468
|
# name: "TargetGroupName", # required
|
1526
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
1469
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
1470
|
+
# protocol_version: "ProtocolVersion",
|
1527
1471
|
# port: 1,
|
1528
1472
|
# vpc_id: "VpcId",
|
1529
|
-
# 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
|
1530
1474
|
# health_check_port: "HealthCheckPort",
|
1531
1475
|
# health_check_enabled: false,
|
1532
1476
|
# health_check_path: "Path",
|
@@ -1535,7 +1479,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1535
1479
|
# healthy_threshold_count: 1,
|
1536
1480
|
# unhealthy_threshold_count: 1,
|
1537
1481
|
# matcher: {
|
1538
|
-
# http_code: "HttpCode",
|
1482
|
+
# http_code: "HttpCode",
|
1483
|
+
# grpc_code: "GrpcCode",
|
1539
1484
|
# },
|
1540
1485
|
# target_type: "instance", # accepts instance, ip, lambda
|
1541
1486
|
# tags: [
|
@@ -1551,10 +1496,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1551
1496
|
# resp.target_groups #=> Array
|
1552
1497
|
# resp.target_groups[0].target_group_arn #=> String
|
1553
1498
|
# resp.target_groups[0].target_group_name #=> String
|
1554
|
-
# 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"
|
1555
1500
|
# resp.target_groups[0].port #=> Integer
|
1556
1501
|
# resp.target_groups[0].vpc_id #=> String
|
1557
|
-
# 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"
|
1558
1503
|
# resp.target_groups[0].health_check_port #=> String
|
1559
1504
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
1560
1505
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -1563,9 +1508,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1563
1508
|
# resp.target_groups[0].unhealthy_threshold_count #=> Integer
|
1564
1509
|
# resp.target_groups[0].health_check_path #=> String
|
1565
1510
|
# resp.target_groups[0].matcher.http_code #=> String
|
1511
|
+
# resp.target_groups[0].matcher.grpc_code #=> String
|
1566
1512
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
1567
1513
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
1568
1514
|
# resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
|
1515
|
+
# resp.target_groups[0].protocol_version #=> String
|
1569
1516
|
#
|
1570
1517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateTargetGroup AWS API Documentation
|
1571
1518
|
#
|
@@ -1579,7 +1526,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1579
1526
|
# Deletes the specified listener.
|
1580
1527
|
#
|
1581
1528
|
# Alternatively, your listener is deleted when you delete the load
|
1582
|
-
# balancer to which it is attached
|
1529
|
+
# balancer to which it is attached.
|
1583
1530
|
#
|
1584
1531
|
# @option params [required, String] :listener_arn
|
1585
1532
|
# The Amazon Resource Name (ARN) of the listener.
|
@@ -1610,8 +1557,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1610
1557
|
req.send_request(options)
|
1611
1558
|
end
|
1612
1559
|
|
1613
|
-
# Deletes the specified Application Load Balancer
|
1614
|
-
# 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.
|
1615
1563
|
#
|
1616
1564
|
# You can't delete a load balancer if deletion protection is enabled.
|
1617
1565
|
# If the load balancer does not exist or has already been deleted, the
|
@@ -1688,6 +1636,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1688
1636
|
#
|
1689
1637
|
# You can delete a target group if it is not referenced by any actions.
|
1690
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.
|
1691
1642
|
#
|
1692
1643
|
# @option params [required, String] :target_group_arn
|
1693
1644
|
# The Amazon Resource Name (ARN) of the target group.
|
@@ -1771,14 +1722,19 @@ module Aws::ElasticLoadBalancingV2
|
|
1771
1722
|
# Describes the current Elastic Load Balancing resource limits for your
|
1772
1723
|
# AWS account.
|
1773
1724
|
#
|
1774
|
-
# For more information, see
|
1775
|
-
#
|
1776
|
-
#
|
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]
|
1777
1732
|
#
|
1778
1733
|
#
|
1779
1734
|
#
|
1780
1735
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
|
1781
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
|
1782
1738
|
#
|
1783
1739
|
# @option params [String] :marker
|
1784
1740
|
# The marker for the next set of results. (You received this marker from
|
@@ -1822,12 +1778,14 @@ module Aws::ElasticLoadBalancingV2
|
|
1822
1778
|
# twice in the results (once with `IsDefault` set to true and once with
|
1823
1779
|
# `IsDefault` set to false).
|
1824
1780
|
#
|
1825
|
-
# For more information, see [SSL
|
1826
|
-
# 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*.
|
1827
1784
|
#
|
1828
1785
|
#
|
1829
1786
|
#
|
1830
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
|
1831
1789
|
#
|
1832
1790
|
# @option params [required, String] :listener_arn
|
1833
1791
|
# The Amazon Resource Names (ARN) of the listener.
|
@@ -1869,12 +1827,9 @@ module Aws::ElasticLoadBalancingV2
|
|
1869
1827
|
end
|
1870
1828
|
|
1871
1829
|
# Describes the specified listeners or the listeners for the specified
|
1872
|
-
# Application Load Balancer
|
1873
|
-
# either a load balancer or one or more
|
1874
|
-
#
|
1875
|
-
# For an HTTPS or TLS listener, the output includes the default
|
1876
|
-
# certificate for the listener. To describe the certificate list for the
|
1877
|
-
# 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.
|
1878
1833
|
#
|
1879
1834
|
# @option params [String] :load_balancer_arn
|
1880
1835
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -1940,7 +1895,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1940
1895
|
# resp.listeners[0].listener_arn #=> String
|
1941
1896
|
# resp.listeners[0].load_balancer_arn #=> String
|
1942
1897
|
# resp.listeners[0].port #=> Integer
|
1943
|
-
# 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"
|
1944
1899
|
# resp.listeners[0].certificates #=> Array
|
1945
1900
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
1946
1901
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -1998,17 +1953,23 @@ module Aws::ElasticLoadBalancingV2
|
|
1998
1953
|
req.send_request(options)
|
1999
1954
|
end
|
2000
1955
|
|
2001
|
-
# Describes the attributes for the specified Application Load Balancer
|
2002
|
-
# or
|
1956
|
+
# Describes the attributes for the specified Application Load Balancer,
|
1957
|
+
# Network Load Balancer, or Gateway Load Balancer.
|
2003
1958
|
#
|
2004
|
-
# For more information, see
|
2005
|
-
#
|
2006
|
-
# the *
|
1959
|
+
# For more information, see the following:
|
1960
|
+
#
|
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*
|
2007
1967
|
#
|
2008
1968
|
#
|
2009
1969
|
#
|
2010
1970
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes
|
2011
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
|
2012
1973
|
#
|
2013
1974
|
# @option params [required, String] :load_balancer_arn
|
2014
1975
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -2075,10 +2036,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2075
2036
|
|
2076
2037
|
# Describes the specified load balancers or all of your load balancers.
|
2077
2038
|
#
|
2078
|
-
# To describe the listeners for a load balancer, use DescribeListeners.
|
2079
|
-
# To describe the attributes for a load balancer, use
|
2080
|
-
# DescribeLoadBalancerAttributes.
|
2081
|
-
#
|
2082
2039
|
# @option params [Array<String>] :load_balancer_arns
|
2083
2040
|
# The Amazon Resource Names (ARN) of the load balancers. You can specify
|
2084
2041
|
# up to 20 load balancers in a single call.
|
@@ -2164,7 +2121,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2164
2121
|
# resp.load_balancers[0].vpc_id #=> String
|
2165
2122
|
# resp.load_balancers[0].state.code #=> String, one of "active", "provisioning", "active_impaired", "failed"
|
2166
2123
|
# resp.load_balancers[0].state.reason #=> String
|
2167
|
-
# resp.load_balancers[0].type #=> String, one of "application", "network"
|
2124
|
+
# resp.load_balancers[0].type #=> String, one of "application", "network", "gateway"
|
2168
2125
|
# resp.load_balancers[0].availability_zones #=> Array
|
2169
2126
|
# resp.load_balancers[0].availability_zones[0].zone_name #=> String
|
2170
2127
|
# resp.load_balancers[0].availability_zones[0].subnet_id #=> String
|
@@ -2173,6 +2130,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2173
2130
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
2174
2131
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
2175
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
|
2176
2134
|
# resp.load_balancers[0].security_groups #=> Array
|
2177
2135
|
# resp.load_balancers[0].security_groups[0] #=> String
|
2178
2136
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -2339,12 +2297,14 @@ module Aws::ElasticLoadBalancingV2
|
|
2339
2297
|
# Describes the specified policies or all policies used for SSL
|
2340
2298
|
# negotiation.
|
2341
2299
|
#
|
2342
|
-
# For more information, see [Security
|
2343
|
-
# 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*.
|
2344
2303
|
#
|
2345
2304
|
#
|
2346
2305
|
#
|
2347
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
|
2348
2308
|
#
|
2349
2309
|
# @option params [Array<String>] :names
|
2350
2310
|
# The names of the policies.
|
@@ -2494,7 +2454,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2494
2454
|
|
2495
2455
|
# Describes the tags for the specified Elastic Load Balancing resources.
|
2496
2456
|
# You can describe the tags for one or more Application Load Balancers,
|
2497
|
-
# Network Load Balancers,
|
2457
|
+
# Network Load Balancers, Gateway Load Balancers, target groups,
|
2458
|
+
# listeners, or rules.
|
2498
2459
|
#
|
2499
2460
|
# @option params [required, Array<String>] :resource_arns
|
2500
2461
|
# The Amazon Resource Names (ARN) of the resources. You can specify up
|
@@ -2559,14 +2520,20 @@ module Aws::ElasticLoadBalancingV2
|
|
2559
2520
|
|
2560
2521
|
# Describes the attributes for the specified target group.
|
2561
2522
|
#
|
2562
|
-
# For more information, see
|
2563
|
-
#
|
2564
|
-
# 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*
|
2565
2531
|
#
|
2566
2532
|
#
|
2567
2533
|
#
|
2568
2534
|
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes
|
2569
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
|
2570
2537
|
#
|
2571
2538
|
# @option params [required, String] :target_group_arn
|
2572
2539
|
# The Amazon Resource Name (ARN) of the target group.
|
@@ -2633,10 +2600,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2633
2600
|
# load balancer, the names of one or more target groups, or the ARNs of
|
2634
2601
|
# one or more target groups.
|
2635
2602
|
#
|
2636
|
-
# To describe the targets for a target group, use DescribeTargetHealth.
|
2637
|
-
# To describe the attributes of a target group, use
|
2638
|
-
# DescribeTargetGroupAttributes.
|
2639
|
-
#
|
2640
2603
|
# @option params [String] :load_balancer_arn
|
2641
2604
|
# The Amazon Resource Name (ARN) of the load balancer.
|
2642
2605
|
#
|
@@ -2712,10 +2675,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2712
2675
|
# resp.target_groups #=> Array
|
2713
2676
|
# resp.target_groups[0].target_group_arn #=> String
|
2714
2677
|
# resp.target_groups[0].target_group_name #=> String
|
2715
|
-
# 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"
|
2716
2679
|
# resp.target_groups[0].port #=> Integer
|
2717
2680
|
# resp.target_groups[0].vpc_id #=> String
|
2718
|
-
# 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"
|
2719
2682
|
# resp.target_groups[0].health_check_port #=> String
|
2720
2683
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
2721
2684
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -2724,9 +2687,11 @@ module Aws::ElasticLoadBalancingV2
|
|
2724
2687
|
# resp.target_groups[0].unhealthy_threshold_count #=> Integer
|
2725
2688
|
# resp.target_groups[0].health_check_path #=> String
|
2726
2689
|
# resp.target_groups[0].matcher.http_code #=> String
|
2690
|
+
# resp.target_groups[0].matcher.grpc_code #=> String
|
2727
2691
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
2728
2692
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
2729
2693
|
# resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
|
2694
|
+
# resp.target_groups[0].protocol_version #=> String
|
2730
2695
|
# resp.next_marker #=> String
|
2731
2696
|
#
|
2732
2697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/DescribeTargetGroups AWS API Documentation
|
@@ -2873,39 +2838,23 @@ module Aws::ElasticLoadBalancingV2
|
|
2873
2838
|
# The Amazon Resource Name (ARN) of the listener.
|
2874
2839
|
#
|
2875
2840
|
# @option params [Integer] :port
|
2876
|
-
# 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.
|
2877
2843
|
#
|
2878
2844
|
# @option params [String] :protocol
|
2879
2845
|
# The protocol for connections from clients to the load balancer.
|
2880
2846
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2881
2847
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2882
|
-
# 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.
|
2883
2851
|
#
|
2884
2852
|
# @option params [String] :ssl_policy
|
2885
2853
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
2886
|
-
# protocols and ciphers are supported.
|
2887
|
-
# values:
|
2888
|
-
#
|
2889
|
-
# * `ELBSecurityPolicy-2016-08`
|
2890
|
-
#
|
2891
|
-
# * `ELBSecurityPolicy-TLS-1-0-2015-04`
|
2892
|
-
#
|
2893
|
-
# * `ELBSecurityPolicy-TLS-1-1-2017-01`
|
2894
|
-
#
|
2895
|
-
# * `ELBSecurityPolicy-TLS-1-2-2017-01`
|
2896
|
-
#
|
2897
|
-
# * `ELBSecurityPolicy-TLS-1-2-Ext-2018-06`
|
2898
|
-
#
|
2899
|
-
# * `ELBSecurityPolicy-FS-2018-06`
|
2854
|
+
# protocols and ciphers are supported.
|
2900
2855
|
#
|
2901
|
-
#
|
2902
|
-
#
|
2903
|
-
# * `ELBSecurityPolicy-FS-1-2-2019-08`
|
2904
|
-
#
|
2905
|
-
# * `ELBSecurityPolicy-FS-1-2-Res-2019-08`
|
2906
|
-
#
|
2907
|
-
# For more information, see [Security Policies][1] in the *Application
|
2908
|
-
# Load Balancers Guide* and [Security Policies][2] in the *Network Load
|
2856
|
+
# For more information, see [Security policies][1] in the *Application
|
2857
|
+
# Load Balancers Guide* or [Security policies][2] in the *Network Load
|
2909
2858
|
# Balancers Guide*.
|
2910
2859
|
#
|
2911
2860
|
#
|
@@ -2918,29 +2867,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2918
2867
|
# You must provide exactly one certificate. Set `CertificateArn` to the
|
2919
2868
|
# certificate ARN but do not set `IsDefault`.
|
2920
2869
|
#
|
2921
|
-
# To create a certificate list, use AddListenerCertificates.
|
2922
|
-
#
|
2923
2870
|
# @option params [Array<Types::Action>] :default_actions
|
2924
|
-
# The actions for the default rule.
|
2925
|
-
# action or one or more fixed-response actions.
|
2926
|
-
#
|
2927
|
-
# If the action type is `forward`, you specify one or more target
|
2928
|
-
# groups. The protocol of the target group must be HTTP or HTTPS for an
|
2929
|
-
# Application Load Balancer. The protocol of the target group must be
|
2930
|
-
# TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
|
2931
|
-
#
|
2932
|
-
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
2933
|
-
# authenticate users through an identity provider that is OpenID Connect
|
2934
|
-
# (OIDC) compliant.
|
2935
|
-
#
|
2936
|
-
# \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
|
2937
|
-
# authenticate users through the user pools supported by Amazon Cognito.
|
2938
|
-
#
|
2939
|
-
# \[Application Load Balancer\] If the action type is `redirect`, you
|
2940
|
-
# redirect specified client requests from one URL to another.
|
2941
|
-
#
|
2942
|
-
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
2943
|
-
# you drop specified client requests and return a custom HTTP response.
|
2871
|
+
# The actions for the default rule.
|
2944
2872
|
#
|
2945
2873
|
# @option params [Array<String>] :alpn_policy
|
2946
2874
|
# \[TLS listeners\] The name of the Application-Layer Protocol
|
@@ -2957,7 +2885,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2957
2885
|
#
|
2958
2886
|
# * `None`
|
2959
2887
|
#
|
2960
|
-
# For more information, see [ALPN
|
2888
|
+
# For more information, see [ALPN policies][1] in the *Network Load
|
2961
2889
|
# Balancers Guide*.
|
2962
2890
|
#
|
2963
2891
|
#
|
@@ -3043,7 +2971,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3043
2971
|
# resp = client.modify_listener({
|
3044
2972
|
# listener_arn: "ListenerArn", # required
|
3045
2973
|
# port: 1,
|
3046
|
-
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP
|
2974
|
+
# protocol: "HTTP", # accepts HTTP, HTTPS, TCP, TLS, UDP, TCP_UDP, GENEVE
|
3047
2975
|
# ssl_policy: "SslPolicyName",
|
3048
2976
|
# certificates: [
|
3049
2977
|
# {
|
@@ -3120,7 +3048,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3120
3048
|
# resp.listeners[0].listener_arn #=> String
|
3121
3049
|
# resp.listeners[0].load_balancer_arn #=> String
|
3122
3050
|
# resp.listeners[0].port #=> Integer
|
3123
|
-
# 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"
|
3124
3052
|
# resp.listeners[0].certificates #=> Array
|
3125
3053
|
# resp.listeners[0].certificates[0].certificate_arn #=> String
|
3126
3054
|
# resp.listeners[0].certificates[0].is_default #=> Boolean
|
@@ -3178,7 +3106,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3178
3106
|
end
|
3179
3107
|
|
3180
3108
|
# Modifies the specified attributes of the specified Application Load
|
3181
|
-
# Balancer or
|
3109
|
+
# Balancer, Network Load Balancer, or Gateway Load Balancer.
|
3182
3110
|
#
|
3183
3111
|
# If any of the specified attributes can't be modified as requested,
|
3184
3112
|
# the call fails. Any existing attributes that you do not modify retain
|
@@ -3359,39 +3287,14 @@ module Aws::ElasticLoadBalancingV2
|
|
3359
3287
|
# an action, specify a list with the current actions plus the new
|
3360
3288
|
# action.
|
3361
3289
|
#
|
3362
|
-
# To modify the actions for the default rule, use ModifyListener.
|
3363
|
-
#
|
3364
3290
|
# @option params [required, String] :rule_arn
|
3365
3291
|
# The Amazon Resource Name (ARN) of the rule.
|
3366
3292
|
#
|
3367
3293
|
# @option params [Array<Types::RuleCondition>] :conditions
|
3368
|
-
# The conditions.
|
3369
|
-
# conditions: `http-request-method`, `host-header`, `path-pattern`, and
|
3370
|
-
# `source-ip`, and zero or more of the following conditions:
|
3371
|
-
# `http-header` and `query-string`.
|
3294
|
+
# The conditions.
|
3372
3295
|
#
|
3373
3296
|
# @option params [Array<Types::Action>] :actions
|
3374
|
-
# The actions.
|
3375
|
-
# of actions: `forward`, `fixed-response`, or `redirect`, and it must be
|
3376
|
-
# the last action to be performed.
|
3377
|
-
#
|
3378
|
-
# If the action type is `forward`, you specify one or more target
|
3379
|
-
# groups. The protocol of the target group must be HTTP or HTTPS for an
|
3380
|
-
# Application Load Balancer. The protocol of the target group must be
|
3381
|
-
# TCP, TLS, UDP, or TCP\_UDP for a Network Load Balancer.
|
3382
|
-
#
|
3383
|
-
# \[HTTPS listeners\] If the action type is `authenticate-oidc`, you
|
3384
|
-
# authenticate users through an identity provider that is OpenID Connect
|
3385
|
-
# (OIDC) compliant.
|
3386
|
-
#
|
3387
|
-
# \[HTTPS listeners\] If the action type is `authenticate-cognito`, you
|
3388
|
-
# authenticate users through the user pools supported by Amazon Cognito.
|
3389
|
-
#
|
3390
|
-
# \[Application Load Balancer\] If the action type is `redirect`, you
|
3391
|
-
# redirect specified client requests from one URL to another.
|
3392
|
-
#
|
3393
|
-
# \[Application Load Balancer\] If the action type is `fixed-response`,
|
3394
|
-
# you drop specified client requests and return a custom HTTP response.
|
3297
|
+
# The actions.
|
3395
3298
|
#
|
3396
3299
|
# @return [Types::ModifyRuleOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3397
3300
|
#
|
@@ -3612,16 +3515,15 @@ module Aws::ElasticLoadBalancingV2
|
|
3612
3515
|
# Modifies the health checks used when evaluating the health state of
|
3613
3516
|
# the targets in the specified target group.
|
3614
3517
|
#
|
3615
|
-
# To monitor the health of the targets, use DescribeTargetHealth.
|
3616
|
-
#
|
3617
3518
|
# @option params [required, String] :target_group_arn
|
3618
3519
|
# The Amazon Resource Name (ARN) of the target group.
|
3619
3520
|
#
|
3620
3521
|
# @option params [String] :health_check_protocol
|
3621
3522
|
# The protocol the load balancer uses when performing health checks on
|
3622
3523
|
# targets. The TCP protocol is supported for health checks only if the
|
3623
|
-
# protocol of the target group is TCP, TLS, UDP, or TCP\_UDP. The
|
3624
|
-
# 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.
|
3625
3527
|
#
|
3626
3528
|
# With Network Load Balancers, you can't modify this setting.
|
3627
3529
|
#
|
@@ -3630,16 +3532,21 @@ module Aws::ElasticLoadBalancingV2
|
|
3630
3532
|
# targets.
|
3631
3533
|
#
|
3632
3534
|
# @option params [String] :health_check_path
|
3633
|
-
# \[HTTP/HTTPS health checks\] The
|
3634
|
-
#
|
3535
|
+
# \[HTTP/HTTPS health checks\] The destination for health checks on the
|
3536
|
+
# targets.
|
3537
|
+
#
|
3538
|
+
# \[HTTP1 or HTTP2 protocol version\] The ping path. The default is /.
|
3539
|
+
#
|
3540
|
+
# \[GRPC protocol version\] The path of a custom health check method
|
3541
|
+
# with the format /package.service/method. The default is
|
3542
|
+
# /AWS.ALB/healthcheck.
|
3635
3543
|
#
|
3636
3544
|
# @option params [Boolean] :health_check_enabled
|
3637
3545
|
# Indicates whether health checks are enabled.
|
3638
3546
|
#
|
3639
3547
|
# @option params [Integer] :health_check_interval_seconds
|
3640
3548
|
# The approximate amount of time, in seconds, between health checks of
|
3641
|
-
# an individual target. For
|
3642
|
-
# to 300 seconds. For Network Load Balancers, the supported values are
|
3549
|
+
# an individual target. For TCP health checks, the supported values are
|
3643
3550
|
# 10 or 30 seconds.
|
3644
3551
|
#
|
3645
3552
|
# With Network Load Balancers, you can't modify this setting.
|
@@ -3656,14 +3563,13 @@ module Aws::ElasticLoadBalancingV2
|
|
3656
3563
|
#
|
3657
3564
|
# @option params [Integer] :unhealthy_threshold_count
|
3658
3565
|
# The number of consecutive health check failures required before
|
3659
|
-
# considering the target unhealthy. For
|
3660
|
-
# value must be the same as the healthy threshold
|
3566
|
+
# considering the target unhealthy. For target groups with a protocol of
|
3567
|
+
# TCP or TLS, this value must be the same as the healthy threshold
|
3568
|
+
# count.
|
3661
3569
|
#
|
3662
3570
|
# @option params [Types::Matcher] :matcher
|
3663
|
-
# \[HTTP/HTTPS health checks\] The HTTP codes to use when
|
3664
|
-
# successful response from a target.
|
3665
|
-
# 499. You can specify multiple values (for example, "200,202") or a
|
3666
|
-
# range of values (for example, "200-299"). The default is 200.
|
3571
|
+
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
3572
|
+
# checking for a successful response from a target.
|
3667
3573
|
#
|
3668
3574
|
# With Network Load Balancers, you can't modify this setting.
|
3669
3575
|
#
|
@@ -3712,7 +3618,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3712
3618
|
#
|
3713
3619
|
# resp = client.modify_target_group({
|
3714
3620
|
# target_group_arn: "TargetGroupArn", # required
|
3715
|
-
# 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
|
3716
3622
|
# health_check_port: "HealthCheckPort",
|
3717
3623
|
# health_check_path: "Path",
|
3718
3624
|
# health_check_enabled: false,
|
@@ -3721,7 +3627,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3721
3627
|
# healthy_threshold_count: 1,
|
3722
3628
|
# unhealthy_threshold_count: 1,
|
3723
3629
|
# matcher: {
|
3724
|
-
# http_code: "HttpCode",
|
3630
|
+
# http_code: "HttpCode",
|
3631
|
+
# grpc_code: "GrpcCode",
|
3725
3632
|
# },
|
3726
3633
|
# })
|
3727
3634
|
#
|
@@ -3730,10 +3637,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3730
3637
|
# resp.target_groups #=> Array
|
3731
3638
|
# resp.target_groups[0].target_group_arn #=> String
|
3732
3639
|
# resp.target_groups[0].target_group_name #=> String
|
3733
|
-
# 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"
|
3734
3641
|
# resp.target_groups[0].port #=> Integer
|
3735
3642
|
# resp.target_groups[0].vpc_id #=> String
|
3736
|
-
# 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"
|
3737
3644
|
# resp.target_groups[0].health_check_port #=> String
|
3738
3645
|
# resp.target_groups[0].health_check_enabled #=> Boolean
|
3739
3646
|
# resp.target_groups[0].health_check_interval_seconds #=> Integer
|
@@ -3742,9 +3649,11 @@ module Aws::ElasticLoadBalancingV2
|
|
3742
3649
|
# resp.target_groups[0].unhealthy_threshold_count #=> Integer
|
3743
3650
|
# resp.target_groups[0].health_check_path #=> String
|
3744
3651
|
# resp.target_groups[0].matcher.http_code #=> String
|
3652
|
+
# resp.target_groups[0].matcher.grpc_code #=> String
|
3745
3653
|
# resp.target_groups[0].load_balancer_arns #=> Array
|
3746
3654
|
# resp.target_groups[0].load_balancer_arns[0] #=> String
|
3747
3655
|
# resp.target_groups[0].target_type #=> String, one of "instance", "ip", "lambda"
|
3656
|
+
# resp.target_groups[0].protocol_version #=> String
|
3748
3657
|
#
|
3749
3658
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroup AWS API Documentation
|
3750
3659
|
#
|
@@ -3847,18 +3756,12 @@ module Aws::ElasticLoadBalancingV2
|
|
3847
3756
|
# CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3, and T1. You can
|
3848
3757
|
# register instances of these types by IP address.
|
3849
3758
|
#
|
3850
|
-
# To remove a target from a target group, use DeregisterTargets.
|
3851
|
-
#
|
3852
3759
|
# @option params [required, String] :target_group_arn
|
3853
3760
|
# The Amazon Resource Name (ARN) of the target group.
|
3854
3761
|
#
|
3855
3762
|
# @option params [required, Array<Types::TargetDescription>] :targets
|
3856
3763
|
# The targets.
|
3857
3764
|
#
|
3858
|
-
# To register a target by instance ID, specify the instance ID. To
|
3859
|
-
# register a target by IP address, specify the IP address. To register a
|
3860
|
-
# Lambda function, specify the ARN of the Lambda function.
|
3861
|
-
#
|
3862
3765
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3863
3766
|
#
|
3864
3767
|
#
|
@@ -3922,12 +3825,6 @@ module Aws::ElasticLoadBalancingV2
|
|
3922
3825
|
# Removes the specified certificate from the certificate list for the
|
3923
3826
|
# specified HTTPS or TLS listener.
|
3924
3827
|
#
|
3925
|
-
# You can't remove the default certificate for a listener. To replace
|
3926
|
-
# the default certificate, call ModifyListener.
|
3927
|
-
#
|
3928
|
-
# To list the certificates for your listener, use
|
3929
|
-
# DescribeListenerCertificates.
|
3930
|
-
#
|
3931
3828
|
# @option params [required, String] :listener_arn
|
3932
3829
|
# The Amazon Resource Name (ARN) of the listener.
|
3933
3830
|
#
|
@@ -3961,9 +3858,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3961
3858
|
|
3962
3859
|
# Removes the specified tags from the specified Elastic Load Balancing
|
3963
3860
|
# resources. You can remove the tags for one or more Application Load
|
3964
|
-
# Balancers, Network Load Balancers,
|
3965
|
-
#
|
3966
|
-
# To list the current tags for your resources, use DescribeTags.
|
3861
|
+
# Balancers, Network Load Balancers, Gateway Load Balancers, target
|
3862
|
+
# groups, listeners, or rules.
|
3967
3863
|
#
|
3968
3864
|
# @option params [required, Array<String>] :resource_arns
|
3969
3865
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -4013,8 +3909,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4013
3909
|
# @option params [required, String] :ip_address_type
|
4014
3910
|
# The IP address type. The possible values are `ipv4` (for IPv4
|
4015
3911
|
# addresses) and `dualstack` (for IPv4 and IPv6 addresses). Internal
|
4016
|
-
# load balancers must use `ipv4`.
|
4017
|
-
#
|
3912
|
+
# load balancers must use `ipv4`. You can’t specify `dualstack` for a
|
3913
|
+
# load balancer with a UDP or TCP\_UDP listener.
|
4018
3914
|
#
|
4019
3915
|
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4020
3916
|
#
|
@@ -4181,7 +4077,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4181
4077
|
# Application Load Balancer. The specified security groups override the
|
4182
4078
|
# previously associated security groups.
|
4183
4079
|
#
|
4184
|
-
# 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.
|
4185
4082
|
#
|
4186
4083
|
# @option params [required, String] :load_balancer_arn
|
4187
4084
|
# The Amazon Resource Name (ARN) of the load balancer.
|
@@ -4234,8 +4131,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4234
4131
|
end
|
4235
4132
|
|
4236
4133
|
# Enables the Availability Zones for the specified public subnets for
|
4237
|
-
# the specified
|
4238
|
-
# previously enabled subnets.
|
4134
|
+
# the specified Application Load Balancer or Network Load Balancer. The
|
4135
|
+
# specified subnets replace the previously enabled subnets.
|
4239
4136
|
#
|
4240
4137
|
# When you specify subnets for a Network Load Balancer, you must include
|
4241
4138
|
# all subnets that were enabled previously, with their existing
|
@@ -4245,10 +4142,21 @@ module Aws::ElasticLoadBalancingV2
|
|
4245
4142
|
# The Amazon Resource Name (ARN) of the load balancer.
|
4246
4143
|
#
|
4247
4144
|
# @option params [Array<String>] :subnets
|
4248
|
-
# The IDs of the public subnets. You
|
4249
|
-
# two Availability Zones. You can specify only one subnet per
|
4145
|
+
# The IDs of the public subnets. You can specify only one subnet per
|
4250
4146
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
4251
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
|
+
#
|
4252
4160
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
4253
4161
|
# The IDs of the public subnets. You can specify only one subnet per
|
4254
4162
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -4257,15 +4165,31 @@ module Aws::ElasticLoadBalancingV2
|
|
4257
4165
|
# two Availability Zones. You cannot specify Elastic IP addresses for
|
4258
4166
|
# your subnets.
|
4259
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
|
+
#
|
4260
4174
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
4261
|
-
# Availability Zones.
|
4262
|
-
#
|
4263
|
-
#
|
4264
|
-
#
|
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`.
|
4265
4188
|
#
|
4266
4189
|
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4267
4190
|
#
|
4268
4191
|
# * {Types::SetSubnetsOutput#availability_zones #availability_zones} => Array<Types::AvailabilityZone>
|
4192
|
+
# * {Types::SetSubnetsOutput#ip_address_type #ip_address_type} => String
|
4269
4193
|
#
|
4270
4194
|
#
|
4271
4195
|
# @example Example: To enable Availability Zones for a load balancer
|
@@ -4304,8 +4228,10 @@ module Aws::ElasticLoadBalancingV2
|
|
4304
4228
|
# subnet_id: "SubnetId",
|
4305
4229
|
# allocation_id: "AllocationId",
|
4306
4230
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
4231
|
+
# i_pv_6_address: "IPv6Address",
|
4307
4232
|
# },
|
4308
4233
|
# ],
|
4234
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
4309
4235
|
# })
|
4310
4236
|
#
|
4311
4237
|
# @example Response structure
|
@@ -4318,6 +4244,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4318
4244
|
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
4319
4245
|
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
4320
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"
|
4321
4249
|
#
|
4322
4250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
|
4323
4251
|
#
|
@@ -4341,7 +4269,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4341
4269
|
params: params,
|
4342
4270
|
config: config)
|
4343
4271
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4344
|
-
context[:gem_version] = '1.
|
4272
|
+
context[:gem_version] = '1.58.0'
|
4345
4273
|
Seahorse::Client::Request.new(handlers, context)
|
4346
4274
|
end
|
4347
4275
|
|