aws-sdk-elasticloadbalancingv2 1.55.0 → 1.60.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: f9abf5898bf4c1d0c73974910b6b9b1e5592498550da359c70dc634b1eba7015
|
4
|
+
data.tar.gz: 1b6ee60ce9e74e0de3c3805eec1a65963da25708bd2c07c5feff1557c58d0279
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4e40f0588c4bc9176d1c74c174a5150ba0bfacc9dd65ef9dbb2825b2e883f552ce5de6722d57b0e2fef8d5b0978cbc665cd638f2aef226528a27022f6f59072
|
7
|
+
data.tar.gz: c6bd0735fb965aab3785e89a9f27589ad2efbeb66d6277117f0a59390d355f56f0b3de51526e1ee672824eeef3e59585c442991c0052cb6f9242c306afc63dc4
|
@@ -439,7 +439,7 @@ module Aws::ElasticLoadBalancingV2
|
|
439
439
|
end
|
440
440
|
|
441
441
|
# Creates a listener for the specified Application Load Balancer,
|
442
|
-
# Network Load Balancer
|
442
|
+
# Network Load Balancer, or Gateway Load Balancer.
|
443
443
|
#
|
444
444
|
# For more information, see the following:
|
445
445
|
#
|
@@ -466,8 +466,9 @@ module Aws::ElasticLoadBalancingV2
|
|
466
466
|
# The protocol for connections from clients to the load balancer. For
|
467
467
|
# Application Load Balancers, the supported protocols are HTTP and
|
468
468
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
469
|
-
# TLS, UDP, and TCP\_UDP. You
|
470
|
-
#
|
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.
|
471
472
|
#
|
472
473
|
# @option params [Integer] :port
|
473
474
|
# The port on which the load balancer is listening. You cannot specify a
|
@@ -819,7 +820,9 @@ module Aws::ElasticLoadBalancingV2
|
|
819
820
|
# Availability Zones. You can specify one Elastic IP address per subnet
|
820
821
|
# if you need static IP addresses for your internet-facing load
|
821
822
|
# balancer. For internal load balancers, you can specify one private IP
|
822
|
-
# 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.
|
823
826
|
#
|
824
827
|
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
825
828
|
# Availability Zones. You cannot specify Elastic IP addresses for your
|
@@ -853,10 +856,10 @@ module Aws::ElasticLoadBalancingV2
|
|
853
856
|
# The type of load balancer. The default is `application`.
|
854
857
|
#
|
855
858
|
# @option params [String] :ip_address_type
|
856
|
-
#
|
857
|
-
#
|
858
|
-
#
|
859
|
-
#
|
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`.
|
860
863
|
#
|
861
864
|
# @option params [String] :customer_owned_ipv_4_pool
|
862
865
|
# \[Application Load Balancers on Outposts\] The ID of the
|
@@ -968,6 +971,7 @@ module Aws::ElasticLoadBalancingV2
|
|
968
971
|
# subnet_id: "SubnetId",
|
969
972
|
# allocation_id: "AllocationId",
|
970
973
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
974
|
+
# i_pv_6_address: "IPv6Address",
|
971
975
|
# },
|
972
976
|
# ],
|
973
977
|
# security_groups: ["SecurityGroupId"],
|
@@ -1004,6 +1008,7 @@ module Aws::ElasticLoadBalancingV2
|
|
1004
1008
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
1005
1009
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
1006
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
|
1007
1012
|
# resp.load_balancers[0].security_groups #=> Array
|
1008
1013
|
# resp.load_balancers[0].security_groups[0] #=> String
|
1009
1014
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -1365,11 +1370,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1365
1370
|
#
|
1366
1371
|
# @option params [Integer] :health_check_interval_seconds
|
1367
1372
|
# The approximate amount of time, in seconds, between health checks of
|
1368
|
-
# an individual target.
|
1369
|
-
# 10 and 30 seconds. If the target
|
1370
|
-
#
|
1371
|
-
#
|
1372
|
-
# 35 seconds.
|
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.
|
1373
1378
|
#
|
1374
1379
|
# @option params [Integer] :health_check_timeout_seconds
|
1375
1380
|
# The amount of time, in seconds, during which no response from a target
|
@@ -2125,6 +2130,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2125
2130
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
2126
2131
|
# resp.load_balancers[0].availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
2127
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
|
2128
2134
|
# resp.load_balancers[0].security_groups #=> Array
|
2129
2135
|
# resp.load_balancers[0].security_groups[0] #=> String
|
2130
2136
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
@@ -2839,7 +2845,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2839
2845
|
# The protocol for connections from clients to the load balancer.
|
2840
2846
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2841
2847
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2842
|
-
# protocols. You
|
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.
|
2843
2851
|
#
|
2844
2852
|
# @option params [String] :ssl_policy
|
2845
2853
|
# \[HTTPS and TLS listeners\] The security policy that defines which
|
@@ -3901,7 +3909,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3901
3909
|
# @option params [required, String] :ip_address_type
|
3902
3910
|
# The IP address type. The possible values are `ipv4` (for IPv4
|
3903
3911
|
# addresses) and `dualstack` (for IPv4 and IPv6 addresses). Internal
|
3904
|
-
# load balancers must use `ipv4`.
|
3912
|
+
# load balancers must use `ipv4`. You can’t specify `dualstack` for a
|
3913
|
+
# load balancer with a UDP or TCP\_UDP listener.
|
3905
3914
|
#
|
3906
3915
|
# @return [Types::SetIpAddressTypeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3907
3916
|
#
|
@@ -4133,10 +4142,21 @@ module Aws::ElasticLoadBalancingV2
|
|
4133
4142
|
# The Amazon Resource Name (ARN) of the load balancer.
|
4134
4143
|
#
|
4135
4144
|
# @option params [Array<String>] :subnets
|
4136
|
-
# The IDs of the public subnets. You
|
4137
|
-
# two Availability Zones. You can specify only one subnet per
|
4145
|
+
# The IDs of the public subnets. You can specify only one subnet per
|
4138
4146
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
4139
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
|
+
#
|
4140
4160
|
# @option params [Array<Types::SubnetMapping>] :subnet_mappings
|
4141
4161
|
# The IDs of the public subnets. You can specify only one subnet per
|
4142
4162
|
# Availability Zone. You must specify either subnets or subnet mappings.
|
@@ -4145,15 +4165,31 @@ module Aws::ElasticLoadBalancingV2
|
|
4145
4165
|
# two Availability Zones. You cannot specify Elastic IP addresses for
|
4146
4166
|
# your subnets.
|
4147
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
|
+
#
|
4148
4174
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
4149
|
-
# Availability Zones.
|
4150
|
-
#
|
4151
|
-
#
|
4152
|
-
#
|
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`.
|
4153
4188
|
#
|
4154
4189
|
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4155
4190
|
#
|
4156
4191
|
# * {Types::SetSubnetsOutput#availability_zones #availability_zones} => Array<Types::AvailabilityZone>
|
4192
|
+
# * {Types::SetSubnetsOutput#ip_address_type #ip_address_type} => String
|
4157
4193
|
#
|
4158
4194
|
#
|
4159
4195
|
# @example Example: To enable Availability Zones for a load balancer
|
@@ -4192,8 +4228,10 @@ module Aws::ElasticLoadBalancingV2
|
|
4192
4228
|
# subnet_id: "SubnetId",
|
4193
4229
|
# allocation_id: "AllocationId",
|
4194
4230
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
4231
|
+
# i_pv_6_address: "IPv6Address",
|
4195
4232
|
# },
|
4196
4233
|
# ],
|
4234
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
4197
4235
|
# })
|
4198
4236
|
#
|
4199
4237
|
# @example Response structure
|
@@ -4206,6 +4244,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4206
4244
|
# resp.availability_zones[0].load_balancer_addresses[0].ip_address #=> String
|
4207
4245
|
# resp.availability_zones[0].load_balancer_addresses[0].allocation_id #=> String
|
4208
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"
|
4209
4249
|
#
|
4210
4250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets AWS API Documentation
|
4211
4251
|
#
|
@@ -4229,7 +4269,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4229
4269
|
params: params,
|
4230
4270
|
config: config)
|
4231
4271
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
4232
|
-
context[:gem_version] = '1.
|
4272
|
+
context[:gem_version] = '1.60.0'
|
4233
4273
|
Seahorse::Client::Request.new(handlers, context)
|
4234
4274
|
end
|
4235
4275
|
|
@@ -131,6 +131,7 @@ module Aws::ElasticLoadBalancingV2
|
|
131
131
|
HttpHeaderConditionConfig = Shapes::StructureShape.new(name: 'HttpHeaderConditionConfig')
|
132
132
|
HttpHeaderConditionName = Shapes::StringShape.new(name: 'HttpHeaderConditionName')
|
133
133
|
HttpRequestMethodConditionConfig = Shapes::StructureShape.new(name: 'HttpRequestMethodConditionConfig')
|
134
|
+
IPv6Address = Shapes::StringShape.new(name: 'IPv6Address')
|
134
135
|
IncompatibleProtocolsException = Shapes::StructureShape.new(name: 'IncompatibleProtocolsException')
|
135
136
|
InvalidConfigurationRequestException = Shapes::StructureShape.new(name: 'InvalidConfigurationRequestException')
|
136
137
|
InvalidLoadBalancerActionException = Shapes::StructureShape.new(name: 'InvalidLoadBalancerActionException')
|
@@ -639,6 +640,7 @@ module Aws::ElasticLoadBalancingV2
|
|
639
640
|
LoadBalancerAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
640
641
|
LoadBalancerAddress.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId"))
|
641
642
|
LoadBalancerAddress.add_member(:private_i_pv_4_address, Shapes::ShapeRef.new(shape: PrivateIPv4Address, location_name: "PrivateIPv4Address"))
|
643
|
+
LoadBalancerAddress.add_member(:i_pv_6_address, Shapes::ShapeRef.new(shape: IPv6Address, location_name: "IPv6Address"))
|
642
644
|
LoadBalancerAddress.struct_class = Types::LoadBalancerAddress
|
643
645
|
|
644
646
|
LoadBalancerAddresses.member = Shapes::ShapeRef.new(shape: LoadBalancerAddress)
|
@@ -818,9 +820,11 @@ module Aws::ElasticLoadBalancingV2
|
|
818
820
|
SetSubnetsInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
819
821
|
SetSubnetsInput.add_member(:subnets, Shapes::ShapeRef.new(shape: Subnets, location_name: "Subnets"))
|
820
822
|
SetSubnetsInput.add_member(:subnet_mappings, Shapes::ShapeRef.new(shape: SubnetMappings, location_name: "SubnetMappings"))
|
823
|
+
SetSubnetsInput.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
821
824
|
SetSubnetsInput.struct_class = Types::SetSubnetsInput
|
822
825
|
|
823
826
|
SetSubnetsOutput.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, location_name: "AvailabilityZones"))
|
827
|
+
SetSubnetsOutput.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
824
828
|
SetSubnetsOutput.struct_class = Types::SetSubnetsOutput
|
825
829
|
|
826
830
|
SourceIpConditionConfig.add_member(:values, Shapes::ShapeRef.new(shape: ListOfString, location_name: "Values"))
|
@@ -840,6 +844,7 @@ module Aws::ElasticLoadBalancingV2
|
|
840
844
|
SubnetMapping.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
841
845
|
SubnetMapping.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId"))
|
842
846
|
SubnetMapping.add_member(:private_i_pv_4_address, Shapes::ShapeRef.new(shape: PrivateIPv4Address, location_name: "PrivateIPv4Address"))
|
847
|
+
SubnetMapping.add_member(:i_pv_6_address, Shapes::ShapeRef.new(shape: IPv6Address, location_name: "IPv6Address"))
|
843
848
|
SubnetMapping.struct_class = Types::SubnetMapping
|
844
849
|
|
845
850
|
SubnetMappings.member = Shapes::ShapeRef.new(shape: SubnetMapping)
|
@@ -613,8 +613,9 @@ module Aws::ElasticLoadBalancingV2
|
|
613
613
|
# The protocol for connections from clients to the load balancer. For
|
614
614
|
# Application Load Balancers, the supported protocols are HTTP and
|
615
615
|
# HTTPS. For Network Load Balancers, the supported protocols are TCP,
|
616
|
-
# TLS, UDP, and TCP\_UDP. You
|
617
|
-
#
|
616
|
+
# TLS, UDP, and TCP\_UDP. You can’t specify the UDP or TCP\_UDP
|
617
|
+
# protocol if dual-stack mode is enabled. You cannot specify a
|
618
|
+
# protocol for a Gateway Load Balancer.
|
618
619
|
# @return [String]
|
619
620
|
#
|
620
621
|
# @!attribute [rw] port
|
@@ -711,6 +712,7 @@ module Aws::ElasticLoadBalancingV2
|
|
711
712
|
# subnet_id: "SubnetId",
|
712
713
|
# allocation_id: "AllocationId",
|
713
714
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
715
|
+
# i_pv_6_address: "IPv6Address",
|
714
716
|
# },
|
715
717
|
# ],
|
716
718
|
# security_groups: ["SecurityGroupId"],
|
@@ -775,7 +777,9 @@ module Aws::ElasticLoadBalancingV2
|
|
775
777
|
# Availability Zones. You can specify one Elastic IP address per
|
776
778
|
# subnet if you need static IP addresses for your internet-facing load
|
777
779
|
# balancer. For internal load balancers, you can specify one private
|
778
|
-
# IP address per subnet from the IPv4 range of the subnet.
|
780
|
+
# IP address per subnet from the IPv4 range of the subnet. For
|
781
|
+
# internet-facing load balancer, you can specify one IPv6 address per
|
782
|
+
# subnet.
|
779
783
|
#
|
780
784
|
# \[Gateway Load Balancers\] You can specify subnets from one or more
|
781
785
|
# Availability Zones. You cannot specify Elastic IP addresses for your
|
@@ -814,10 +818,10 @@ module Aws::ElasticLoadBalancingV2
|
|
814
818
|
# @return [String]
|
815
819
|
#
|
816
820
|
# @!attribute [rw] ip_address_type
|
817
|
-
#
|
818
|
-
#
|
819
|
-
#
|
820
|
-
#
|
821
|
+
# The type of IP addresses used by the subnets for your load balancer.
|
822
|
+
# The possible values are `ipv4` (for IPv4 addresses) and `dualstack`
|
823
|
+
# (for IPv4 and IPv6 addresses). Internal load balancers must use
|
824
|
+
# `ipv4`.
|
821
825
|
# @return [String]
|
822
826
|
#
|
823
827
|
# @!attribute [rw] customer_owned_ipv_4_pool
|
@@ -1107,11 +1111,11 @@ module Aws::ElasticLoadBalancingV2
|
|
1107
1111
|
#
|
1108
1112
|
# @!attribute [rw] health_check_interval_seconds
|
1109
1113
|
# The approximate amount of time, in seconds, between health checks of
|
1110
|
-
# an individual target.
|
1111
|
-
# are 10 and 30 seconds. If the
|
1112
|
-
#
|
1113
|
-
#
|
1114
|
-
# is 35 seconds.
|
1114
|
+
# an individual target. If the target group protocol is TCP, TLS, UDP,
|
1115
|
+
# or TCP\_UDP, the supported values are 10 and 30 seconds. If the
|
1116
|
+
# target group protocol is HTTP or HTTPS, the default is 30 seconds.
|
1117
|
+
# If the target group protocol is GENEVE, the default is 10 seconds.
|
1118
|
+
# If the target type is `lambda`, the default is 35 seconds.
|
1115
1119
|
# @return [Integer]
|
1116
1120
|
#
|
1117
1121
|
# @!attribute [rw] health_check_timeout_seconds
|
@@ -2316,12 +2320,17 @@ module Aws::ElasticLoadBalancingV2
|
|
2316
2320
|
# load balancer.
|
2317
2321
|
# @return [String]
|
2318
2322
|
#
|
2323
|
+
# @!attribute [rw] i_pv_6_address
|
2324
|
+
# \[Network Load Balancers\] The IPv6 address.
|
2325
|
+
# @return [String]
|
2326
|
+
#
|
2319
2327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancerAddress AWS API Documentation
|
2320
2328
|
#
|
2321
2329
|
class LoadBalancerAddress < Struct.new(
|
2322
2330
|
:ip_address,
|
2323
2331
|
:allocation_id,
|
2324
|
-
:private_i_pv_4_address
|
2332
|
+
:private_i_pv_4_address,
|
2333
|
+
:i_pv_6_address)
|
2325
2334
|
SENSITIVE = []
|
2326
2335
|
include Aws::Structure
|
2327
2336
|
end
|
@@ -2384,6 +2393,11 @@ module Aws::ElasticLoadBalancingV2
|
|
2384
2393
|
# Balancing requires that message header names contain only
|
2385
2394
|
# alphanumeric characters and hyphens.
|
2386
2395
|
#
|
2396
|
+
# * `waf.fail_open.enabled` - Indicates whether to allow a WAF-enabled
|
2397
|
+
# load balancer to route requests to targets if it is unable to
|
2398
|
+
# forward the request to AWS WAF. The value is `true` or `false`.
|
2399
|
+
# The default is `false`.
|
2400
|
+
#
|
2387
2401
|
# The following attribute is supported by Network Load Balancers and
|
2388
2402
|
# Gateway Load Balancers:
|
2389
2403
|
#
|
@@ -2418,8 +2432,10 @@ module Aws::ElasticLoadBalancingV2
|
|
2418
2432
|
# @!attribute [rw] code
|
2419
2433
|
# The state code. The initial state of the load balancer is
|
2420
2434
|
# `provisioning`. After the load balancer is fully set up and ready to
|
2421
|
-
# route traffic, its state is `active`. If
|
2422
|
-
#
|
2435
|
+
# route traffic, its state is `active`. If load balancer is routing
|
2436
|
+
# traffic but does not have the resources it needs to scale, its state
|
2437
|
+
# is`active_impaired`. If the load balancer could not be set up, its
|
2438
|
+
# state is `failed`.
|
2423
2439
|
# @return [String]
|
2424
2440
|
#
|
2425
2441
|
# @!attribute [rw] reason
|
@@ -2562,8 +2578,9 @@ module Aws::ElasticLoadBalancingV2
|
|
2562
2578
|
# The protocol for connections from clients to the load balancer.
|
2563
2579
|
# Application Load Balancers support the HTTP and HTTPS protocols.
|
2564
2580
|
# Network Load Balancers support the TCP, TLS, UDP, and TCP\_UDP
|
2565
|
-
# protocols. You
|
2566
|
-
#
|
2581
|
+
# protocols. You can’t change the protocol to UDP or TCP\_UDP if
|
2582
|
+
# dual-stack mode is enabled. You cannot specify a protocol for a
|
2583
|
+
# Gateway Load Balancer.
|
2567
2584
|
# @return [String]
|
2568
2585
|
#
|
2569
2586
|
# @!attribute [rw] ssl_policy
|
@@ -3497,7 +3514,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3497
3514
|
# @!attribute [rw] ip_address_type
|
3498
3515
|
# The IP address type. The possible values are `ipv4` (for IPv4
|
3499
3516
|
# addresses) and `dualstack` (for IPv4 and IPv6 addresses). Internal
|
3500
|
-
# load balancers must use `ipv4`.
|
3517
|
+
# load balancers must use `ipv4`. You can’t specify `dualstack` for a
|
3518
|
+
# load balancer with a UDP or TCP\_UDP listener.
|
3501
3519
|
# @return [String]
|
3502
3520
|
#
|
3503
3521
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetIpAddressTypeInput AWS API Documentation
|
@@ -3605,8 +3623,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3605
3623
|
# subnet_id: "SubnetId",
|
3606
3624
|
# allocation_id: "AllocationId",
|
3607
3625
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
3626
|
+
# i_pv_6_address: "IPv6Address",
|
3608
3627
|
# },
|
3609
3628
|
# ],
|
3629
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
3610
3630
|
# }
|
3611
3631
|
#
|
3612
3632
|
# @!attribute [rw] load_balancer_arn
|
@@ -3614,10 +3634,21 @@ module Aws::ElasticLoadBalancingV2
|
|
3614
3634
|
# @return [String]
|
3615
3635
|
#
|
3616
3636
|
# @!attribute [rw] subnets
|
3617
|
-
# The IDs of the public subnets. You
|
3618
|
-
# least two Availability Zones. You can specify only one subnet per
|
3637
|
+
# The IDs of the public subnets. You can specify only one subnet per
|
3619
3638
|
# Availability Zone. You must specify either subnets or subnet
|
3620
3639
|
# mappings.
|
3640
|
+
#
|
3641
|
+
# \[Application Load Balancers\] You must specify subnets from at
|
3642
|
+
# least two Availability Zones.
|
3643
|
+
#
|
3644
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
3645
|
+
# Outpost subnet.
|
3646
|
+
#
|
3647
|
+
# \[Application Load Balancers on Local Zones\] You can specify
|
3648
|
+
# subnets from one or more Local Zones.
|
3649
|
+
#
|
3650
|
+
# \[Network Load Balancers\] You can specify subnets from one or more
|
3651
|
+
# Availability Zones.
|
3621
3652
|
# @return [Array<String>]
|
3622
3653
|
#
|
3623
3654
|
# @!attribute [rw] subnet_mappings
|
@@ -3629,19 +3660,36 @@ module Aws::ElasticLoadBalancingV2
|
|
3629
3660
|
# least two Availability Zones. You cannot specify Elastic IP
|
3630
3661
|
# addresses for your subnets.
|
3631
3662
|
#
|
3663
|
+
# \[Application Load Balancers on Outposts\] You must specify one
|
3664
|
+
# Outpost subnet.
|
3665
|
+
#
|
3666
|
+
# \[Application Load Balancers on Local Zones\] You can specify
|
3667
|
+
# subnets from one or more Local Zones.
|
3668
|
+
#
|
3632
3669
|
# \[Network Load Balancers\] You can specify subnets from one or more
|
3633
|
-
# Availability Zones.
|
3634
|
-
#
|
3635
|
-
#
|
3636
|
-
#
|
3670
|
+
# Availability Zones. You can specify one Elastic IP address per
|
3671
|
+
# subnet if you need static IP addresses for your internet-facing load
|
3672
|
+
# balancer. For internal load balancers, you can specify one private
|
3673
|
+
# IP address per subnet from the IPv4 range of the subnet. For
|
3674
|
+
# internet-facing load balancer, you can specify one IPv6 address per
|
3675
|
+
# subnet.
|
3637
3676
|
# @return [Array<Types::SubnetMapping>]
|
3638
3677
|
#
|
3678
|
+
# @!attribute [rw] ip_address_type
|
3679
|
+
# \[Network Load Balancers\] The type of IP addresses used by the
|
3680
|
+
# subnets for your load balancer. The possible values are `ipv4` (for
|
3681
|
+
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
|
3682
|
+
# can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
|
3683
|
+
# listener. Internal load balancers must use `ipv4`.
|
3684
|
+
# @return [String]
|
3685
|
+
#
|
3639
3686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput AWS API Documentation
|
3640
3687
|
#
|
3641
3688
|
class SetSubnetsInput < Struct.new(
|
3642
3689
|
:load_balancer_arn,
|
3643
3690
|
:subnets,
|
3644
|
-
:subnet_mappings
|
3691
|
+
:subnet_mappings,
|
3692
|
+
:ip_address_type)
|
3645
3693
|
SENSITIVE = []
|
3646
3694
|
include Aws::Structure
|
3647
3695
|
end
|
@@ -3650,10 +3698,15 @@ module Aws::ElasticLoadBalancingV2
|
|
3650
3698
|
# Information about the subnets.
|
3651
3699
|
# @return [Array<Types::AvailabilityZone>]
|
3652
3700
|
#
|
3701
|
+
# @!attribute [rw] ip_address_type
|
3702
|
+
# \[Network Load Balancers\] The IP address type.
|
3703
|
+
# @return [String]
|
3704
|
+
#
|
3653
3705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsOutput AWS API Documentation
|
3654
3706
|
#
|
3655
3707
|
class SetSubnetsOutput < Struct.new(
|
3656
|
-
:availability_zones
|
3708
|
+
:availability_zones,
|
3709
|
+
:ip_address_type)
|
3657
3710
|
SENSITIVE = []
|
3658
3711
|
include Aws::Structure
|
3659
3712
|
end
|
@@ -3724,6 +3777,7 @@ module Aws::ElasticLoadBalancingV2
|
|
3724
3777
|
# subnet_id: "SubnetId",
|
3725
3778
|
# allocation_id: "AllocationId",
|
3726
3779
|
# private_i_pv_4_address: "PrivateIPv4Address",
|
3780
|
+
# i_pv_6_address: "IPv6Address",
|
3727
3781
|
# }
|
3728
3782
|
#
|
3729
3783
|
# @!attribute [rw] subnet_id
|
@@ -3740,12 +3794,17 @@ module Aws::ElasticLoadBalancingV2
|
|
3740
3794
|
# load balancer.
|
3741
3795
|
# @return [String]
|
3742
3796
|
#
|
3797
|
+
# @!attribute [rw] i_pv_6_address
|
3798
|
+
# \[Network Load Balancers\] The IPv6 address.
|
3799
|
+
# @return [String]
|
3800
|
+
#
|
3743
3801
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SubnetMapping AWS API Documentation
|
3744
3802
|
#
|
3745
3803
|
class SubnetMapping < Struct.new(
|
3746
3804
|
:subnet_id,
|
3747
3805
|
:allocation_id,
|
3748
|
-
:private_i_pv_4_address
|
3806
|
+
:private_i_pv_4_address,
|
3807
|
+
:i_pv_6_address)
|
3749
3808
|
SENSITIVE = []
|
3750
3809
|
include Aws::Structure
|
3751
3810
|
end
|
@@ -4001,8 +4060,8 @@ module Aws::ElasticLoadBalancingV2
|
|
4001
4060
|
# enabled. The value is `true` or `false`. The default is `false`.
|
4002
4061
|
#
|
4003
4062
|
# * `stickiness.type` - The type of sticky sessions. The possible
|
4004
|
-
# values are `lb_cookie` for Application Load
|
4005
|
-
# `source_ip` for Network Load Balancers.
|
4063
|
+
# values are `lb_cookie` and `app_cookie` for Application Load
|
4064
|
+
# Balancers or `source_ip` for Network Load Balancers.
|
4006
4065
|
#
|
4007
4066
|
# The following attributes are supported only if the load balancer is
|
4008
4067
|
# an Application Load Balancer and the target is an instance or an IP
|
@@ -4019,6 +4078,18 @@ module Aws::ElasticLoadBalancingV2
|
|
4019
4078
|
# ends, the target receives its full share of traffic. The range is
|
4020
4079
|
# 30-900 seconds (15 minutes). The default is 0 seconds (disabled).
|
4021
4080
|
#
|
4081
|
+
# * `stickiness.app_cookie.cookie_name` - Indicates the name of the
|
4082
|
+
# application-based cookie. Names that start with the following
|
4083
|
+
# names are not allowed: `AWSALB`, `AWSALBAPP`, and `AWSALBTG`.
|
4084
|
+
# They're reserved for use by the load balancer.
|
4085
|
+
#
|
4086
|
+
# * `stickiness.app_cookie.duration_seconds` - The time period, in
|
4087
|
+
# seconds, during which requests from a client should be routed to
|
4088
|
+
# the same target. After this time period expires, the
|
4089
|
+
# application-based cookie is considered stale. The range is 1
|
4090
|
+
# second to 1 week (604800 seconds). The default value is 1 day
|
4091
|
+
# (86400 seconds).
|
4092
|
+
#
|
4022
4093
|
# * `stickiness.lb_cookie.duration_seconds` - The time period, in
|
4023
4094
|
# seconds, during which requests from a client should be routed to
|
4024
4095
|
# the same target. After this time period expires, the load
|
@@ -4039,13 +4110,24 @@ module Aws::ElasticLoadBalancingV2
|
|
4039
4110
|
#
|
4040
4111
|
# ^
|
4041
4112
|
#
|
4042
|
-
# The following
|
4113
|
+
# The following attributes are supported only by Network Load
|
4114
|
+
# Balancers:
|
4115
|
+
#
|
4116
|
+
# * `deregistration_delay.connection_termination.enabled` - Indicates
|
4117
|
+
# whether the load balancer terminates connections at the end of the
|
4118
|
+
# deregistration timeout. The value is `true` or `false`. The
|
4119
|
+
# default is `false`.
|
4120
|
+
#
|
4121
|
+
# * `preserve_client_ip.enabled` - Indicates whether client IP
|
4122
|
+
# preservation is enabled. The value is `true` or `false`. The
|
4123
|
+
# default is disabled if the target group type is IP address and the
|
4124
|
+
# target group protocol is TCP or TLS. Otherwise, the default is
|
4125
|
+
# enabled. Client IP preservation cannot be disabled for UDP and
|
4126
|
+
# TCP\_UDP target groups.
|
4043
4127
|
#
|
4044
4128
|
# * `proxy_protocol_v2.enabled` - Indicates whether Proxy Protocol
|
4045
4129
|
# version 2 is enabled. The value is `true` or `false`. The default
|
4046
4130
|
# is `false`.
|
4047
|
-
#
|
4048
|
-
# ^
|
4049
4131
|
# @return [String]
|
4050
4132
|
#
|
4051
4133
|
# @!attribute [rw] value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticloadbalancingv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.60.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|