aws-sdk-elasticloadbalancingv2 1.155.0 → 1.157.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: b3937453adbfe2c7d0a3e8f4c943aedcebf626a51c96dd07f5c67790ff10e4bc
4
- data.tar.gz: 8ca17a724fdfe79a4cfebbcdd4747a1258ad192ea8daa76dfb832a0486d82c70
3
+ metadata.gz: 03e0edbafbace7ee4b4ac7c5891a424d26db433cf515527518f985ca2f92b571
4
+ data.tar.gz: 3387ff63c4d1a9a413fcf27d5663fbddddb7455234cc8f99d300f87099336798
5
5
  SHA512:
6
- metadata.gz: 97544cbcbe880d6fb642c608cafbeb6ef5ce6c8ab28a6fb17f08aed3e5ff4772a5581a7ea1e70b0b9e17de4aad7dc47b93834c0db38ba9f3280666d66c5c1a2c
7
- data.tar.gz: 72f9eba841bbed91e5565d2ca2c39b3b32b0f2ca0aad792e534a5be4f0dfff44b058329e94356344c672213e6664b2f2f2eb4fa5fc5643bedd744011196f4c11
6
+ metadata.gz: 5b79dc811721ac511e676e7cb41a8aaefdf549321a3cf2c2cec82749cd5ac548c89e77e114a8b20b48c592e555d0447a132dc8de78d0ad4ca9be0329022ff8f5
7
+ data.tar.gz: e3604476e5c7a1d4b8003a4507d90366cce0f9f11412a399f8bce68ab779bc9d69c0dedb55c504d54a9090bb4ff1bf3ad3534a61dc083ebc4d636a07820314b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.157.0 (2026-09-03)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for sending TCP resets for Gateway Load Balancer when a flow's idle timeout expires, or when a target becomes unhealthy or is deregistered. This adds updates the CLI documentation.
8
+
9
+ 1.156.0 (2026-07-22)
10
+ ------------------
11
+
12
+ * Feature - This adds CLI examples for the IpAddressType field on SourceIpConfig, enabling Network Load Balancer listener rules to match traffic based on whether the source IP is IPv4 or IPv6.
13
+
4
14
  1.155.0 (2026-07-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.155.0
1
+ 1.157.0
@@ -1273,19 +1273,21 @@ module Aws::ElasticLoadBalancingV2
1273
1273
  end
1274
1274
 
1275
1275
  # Creates a rule for the specified listener. The listener must be
1276
- # associated with an Application Load Balancer.
1276
+ # associated with an Application Load Balancer or a dual-stack Network
1277
+ # Load Balancer.
1277
1278
  #
1278
- # Each rule consists of a priority, one or more actions, one or more
1279
- # conditions, and up to two optional transforms. Rules are evaluated in
1280
- # priority order, from the lowest value to the highest value. When the
1281
- # conditions for a rule are met, its actions are performed. If the
1282
- # conditions for no rules are met, the actions for the default rule are
1283
- # performed. For more information, see [Listener rules][1] in the
1284
- # *Application Load Balancers Guide*.
1279
+ # Each rule consists of a priority, one or more actions, and one or more
1280
+ # conditions. Rules are evaluated in priority order, from the lowest
1281
+ # value to the highest value. When the conditions for a rule are met,
1282
+ # its actions are performed. If the conditions for no rules are met, the
1283
+ # actions for the default rule are performed. For more information, see
1284
+ # [Listener rules][1] in the *Application Load Balancers Guide* or
1285
+ # [Listener rules][2] in the *Network Load Balancers Guide*.
1285
1286
  #
1286
1287
  #
1287
1288
  #
1288
1289
  # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules
1290
+ # [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html#listener-rules
1289
1291
  #
1290
1292
  # @option params [required, String] :listener_arn
1291
1293
  # The Amazon Resource Name (ARN) of the listener.
@@ -1361,6 +1363,55 @@ module Aws::ElasticLoadBalancingV2
1361
1363
  # ],
1362
1364
  # }
1363
1365
  #
1366
+ # @example Example: To create a listener rule that routes IPv4 traffic on a Network Load Balancer
1367
+ #
1368
+ # # This example creates a rule on a dual-stack Network Load Balancer that routes IPv4 source traffic to an IPv4 target
1369
+ # # group.
1370
+ #
1371
+ # resp = client.create_rule({
1372
+ # actions: [
1373
+ # {
1374
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-ipv4-targets/1234567890abcdef",
1375
+ # type: "forward",
1376
+ # },
1377
+ # ],
1378
+ # conditions: [
1379
+ # {
1380
+ # field: "source-ip",
1381
+ # source_ip_config: {
1382
+ # ip_address_type: "ipv4",
1383
+ # },
1384
+ # },
1385
+ # ],
1386
+ # listener_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/net/my-nlb/1234567890abcdef/1234567890abcdef",
1387
+ # priority: 10,
1388
+ # })
1389
+ #
1390
+ # resp.to_h outputs the following:
1391
+ # {
1392
+ # rules: [
1393
+ # {
1394
+ # actions: [
1395
+ # {
1396
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-ipv4-targets/1234567890abcdef",
1397
+ # type: "forward",
1398
+ # },
1399
+ # ],
1400
+ # conditions: [
1401
+ # {
1402
+ # field: "source-ip",
1403
+ # source_ip_config: {
1404
+ # ip_address_type: "ipv4",
1405
+ # },
1406
+ # },
1407
+ # ],
1408
+ # is_default: false,
1409
+ # priority: "10",
1410
+ # rule_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/net/my-nlb/1234567890abcdef/1234567890abcdef/1234567890abcdef",
1411
+ # },
1412
+ # ],
1413
+ # }
1414
+ #
1364
1415
  # @example Request syntax with placeholder values
1365
1416
  #
1366
1417
  # resp = client.create_rule({
@@ -2797,6 +2848,72 @@ module Aws::ElasticLoadBalancingV2
2797
2848
  # ],
2798
2849
  # }
2799
2850
  #
2851
+ # @example Example: To describe rules for a Network Load Balancer listener
2852
+ #
2853
+ # # This example describes the rules for the specified Network Load Balancer listener, including rules that route based on
2854
+ # # source IP address type.
2855
+ #
2856
+ # resp = client.describe_rules({
2857
+ # listener_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/net/my-nlb/1234567890abcdef/1234567890abcdef",
2858
+ # })
2859
+ #
2860
+ # resp.to_h outputs the following:
2861
+ # {
2862
+ # rules: [
2863
+ # {
2864
+ # actions: [
2865
+ # {
2866
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-ipv4-targets/1234567890abcdef",
2867
+ # type: "forward",
2868
+ # },
2869
+ # ],
2870
+ # conditions: [
2871
+ # {
2872
+ # field: "source-ip",
2873
+ # source_ip_config: {
2874
+ # ip_address_type: "ipv4",
2875
+ # },
2876
+ # },
2877
+ # ],
2878
+ # is_default: false,
2879
+ # priority: "10",
2880
+ # rule_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/net/my-nlb/1234567890abcdef/1234567890abcdef/aabbccdd11223344",
2881
+ # },
2882
+ # {
2883
+ # actions: [
2884
+ # {
2885
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-ipv6-targets/abcdef1234567890",
2886
+ # type: "forward",
2887
+ # },
2888
+ # ],
2889
+ # conditions: [
2890
+ # {
2891
+ # field: "source-ip",
2892
+ # source_ip_config: {
2893
+ # ip_address_type: "ipv6",
2894
+ # },
2895
+ # },
2896
+ # ],
2897
+ # is_default: false,
2898
+ # priority: "20",
2899
+ # rule_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/net/my-nlb/1234567890abcdef/1234567890abcdef/eeff00112233aabb",
2900
+ # },
2901
+ # {
2902
+ # actions: [
2903
+ # {
2904
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-ipv4-targets/1234567890abcdef",
2905
+ # type: "forward",
2906
+ # },
2907
+ # ],
2908
+ # conditions: [
2909
+ # ],
2910
+ # is_default: true,
2911
+ # priority: "default",
2912
+ # rule_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/net/my-nlb/1234567890abcdef/1234567890abcdef/default",
2913
+ # },
2914
+ # ],
2915
+ # }
2916
+ #
2800
2917
  # @example Request syntax with placeholder values
2801
2918
  #
2802
2919
  # resp = client.describe_rules({
@@ -4390,6 +4507,45 @@ module Aws::ElasticLoadBalancingV2
4390
4507
  # ],
4391
4508
  # }
4392
4509
  #
4510
+ # @example Example: To modify a Network Load Balancer listener rule
4511
+ #
4512
+ # # This example modifies an NLB listener rule to forward traffic to a different target group.
4513
+ #
4514
+ # resp = client.modify_rule({
4515
+ # actions: [
4516
+ # {
4517
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-ipv4-targets/1234567890abcdef",
4518
+ # type: "forward",
4519
+ # },
4520
+ # ],
4521
+ # rule_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/net/my-nlb/1234567890abcdef/1234567890abcdef/1234567890abcdef",
4522
+ # })
4523
+ #
4524
+ # resp.to_h outputs the following:
4525
+ # {
4526
+ # rules: [
4527
+ # {
4528
+ # actions: [
4529
+ # {
4530
+ # target_group_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-ipv4-targets/1234567890abcdef",
4531
+ # type: "forward",
4532
+ # },
4533
+ # ],
4534
+ # conditions: [
4535
+ # {
4536
+ # field: "source-ip",
4537
+ # source_ip_config: {
4538
+ # ip_address_type: "ipv4",
4539
+ # },
4540
+ # },
4541
+ # ],
4542
+ # is_default: false,
4543
+ # priority: "10",
4544
+ # rule_arn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/net/my-nlb/1234567890abcdef/1234567890abcdef/1234567890abcdef",
4545
+ # },
4546
+ # ],
4547
+ # }
4548
+ #
4393
4549
  # @example Request syntax with placeholder values
4394
4550
  #
4395
4551
  # resp = client.modify_rule({
@@ -5534,7 +5690,7 @@ module Aws::ElasticLoadBalancingV2
5534
5690
  tracer: tracer
5535
5691
  )
5536
5692
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
5537
- context[:gem_version] = '1.155.0'
5693
+ context[:gem_version] = '1.157.0'
5538
5694
  Seahorse::Client::Request.new(handlers, context)
5539
5695
  end
5540
5696
 
@@ -2361,6 +2361,17 @@ module Aws::ElasticLoadBalancingV2
2361
2361
  #
2362
2362
  # ^
2363
2363
  #
2364
+ # The following attribute is only supported by Gateway Load Balancers:
2365
+ #
2366
+ # * `send_tcp_reset.on_idle_timeout.enabled` – Specifies whether the
2367
+ # Gateway Load Balancer sends a TCP Reset to the sender of traffic
2368
+ # when a TCP flow's idle timeout expires. This attribute also
2369
+ # applies to non-SYN TCP packets received for flows that are not in
2370
+ # the flow table. The value is `true` or `false`. The default is
2371
+ # `false`.
2372
+ #
2373
+ # ^
2374
+ #
2364
2375
  # The following attributes are only supported by Application Load
2365
2376
  # Balancers.
2366
2377
  #
@@ -3722,6 +3733,10 @@ module Aws::ElasticLoadBalancingV2
3722
3733
  # of the following conditions: `http-header` and `query-string`. Note
3723
3734
  # that the value for a condition can't be empty.
3724
3735
  #
3736
+ # For Network Load Balancer listener rules, the only supported condition
3737
+ # is `source-ip`. Use `SourceIpConfig` with `IpAddressType` to match on
3738
+ # the IP address type of the source traffic (`ipv4` or `ipv6`).
3739
+ #
3725
3740
  # For more information, see [Quotas for your Application Load
3726
3741
  # Balancers][1].
3727
3742
  #
@@ -3730,20 +3745,23 @@ module Aws::ElasticLoadBalancingV2
3730
3745
  # [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html
3731
3746
  #
3732
3747
  # @!attribute [rw] field
3733
- # The field in the HTTP request. The following are the possible
3734
- # values:
3748
+ # The name of the field. The possible values are:
3735
3749
  #
3736
- # * `http-header`
3750
+ # * `http-header` – \[ALB\] Matches on an HTTP header field.
3737
3751
  #
3738
- # * `http-request-method`
3752
+ # * `http-request-method` – \[ALB\] Matches on the HTTP request
3753
+ # method.
3739
3754
  #
3740
- # * `host-header`
3755
+ # * `host-header` – \[ALB\] Matches on the host header.
3741
3756
  #
3742
- # * `path-pattern`
3757
+ # * `path-pattern` – \[ALB\] Matches on the URL path of the request.
3743
3758
  #
3744
- # * `query-string`
3759
+ # * `query-string` – \[ALB\] Matches on a query string parameter.
3745
3760
  #
3746
- # * `source-ip`
3761
+ # * `source-ip` – \[ALB, NLB\] Matches on the source IP address. For
3762
+ # ALB, use `SourceIpConfig` with `Values` to specify CIDR ranges.
3763
+ # For NLB, use `SourceIpConfig` with `IpAddressType` to match the IP
3764
+ # address type (`ipv4` or `ipv6`).
3747
3765
  # @return [String]
3748
3766
  #
3749
3767
  # @!attribute [rw] values
@@ -4124,6 +4142,10 @@ module Aws::ElasticLoadBalancingV2
4124
4142
  # proxy, this is the IP address of the proxy not the IP address of the
4125
4143
  # client.
4126
4144
  #
4145
+ # For Application Load Balancers, use `Values` to specify CIDR ranges.
4146
+ # For Network Load Balancers, use `IpAddressType` to match on the IP
4147
+ # address type of the source traffic.
4148
+ #
4127
4149
  # @!attribute [rw] values
4128
4150
  # The source IP addresses, in CIDR format. You can use both IPv4 and
4129
4151
  # IPv6 addresses. Wildcards are not supported.
@@ -4635,6 +4657,25 @@ module Aws::ElasticLoadBalancingV2
4635
4657
  # (`target_failover.on_deregistration` and
4636
4658
  # `target_failover.on_unhealthy`) can't be set independently. The
4637
4659
  # value you set for both attributes must be the same.
4660
+ #
4661
+ # * `send_tcp_reset.on_unhealthy.enabled` – Specifies whether the
4662
+ # Gateway Load Balancer sends a TCP Reset to the sender of traffic
4663
+ # when a target becomes unhealthy. After sending the reset, the
4664
+ # Gateway Load Balancer removes the flow entry from its flow table.
4665
+ # The value is `true` or `false`. The default is `false`. This
4666
+ # attribute does not apply when `target_failover.on_unhealthy` is
4667
+ # set to `rebalance`. This feature requires 5-tuple flow stickiness,
4668
+ # which the target group uses by default when `stickiness.enabled`
4669
+ # is set to `false`.
4670
+ #
4671
+ # * `send_tcp_reset.on_deregistration.enabled` – Specifies whether the
4672
+ # Gateway Load Balancer sends a TCP Reset to the sender of traffic
4673
+ # when a target is deregistered. The reset occurs after the
4674
+ # connection drain time has elapsed. The value is `true` or `false`.
4675
+ # The default is `false`. This attribute does not apply when
4676
+ # `target_failover.on_deregistration` is set to `rebalance`. This
4677
+ # feature requires 5-tuple flow stickiness, which the target group
4678
+ # uses by default when `stickiness.enabled` is set to `false`.
4638
4679
  # @return [String]
4639
4680
  #
4640
4681
  # @!attribute [rw] value
@@ -55,7 +55,7 @@ module Aws::ElasticLoadBalancingV2
55
55
  autoload :EndpointProvider, 'aws-sdk-elasticloadbalancingv2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-elasticloadbalancingv2/endpoints'
57
57
 
58
- GEM_VERSION = '1.155.0'
58
+ GEM_VERSION = '1.157.0'
59
59
 
60
60
  end
61
61
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.155.0
4
+ version: 1.157.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services