aws-sdk-elasticloadbalancingv2 1.89.0 → 1.91.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticloadbalancingv2/client.rb +47 -8
- data/lib/aws-sdk-elasticloadbalancingv2/client_api.rb +5 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +62 -13
- data/lib/aws-sdk-elasticloadbalancingv2.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7c8ee60da4bf180df20d3c0c3c025430ead6be78c9c9fba03dd431525767783
|
|
4
|
+
data.tar.gz: b6ad648f5ac8289d6126906ccfcf8d1757db3810bbb4cacfc54f5faa92d603e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d611108183be46cfb9430d35aa57fd5b4787dd722f1303271bba5fcda2559d9cf4a0b5e51a19b4050df5d4f85600cb79b5ac69f8f51952b3b87e37ebce34ffe5
|
|
7
|
+
data.tar.gz: c6b7b7f622bebfabbad6c27adf3e85dc96084d9f5bba77ee082efdd767f85925a89cfe7d4e495a44f4b049588e282265eed757c22c64644c10af5fccedcd3c9e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.91.0 (2023-09-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release enables default UDP connection termination and disabling unhealthy target connection termination for Network Load Balancers.
|
|
8
|
+
|
|
9
|
+
1.90.0 (2023-08-10)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release enables configuring security groups for Network Load Balancers
|
|
13
|
+
|
|
4
14
|
1.89.0 (2023-07-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.91.0
|
|
@@ -893,8 +893,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
893
893
|
# subnets.
|
|
894
894
|
#
|
|
895
895
|
# @option params [Array<String>] :security_groups
|
|
896
|
-
# \[Application Load Balancers\] The IDs of
|
|
897
|
-
# load balancer.
|
|
896
|
+
# \[Application Load Balancers and Network Load Balancers\] The IDs of
|
|
897
|
+
# the security groups for the load balancer.
|
|
898
898
|
#
|
|
899
899
|
# @option params [String] :scheme
|
|
900
900
|
# The nodes of an Internet-facing load balancer have public IP
|
|
@@ -1076,6 +1076,7 @@ module Aws::ElasticLoadBalancingV2
|
|
|
1076
1076
|
# resp.load_balancers[0].security_groups[0] #=> String
|
|
1077
1077
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
|
1078
1078
|
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
|
1079
|
+
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
|
|
1079
1080
|
#
|
|
1080
1081
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/CreateLoadBalancer AWS API Documentation
|
|
1081
1082
|
#
|
|
@@ -1746,6 +1747,32 @@ module Aws::ElasticLoadBalancingV2
|
|
|
1746
1747
|
# After the targets are deregistered, they no longer receive traffic
|
|
1747
1748
|
# from the load balancer.
|
|
1748
1749
|
#
|
|
1750
|
+
# The load balancer stops sending requests to targets that are
|
|
1751
|
+
# deregistering, but uses connection draining to ensure that in-flight
|
|
1752
|
+
# traffic completes on the existing connections. This deregistration
|
|
1753
|
+
# delay is configured by default but can be updated for each target
|
|
1754
|
+
# group.
|
|
1755
|
+
#
|
|
1756
|
+
# For more information, see the following:
|
|
1757
|
+
#
|
|
1758
|
+
# * [ Deregistration delay][1] in the *Application Load Balancers User
|
|
1759
|
+
# Guide*
|
|
1760
|
+
#
|
|
1761
|
+
# * [ Deregistration delay][2] in the *Network Load Balancers User
|
|
1762
|
+
# Guide*
|
|
1763
|
+
#
|
|
1764
|
+
# * [ Deregistration delay][3] in the *Gateway Load Balancers User
|
|
1765
|
+
# Guide*
|
|
1766
|
+
#
|
|
1767
|
+
# Note: If the specified target does not exist, the action returns
|
|
1768
|
+
# successfully.
|
|
1769
|
+
#
|
|
1770
|
+
#
|
|
1771
|
+
#
|
|
1772
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#deregistration-delay
|
|
1773
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay
|
|
1774
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#deregistration-delay
|
|
1775
|
+
#
|
|
1749
1776
|
# @option params [required, String] :target_group_arn
|
|
1750
1777
|
# The Amazon Resource Name (ARN) of the target group.
|
|
1751
1778
|
#
|
|
@@ -2208,6 +2235,7 @@ module Aws::ElasticLoadBalancingV2
|
|
|
2208
2235
|
# resp.load_balancers[0].security_groups[0] #=> String
|
|
2209
2236
|
# resp.load_balancers[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
|
2210
2237
|
# resp.load_balancers[0].customer_owned_ipv_4_pool #=> String
|
|
2238
|
+
# resp.load_balancers[0].enforce_security_group_inbound_rules_on_private_link_traffic #=> String
|
|
2211
2239
|
# resp.next_marker #=> String
|
|
2212
2240
|
#
|
|
2213
2241
|
#
|
|
@@ -4151,11 +4179,14 @@ module Aws::ElasticLoadBalancingV2
|
|
|
4151
4179
|
end
|
|
4152
4180
|
|
|
4153
4181
|
# Associates the specified security groups with the specified
|
|
4154
|
-
# Application Load Balancer
|
|
4155
|
-
# previously associated security groups.
|
|
4182
|
+
# Application Load Balancer or Network Load Balancer. The specified
|
|
4183
|
+
# security groups override the previously associated security groups.
|
|
4156
4184
|
#
|
|
4157
|
-
# You can't
|
|
4158
|
-
#
|
|
4185
|
+
# You can't perform this operation on a Network Load Balancer unless
|
|
4186
|
+
# you specified a security group for the load balancer when you created
|
|
4187
|
+
# it.
|
|
4188
|
+
#
|
|
4189
|
+
# You can't associate a security group with a Gateway Load Balancer.
|
|
4159
4190
|
#
|
|
4160
4191
|
# @option params [required, String] :load_balancer_arn
|
|
4161
4192
|
# The Amazon Resource Name (ARN) of the load balancer.
|
|
@@ -4163,9 +4194,15 @@ module Aws::ElasticLoadBalancingV2
|
|
|
4163
4194
|
# @option params [required, Array<String>] :security_groups
|
|
4164
4195
|
# The IDs of the security groups.
|
|
4165
4196
|
#
|
|
4197
|
+
# @option params [String] :enforce_security_group_inbound_rules_on_private_link_traffic
|
|
4198
|
+
# Indicates whether to evaluate inbound security group rules for traffic
|
|
4199
|
+
# sent to a Network Load Balancer through Amazon Web Services
|
|
4200
|
+
# PrivateLink. The default is `on`.
|
|
4201
|
+
#
|
|
4166
4202
|
# @return [Types::SetSecurityGroupsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4167
4203
|
#
|
|
4168
4204
|
# * {Types::SetSecurityGroupsOutput#security_group_ids #security_group_ids} => Array<String>
|
|
4205
|
+
# * {Types::SetSecurityGroupsOutput#enforce_security_group_inbound_rules_on_private_link_traffic #enforce_security_group_inbound_rules_on_private_link_traffic} => String
|
|
4169
4206
|
#
|
|
4170
4207
|
#
|
|
4171
4208
|
# @example Example: To associate a security group with a load balancer
|
|
@@ -4191,12 +4228,14 @@ module Aws::ElasticLoadBalancingV2
|
|
|
4191
4228
|
# resp = client.set_security_groups({
|
|
4192
4229
|
# load_balancer_arn: "LoadBalancerArn", # required
|
|
4193
4230
|
# security_groups: ["SecurityGroupId"], # required
|
|
4231
|
+
# enforce_security_group_inbound_rules_on_private_link_traffic: "on", # accepts on, off
|
|
4194
4232
|
# })
|
|
4195
4233
|
#
|
|
4196
4234
|
# @example Response structure
|
|
4197
4235
|
#
|
|
4198
4236
|
# resp.security_group_ids #=> Array
|
|
4199
4237
|
# resp.security_group_ids[0] #=> String
|
|
4238
|
+
# resp.enforce_security_group_inbound_rules_on_private_link_traffic #=> String, one of "on", "off"
|
|
4200
4239
|
#
|
|
4201
4240
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroups AWS API Documentation
|
|
4202
4241
|
#
|
|
@@ -4261,7 +4300,7 @@ module Aws::ElasticLoadBalancingV2
|
|
|
4261
4300
|
# subnets for your load balancer. The possible values are `ipv4` (for
|
|
4262
4301
|
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
|
|
4263
4302
|
# can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
|
|
4264
|
-
# listener.
|
|
4303
|
+
# listener.
|
|
4265
4304
|
#
|
|
4266
4305
|
# @return [Types::SetSubnetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4267
4306
|
#
|
|
@@ -4346,7 +4385,7 @@ module Aws::ElasticLoadBalancingV2
|
|
|
4346
4385
|
params: params,
|
|
4347
4386
|
config: config)
|
|
4348
4387
|
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
|
|
4349
|
-
context[:gem_version] = '1.
|
|
4388
|
+
context[:gem_version] = '1.91.0'
|
|
4350
4389
|
Seahorse::Client::Request.new(handlers, context)
|
|
4351
4390
|
end
|
|
4352
4391
|
|
|
@@ -114,6 +114,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
114
114
|
DuplicateLoadBalancerNameException = Shapes::StructureShape.new(name: 'DuplicateLoadBalancerNameException')
|
|
115
115
|
DuplicateTagKeysException = Shapes::StructureShape.new(name: 'DuplicateTagKeysException')
|
|
116
116
|
DuplicateTargetGroupNameException = Shapes::StructureShape.new(name: 'DuplicateTargetGroupNameException')
|
|
117
|
+
EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic = Shapes::StringShape.new(name: 'EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic')
|
|
118
|
+
EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = Shapes::StringShape.new(name: 'EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum')
|
|
117
119
|
FixedResponseActionConfig = Shapes::StructureShape.new(name: 'FixedResponseActionConfig')
|
|
118
120
|
FixedResponseActionContentType = Shapes::StringShape.new(name: 'FixedResponseActionContentType')
|
|
119
121
|
FixedResponseActionMessage = Shapes::StringShape.new(name: 'FixedResponseActionMessage')
|
|
@@ -638,6 +640,7 @@ module Aws::ElasticLoadBalancingV2
|
|
|
638
640
|
LoadBalancer.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroups"))
|
|
639
641
|
LoadBalancer.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
|
640
642
|
LoadBalancer.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: CustomerOwnedIpv4Pool, location_name: "CustomerOwnedIpv4Pool"))
|
|
643
|
+
LoadBalancer.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
|
641
644
|
LoadBalancer.struct_class = Types::LoadBalancer
|
|
642
645
|
|
|
643
646
|
LoadBalancerAddress.add_member(:ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "IpAddress"))
|
|
@@ -815,9 +818,11 @@ module Aws::ElasticLoadBalancingV2
|
|
|
815
818
|
|
|
816
819
|
SetSecurityGroupsInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
|
817
820
|
SetSecurityGroupsInput.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroups, required: true, location_name: "SecurityGroups"))
|
|
821
|
+
SetSecurityGroupsInput.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
|
818
822
|
SetSecurityGroupsInput.struct_class = Types::SetSecurityGroupsInput
|
|
819
823
|
|
|
820
824
|
SetSecurityGroupsOutput.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroups, location_name: "SecurityGroupIds"))
|
|
825
|
+
SetSecurityGroupsOutput.add_member(:enforce_security_group_inbound_rules_on_private_link_traffic, Shapes::ShapeRef.new(shape: EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum, location_name: "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic"))
|
|
821
826
|
SetSecurityGroupsOutput.struct_class = Types::SetSecurityGroupsOutput
|
|
822
827
|
|
|
823
828
|
SetSubnetsInput.add_member(:load_balancer_arn, Shapes::ShapeRef.new(shape: LoadBalancerArn, required: true, location_name: "LoadBalancerArn"))
|
|
@@ -50,9 +50,6 @@ module Aws::ElasticLoadBalancingV2
|
|
|
50
50
|
|
|
51
51
|
def initialize(options = {})
|
|
52
52
|
self[:region] = options[:region]
|
|
53
|
-
if self[:region].nil?
|
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
|
55
|
-
end
|
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
|
58
55
|
if self[:use_dual_stack].nil?
|
|
@@ -14,39 +14,42 @@ module Aws::ElasticLoadBalancingV2
|
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
|
-
if
|
|
18
|
-
if Aws::Endpoints::Matchers.
|
|
19
|
-
|
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
|
-
end
|
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
24
|
-
end
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
26
20
|
end
|
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
|
28
|
-
|
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
30
|
-
end
|
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
32
23
|
end
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
end
|
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
37
31
|
end
|
|
38
|
-
|
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
39
33
|
end
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing.#{region}.amazonaws.com", headers: {}, properties: {})
|
|
38
|
+
end
|
|
39
|
+
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
40
|
+
end
|
|
41
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
42
|
+
end
|
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
44
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
46
|
+
end
|
|
47
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
45
48
|
end
|
|
46
|
-
|
|
49
|
+
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
47
50
|
end
|
|
48
|
-
return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
49
51
|
end
|
|
52
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
50
53
|
raise ArgumentError, 'No endpoint could be resolved'
|
|
51
54
|
|
|
52
55
|
end
|
|
@@ -546,8 +546,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
546
546
|
# @return [Array<Types::SubnetMapping>]
|
|
547
547
|
#
|
|
548
548
|
# @!attribute [rw] security_groups
|
|
549
|
-
# \[Application Load Balancers\] The IDs of
|
|
550
|
-
# the load balancer.
|
|
549
|
+
# \[Application Load Balancers and Network Load Balancers\] The IDs of
|
|
550
|
+
# the security groups for the load balancer.
|
|
551
551
|
# @return [Array<String>]
|
|
552
552
|
#
|
|
553
553
|
# @!attribute [rw] scheme
|
|
@@ -1557,6 +1557,20 @@ module Aws::ElasticLoadBalancingV2
|
|
|
1557
1557
|
# Information about an Elastic Load Balancing resource limit for your
|
|
1558
1558
|
# Amazon Web Services account.
|
|
1559
1559
|
#
|
|
1560
|
+
# For more information, see the following:
|
|
1561
|
+
#
|
|
1562
|
+
# * [Quotas for your Application Load Balancers][1]
|
|
1563
|
+
#
|
|
1564
|
+
# * [Quotas for your Network Load Balancers][2]
|
|
1565
|
+
#
|
|
1566
|
+
# * [Quotas for your Gateway Load Balancers][3]
|
|
1567
|
+
#
|
|
1568
|
+
#
|
|
1569
|
+
#
|
|
1570
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
|
|
1571
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html
|
|
1572
|
+
# [3]: https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html
|
|
1573
|
+
#
|
|
1560
1574
|
# @!attribute [rw] name
|
|
1561
1575
|
# The name of the limit. The possible values are:
|
|
1562
1576
|
#
|
|
@@ -1735,6 +1749,12 @@ module Aws::ElasticLoadBalancingV2
|
|
|
1735
1749
|
# customer-owned address pool.
|
|
1736
1750
|
# @return [String]
|
|
1737
1751
|
#
|
|
1752
|
+
# @!attribute [rw] enforce_security_group_inbound_rules_on_private_link_traffic
|
|
1753
|
+
# Indicates whether to evaluate inbound security group rules for
|
|
1754
|
+
# traffic sent to a Network Load Balancer through Amazon Web Services
|
|
1755
|
+
# PrivateLink.
|
|
1756
|
+
# @return [String]
|
|
1757
|
+
#
|
|
1738
1758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/LoadBalancer AWS API Documentation
|
|
1739
1759
|
#
|
|
1740
1760
|
class LoadBalancer < Struct.new(
|
|
@@ -1750,7 +1770,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
1750
1770
|
:availability_zones,
|
|
1751
1771
|
:security_groups,
|
|
1752
1772
|
:ip_address_type,
|
|
1753
|
-
:customer_owned_ipv_4_pool
|
|
1773
|
+
:customer_owned_ipv_4_pool,
|
|
1774
|
+
:enforce_security_group_inbound_rules_on_private_link_traffic)
|
|
1754
1775
|
SENSITIVE = []
|
|
1755
1776
|
include Aws::Structure
|
|
1756
1777
|
end
|
|
@@ -2515,6 +2536,13 @@ module Aws::ElasticLoadBalancingV2
|
|
|
2515
2536
|
# of the following conditions: `http-header` and `query-string`. Note
|
|
2516
2537
|
# that the value for a condition cannot be empty.
|
|
2517
2538
|
#
|
|
2539
|
+
# For more information, see [Quotas for your Application Load
|
|
2540
|
+
# Balancers][1].
|
|
2541
|
+
#
|
|
2542
|
+
#
|
|
2543
|
+
#
|
|
2544
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
|
|
2545
|
+
#
|
|
2518
2546
|
# @!attribute [rw] field
|
|
2519
2547
|
# The field in the HTTP request. The following are the possible
|
|
2520
2548
|
# values:
|
|
@@ -2709,11 +2737,18 @@ module Aws::ElasticLoadBalancingV2
|
|
|
2709
2737
|
# The IDs of the security groups.
|
|
2710
2738
|
# @return [Array<String>]
|
|
2711
2739
|
#
|
|
2740
|
+
# @!attribute [rw] enforce_security_group_inbound_rules_on_private_link_traffic
|
|
2741
|
+
# Indicates whether to evaluate inbound security group rules for
|
|
2742
|
+
# traffic sent to a Network Load Balancer through Amazon Web Services
|
|
2743
|
+
# PrivateLink. The default is `on`.
|
|
2744
|
+
# @return [String]
|
|
2745
|
+
#
|
|
2712
2746
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsInput AWS API Documentation
|
|
2713
2747
|
#
|
|
2714
2748
|
class SetSecurityGroupsInput < Struct.new(
|
|
2715
2749
|
:load_balancer_arn,
|
|
2716
|
-
:security_groups
|
|
2750
|
+
:security_groups,
|
|
2751
|
+
:enforce_security_group_inbound_rules_on_private_link_traffic)
|
|
2717
2752
|
SENSITIVE = []
|
|
2718
2753
|
include Aws::Structure
|
|
2719
2754
|
end
|
|
@@ -2722,10 +2757,17 @@ module Aws::ElasticLoadBalancingV2
|
|
|
2722
2757
|
# The IDs of the security groups associated with the load balancer.
|
|
2723
2758
|
# @return [Array<String>]
|
|
2724
2759
|
#
|
|
2760
|
+
# @!attribute [rw] enforce_security_group_inbound_rules_on_private_link_traffic
|
|
2761
|
+
# Indicates whether to evaluate inbound security group rules for
|
|
2762
|
+
# traffic sent to a Network Load Balancer through Amazon Web Services
|
|
2763
|
+
# PrivateLink.
|
|
2764
|
+
# @return [String]
|
|
2765
|
+
#
|
|
2725
2766
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSecurityGroupsOutput AWS API Documentation
|
|
2726
2767
|
#
|
|
2727
2768
|
class SetSecurityGroupsOutput < Struct.new(
|
|
2728
|
-
:security_group_ids
|
|
2769
|
+
:security_group_ids,
|
|
2770
|
+
:enforce_security_group_inbound_rules_on_private_link_traffic)
|
|
2729
2771
|
SENSITIVE = []
|
|
2730
2772
|
include Aws::Structure
|
|
2731
2773
|
end
|
|
@@ -2781,7 +2823,7 @@ module Aws::ElasticLoadBalancingV2
|
|
|
2781
2823
|
# subnets for your load balancer. The possible values are `ipv4` (for
|
|
2782
2824
|
# IPv4 addresses) and `dualstack` (for IPv4 and IPv6 addresses). You
|
|
2783
2825
|
# can’t specify `dualstack` for a load balancer with a UDP or TCP\_UDP
|
|
2784
|
-
# listener.
|
|
2826
|
+
# listener.
|
|
2785
2827
|
# @return [String]
|
|
2786
2828
|
#
|
|
2787
2829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnetsInput AWS API Documentation
|
|
@@ -2956,8 +2998,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
2956
2998
|
# The port on which the target is listening. If the target group
|
|
2957
2999
|
# protocol is GENEVE, the supported port is 6081. If the target type
|
|
2958
3000
|
# is `alb`, the targeted Application Load Balancer must have at least
|
|
2959
|
-
# one listener whose port matches the target group port.
|
|
2960
|
-
# the target is a Lambda function.
|
|
3001
|
+
# one listener whose port matches the target group port. This
|
|
3002
|
+
# parameter is not used if the target is a Lambda function.
|
|
2961
3003
|
# @return [Integer]
|
|
2962
3004
|
#
|
|
2963
3005
|
# @!attribute [rw] availability_zone
|
|
@@ -3013,8 +3055,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
3013
3055
|
# @return [String]
|
|
3014
3056
|
#
|
|
3015
3057
|
# @!attribute [rw] port
|
|
3016
|
-
# The port on which the targets are listening.
|
|
3017
|
-
# is a Lambda function.
|
|
3058
|
+
# The port on which the targets are listening. This parameter is not
|
|
3059
|
+
# used if the target is a Lambda function.
|
|
3018
3060
|
# @return [Integer]
|
|
3019
3061
|
#
|
|
3020
3062
|
# @!attribute [rw] vpc_id
|
|
@@ -3064,8 +3106,9 @@ module Aws::ElasticLoadBalancingV2
|
|
|
3064
3106
|
# @return [Types::Matcher]
|
|
3065
3107
|
#
|
|
3066
3108
|
# @!attribute [rw] load_balancer_arns
|
|
3067
|
-
# The Amazon Resource
|
|
3068
|
-
# traffic to this target group.
|
|
3109
|
+
# The Amazon Resource Name (ARN) of the load balancer that routes
|
|
3110
|
+
# traffic to this target group. You can use each target group with
|
|
3111
|
+
# only one load balancer.
|
|
3069
3112
|
# @return [Array<String>]
|
|
3070
3113
|
#
|
|
3071
3114
|
# @!attribute [rw] target_type
|
|
@@ -3231,7 +3274,8 @@ module Aws::ElasticLoadBalancingV2
|
|
|
3231
3274
|
#
|
|
3232
3275
|
# * `deregistration_delay.connection_termination.enabled` - Indicates
|
|
3233
3276
|
# whether the load balancer terminates connections at the end of the
|
|
3234
|
-
# deregistration timeout. The value is `true` or `false`.
|
|
3277
|
+
# deregistration timeout. The value is `true` or `false`. For new
|
|
3278
|
+
# UDP/TCP\_UDP target groups the default is `true`. Otherwise, the
|
|
3235
3279
|
# default is `false`.
|
|
3236
3280
|
#
|
|
3237
3281
|
# * `preserve_client_ip.enabled` - Indicates whether client IP
|
|
@@ -3245,6 +3289,11 @@ module Aws::ElasticLoadBalancingV2
|
|
|
3245
3289
|
# version 2 is enabled. The value is `true` or `false`. The default
|
|
3246
3290
|
# is `false`.
|
|
3247
3291
|
#
|
|
3292
|
+
# * `target_health_state.unhealthy.connection_termination.enabled` -
|
|
3293
|
+
# Indicates whether the load balancer terminates connections to
|
|
3294
|
+
# unhealthy targets. The value is `true` or `false`. The default is
|
|
3295
|
+
# `true`.
|
|
3296
|
+
#
|
|
3248
3297
|
# The following attributes are supported only by Gateway Load
|
|
3249
3298
|
# Balancers:
|
|
3250
3299
|
#
|
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.91.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: 2023-
|
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|