aws-sdk-elasticloadbalancingv2 1.80.0 → 1.82.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 +48 -35
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoint_provider.rb +118 -0
- data/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb +491 -0
- data/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb +136 -0
- data/lib/aws-sdk-elasticloadbalancingv2/types.rb +103 -66
- data/lib/aws-sdk-elasticloadbalancingv2.rb +5 -1
- metadata +8 -4
@@ -1112,44 +1112,46 @@ module Aws::ElasticLoadBalancingV2
|
|
1112
1112
|
#
|
1113
1113
|
# @!attribute [rw] health_check_interval_seconds
|
1114
1114
|
# The approximate amount of time, in seconds, between health checks of
|
1115
|
-
# an individual target. If the target group
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
#
|
1120
|
-
# is 35 seconds.
|
1115
|
+
# an individual target. The range is 5-300. If the target group
|
1116
|
+
# protocol is TCP, TLS, UDP, TCP\_UDP, HTTP or HTTPS, the default is
|
1117
|
+
# 30 seconds. If the target group protocol is GENEVE, the default is
|
1118
|
+
# 10 seconds. If the target type is `lambda`, the default is 35
|
1119
|
+
# seconds.
|
1121
1120
|
# @return [Integer]
|
1122
1121
|
#
|
1123
1122
|
# @!attribute [rw] health_check_timeout_seconds
|
1124
1123
|
# The amount of time, in seconds, during which no response from a
|
1125
|
-
# target means a failed health check.
|
1126
|
-
# protocol of HTTP,
|
1127
|
-
# target groups with a protocol of TCP or
|
1128
|
-
# seconds
|
1129
|
-
#
|
1124
|
+
# target means a failed health check. The range is 2–120 seconds. For
|
1125
|
+
# target groups with a protocol of HTTP, the default is 6 seconds. For
|
1126
|
+
# target groups with a protocol of TCP, TLS or HTTPS, the default is
|
1127
|
+
# 10 seconds. For target groups with a protocol of GENEVE, the default
|
1128
|
+
# is 5 seconds. If the target type is `lambda`, the default is 30
|
1130
1129
|
# seconds.
|
1131
1130
|
# @return [Integer]
|
1132
1131
|
#
|
1133
1132
|
# @!attribute [rw] healthy_threshold_count
|
1134
|
-
# The number of consecutive health
|
1135
|
-
# considering
|
1136
|
-
# protocol
|
1137
|
-
# a protocol of
|
1138
|
-
# type is `lambda`, the default is 5.
|
1133
|
+
# The number of consecutive health check successes required before
|
1134
|
+
# considering a target healthy. The range is 2-10. If the target group
|
1135
|
+
# protocol is TCP, TCP\_UDP, UDP, TLS, HTTP or HTTPS, the default is
|
1136
|
+
# 5. For target groups with a protocol of GENEVE, the default is 3. If
|
1137
|
+
# the target type is `lambda`, the default is 5.
|
1139
1138
|
# @return [Integer]
|
1140
1139
|
#
|
1141
1140
|
# @!attribute [rw] unhealthy_threshold_count
|
1142
1141
|
# The number of consecutive health check failures required before
|
1143
|
-
# considering a target unhealthy.
|
1144
|
-
#
|
1145
|
-
#
|
1146
|
-
# the target
|
1147
|
-
# type is `lambda`, the default is 2.
|
1142
|
+
# considering a target unhealthy. The range is 2-10. If the target
|
1143
|
+
# group protocol is TCP, TCP\_UDP, UDP, TLS, HTTP or HTTPS, the
|
1144
|
+
# default is 2. For target groups with a protocol of GENEVE, the
|
1145
|
+
# default is 3. If the target type is `lambda`, the default is 5.
|
1148
1146
|
# @return [Integer]
|
1149
1147
|
#
|
1150
1148
|
# @!attribute [rw] matcher
|
1151
1149
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
1152
|
-
# checking for a successful response from a target.
|
1150
|
+
# checking for a successful response from a target. For target groups
|
1151
|
+
# with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599.
|
1152
|
+
# For target groups with a protocol of HTTP or HTTPS, the range is
|
1153
|
+
# 200-499. For target groups with a protocol of GENEVE, the range is
|
1154
|
+
# 200-399.
|
1153
1155
|
# @return [Types::Matcher]
|
1154
1156
|
#
|
1155
1157
|
# @!attribute [rw] target_type
|
@@ -1944,8 +1946,8 @@ module Aws::ElasticLoadBalancingV2
|
|
1944
1946
|
# }
|
1945
1947
|
#
|
1946
1948
|
# @!attribute [rw] target_groups
|
1947
|
-
#
|
1948
|
-
#
|
1949
|
+
# The target groups. For Network Load Balancers, you can specify a
|
1950
|
+
# single target group.
|
1949
1951
|
# @return [Array<Types::TargetGroupTuple>]
|
1950
1952
|
#
|
1951
1953
|
# @!attribute [rw] target_group_stickiness_config
|
@@ -1978,10 +1980,10 @@ module Aws::ElasticLoadBalancingV2
|
|
1978
1980
|
# }
|
1979
1981
|
#
|
1980
1982
|
# @!attribute [rw] values
|
1981
|
-
#
|
1982
|
-
#
|
1983
|
-
#
|
1984
|
-
#
|
1983
|
+
# The host names. The maximum size of each name is 128 characters. The
|
1984
|
+
# comparison is case insensitive. The following wildcard characters
|
1985
|
+
# are supported: * (matches 0 or more characters) and ? (matches
|
1986
|
+
# exactly 1 character).
|
1985
1987
|
#
|
1986
1988
|
# If you specify multiple strings, the condition is satisfied if one
|
1987
1989
|
# of the strings matches the host name.
|
@@ -2018,8 +2020,8 @@ module Aws::ElasticLoadBalancingV2
|
|
2018
2020
|
# @return [String]
|
2019
2021
|
#
|
2020
2022
|
# @!attribute [rw] values
|
2021
|
-
#
|
2022
|
-
#
|
2023
|
+
# The strings to compare against the value of the HTTP header. The
|
2024
|
+
# maximum size of each string is 128 characters. The comparison
|
2023
2025
|
# strings are case insensitive. The following wildcard characters are
|
2024
2026
|
# supported: * (matches 0 or more characters) and ? (matches exactly
|
2025
2027
|
# 1 character).
|
@@ -2366,13 +2368,17 @@ module Aws::ElasticLoadBalancingV2
|
|
2366
2368
|
# @!attribute [rw] key
|
2367
2369
|
# The name of the attribute.
|
2368
2370
|
#
|
2369
|
-
# The following
|
2371
|
+
# The following attributes are supported by all load balancers:
|
2370
2372
|
#
|
2371
2373
|
# * `deletion_protection.enabled` - Indicates whether deletion
|
2372
2374
|
# protection is enabled. The value is `true` or `false`. The default
|
2373
2375
|
# is `false`.
|
2374
2376
|
#
|
2375
|
-
#
|
2377
|
+
# * `load_balancing.cross_zone.enabled` - Indicates whether cross-zone
|
2378
|
+
# load balancing is enabled. The possible values are `true` and
|
2379
|
+
# `false`. The default for Network Load Balancers and Gateway Load
|
2380
|
+
# Balancers is `false`. The default for Application Load Balancers
|
2381
|
+
# is `true`, and cannot be changed.
|
2376
2382
|
#
|
2377
2383
|
# The following attributes are supported by both Application Load
|
2378
2384
|
# Balancers and Network Load Balancers:
|
@@ -2460,15 +2466,6 @@ module Aws::ElasticLoadBalancingV2
|
|
2460
2466
|
# load balancer to route requests to targets if it is unable to
|
2461
2467
|
# forward the request to Amazon Web Services WAF. The possible
|
2462
2468
|
# values are `true` and `false`. The default is `false`.
|
2463
|
-
#
|
2464
|
-
# The following attribute is supported by Network Load Balancers and
|
2465
|
-
# Gateway Load Balancers:
|
2466
|
-
#
|
2467
|
-
# * `load_balancing.cross_zone.enabled` - Indicates whether cross-zone
|
2468
|
-
# load balancing is enabled. The possible values are `true` and
|
2469
|
-
# `false`. The default is `false`.
|
2470
|
-
#
|
2471
|
-
# ^
|
2472
2469
|
# @return [String]
|
2473
2470
|
#
|
2474
2471
|
# @!attribute [rw] value
|
@@ -2528,12 +2525,16 @@ module Aws::ElasticLoadBalancingV2
|
|
2528
2525
|
#
|
2529
2526
|
# @!attribute [rw] http_code
|
2530
2527
|
# For Application Load Balancers, you can specify values between 200
|
2531
|
-
# and 499,
|
2528
|
+
# and 499, with the default value being 200. You can specify multiple
|
2532
2529
|
# values (for example, "200,202") or a range of values (for example,
|
2533
2530
|
# "200-299").
|
2534
2531
|
#
|
2535
|
-
# For Network Load Balancers
|
2536
|
-
#
|
2532
|
+
# For Network Load Balancers, you can specify values between 200 and
|
2533
|
+
# 599, with the default value being 200-399. You can specify multiple
|
2534
|
+
# values (for example, "200,202") or a range of values (for example,
|
2535
|
+
# "200-299").
|
2536
|
+
#
|
2537
|
+
# For Gateway Load Balancers, this must be "200–399".
|
2537
2538
|
#
|
2538
2539
|
# Note that when using shorthand syntax, some values such as commas
|
2539
2540
|
# need to be escaped.
|
@@ -2993,8 +2994,7 @@ module Aws::ElasticLoadBalancingV2
|
|
2993
2994
|
#
|
2994
2995
|
# @!attribute [rw] health_check_interval_seconds
|
2995
2996
|
# The approximate amount of time, in seconds, between health checks of
|
2996
|
-
# an individual target.
|
2997
|
-
# are 10 or 30 seconds.
|
2997
|
+
# an individual target.
|
2998
2998
|
# @return [Integer]
|
2999
2999
|
#
|
3000
3000
|
# @!attribute [rw] health_check_timeout_seconds
|
@@ -3009,14 +3009,16 @@ module Aws::ElasticLoadBalancingV2
|
|
3009
3009
|
#
|
3010
3010
|
# @!attribute [rw] unhealthy_threshold_count
|
3011
3011
|
# The number of consecutive health check failures required before
|
3012
|
-
# considering the target unhealthy.
|
3013
|
-
# of TCP or TLS, this value must be the same as the healthy threshold
|
3014
|
-
# count.
|
3012
|
+
# considering the target unhealthy.
|
3015
3013
|
# @return [Integer]
|
3016
3014
|
#
|
3017
3015
|
# @!attribute [rw] matcher
|
3018
3016
|
# \[HTTP/HTTPS health checks\] The HTTP or gRPC codes to use when
|
3019
|
-
# checking for a successful response from a target.
|
3017
|
+
# checking for a successful response from a target. For target groups
|
3018
|
+
# with a protocol of TCP, TCP\_UDP, UDP or TLS the range is 200-599.
|
3019
|
+
# For target groups with a protocol of HTTP or HTTPS, the range is
|
3020
|
+
# 200-499. For target groups with a protocol of GENEVE, the range is
|
3021
|
+
# 200-399.
|
3020
3022
|
# @return [Types::Matcher]
|
3021
3023
|
#
|
3022
3024
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/ModifyTargetGroupInput AWS API Documentation
|
@@ -3064,9 +3066,9 @@ module Aws::ElasticLoadBalancingV2
|
|
3064
3066
|
# }
|
3065
3067
|
#
|
3066
3068
|
# @!attribute [rw] values
|
3067
|
-
#
|
3068
|
-
#
|
3069
|
-
#
|
3069
|
+
# The path patterns to compare against the request URL. The maximum
|
3070
|
+
# size of each string is 128 characters. The comparison is case
|
3071
|
+
# sensitive. The following wildcard characters are supported: *
|
3070
3072
|
# (matches 0 or more characters) and ? (matches exactly 1 character).
|
3071
3073
|
#
|
3072
3074
|
# If you specify multiple strings, the condition is satisfied if one
|
@@ -3110,8 +3112,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3110
3112
|
# }
|
3111
3113
|
#
|
3112
3114
|
# @!attribute [rw] values
|
3113
|
-
#
|
3114
|
-
#
|
3115
|
+
# The key/value pairs or values to find in the query string. The
|
3116
|
+
# maximum size of each string is 128 characters. The comparison is
|
3115
3117
|
# case insensitive. The following wildcard characters are supported:
|
3116
3118
|
# * (matches 0 or more characters) and ? (matches exactly 1
|
3117
3119
|
# character). To search for a literal '*' or '?' character in a
|
@@ -3788,8 +3790,8 @@ module Aws::ElasticLoadBalancingV2
|
|
3788
3790
|
# }
|
3789
3791
|
#
|
3790
3792
|
# @!attribute [rw] values
|
3791
|
-
#
|
3792
|
-
#
|
3793
|
+
# The source IP addresses, in CIDR format. You can use both IPv4 and
|
3794
|
+
# IPv6 addresses. Wildcards are not supported.
|
3793
3795
|
#
|
3794
3796
|
# If you specify multiple addresses, the condition is satisfied if the
|
3795
3797
|
# source IP address of the request matches one of the CIDR blocks.
|
@@ -3961,6 +3963,11 @@ module Aws::ElasticLoadBalancingV2
|
|
3961
3963
|
# Availability Zone or from all enabled Availability Zones for the
|
3962
3964
|
# load balancer.
|
3963
3965
|
#
|
3966
|
+
# For Application Load Balancer target groups, the specified
|
3967
|
+
# Availability Zone value is only applicable when cross-zone load
|
3968
|
+
# balancing is off. Otherwise the parameter is ignored and treated as
|
3969
|
+
# `all`.
|
3970
|
+
#
|
3964
3971
|
# This parameter is not supported if the target type of the target
|
3965
3972
|
# group is `instance` or `alb`.
|
3966
3973
|
#
|
@@ -3969,9 +3976,10 @@ module Aws::ElasticLoadBalancingV2
|
|
3969
3976
|
# detected and this parameter is optional. If the IP address is
|
3970
3977
|
# outside the VPC, this parameter is required.
|
3971
3978
|
#
|
3972
|
-
#
|
3973
|
-
# the
|
3974
|
-
#
|
3979
|
+
# For Application Load Balancer target groups with cross-zone load
|
3980
|
+
# balancing off, if the target type is `ip` and the IP address is
|
3981
|
+
# outside of the VPC for the target group, this should be an
|
3982
|
+
# Availability Zone inside the VPC for the target group.
|
3975
3983
|
#
|
3976
3984
|
# If the target type is `lambda`, this parameter is optional and the
|
3977
3985
|
# only supported value is `all`.
|
@@ -4121,7 +4129,7 @@ module Aws::ElasticLoadBalancingV2
|
|
4121
4129
|
# @!attribute [rw] key
|
4122
4130
|
# The name of the attribute.
|
4123
4131
|
#
|
4124
|
-
# The following
|
4132
|
+
# The following attributes are supported by all load balancers:
|
4125
4133
|
#
|
4126
4134
|
# * `deregistration_delay.timeout_seconds` - The amount of time, in
|
4127
4135
|
# seconds, for Elastic Load Balancing to wait before changing the
|
@@ -4129,11 +4137,6 @@ module Aws::ElasticLoadBalancingV2
|
|
4129
4137
|
# range is 0-3600 seconds. The default value is 300 seconds. If the
|
4130
4138
|
# target is a Lambda function, this attribute is not supported.
|
4131
4139
|
#
|
4132
|
-
# ^
|
4133
|
-
#
|
4134
|
-
# The following attributes are supported by Application Load
|
4135
|
-
# Balancers, Network Load Balancers, and Gateway Load Balancers:
|
4136
|
-
#
|
4137
4140
|
# * `stickiness.enabled` - Indicates whether target stickiness is
|
4138
4141
|
# enabled. The value is `true` or `false`. The default is `false`.
|
4139
4142
|
#
|
@@ -4147,6 +4150,40 @@ module Aws::ElasticLoadBalancingV2
|
|
4147
4150
|
# * `source_ip_dest_ip` and `source_ip_dest_ip_proto` for Gateway
|
4148
4151
|
# Load Balancers.
|
4149
4152
|
#
|
4153
|
+
# The following attributes are supported by Application Load Balancers
|
4154
|
+
# and Network Load Balancers:
|
4155
|
+
#
|
4156
|
+
# * `load_balancing.cross_zone.enabled` - Indicates whether cross zone
|
4157
|
+
# load balancing is enabled. The value is `true`, `false` or
|
4158
|
+
# `use_load_balancer_configuration`. The default is
|
4159
|
+
# `use_load_balancer_configuration`.
|
4160
|
+
#
|
4161
|
+
# * `target_group_health.dns_failover.minimum_healthy_targets.count` -
|
4162
|
+
# The minimum number of targets that must be healthy. If the number
|
4163
|
+
# of healthy targets is below this value, mark the zone as unhealthy
|
4164
|
+
# in DNS, so that traffic is routed only to healthy zones. The
|
4165
|
+
# possible values are `off` or an integer from 1 to the maximum
|
4166
|
+
# number of targets. The default is `off`.
|
4167
|
+
#
|
4168
|
+
# * `target_group_health.dns_failover.minimum_healthy_targets.percentage`
|
4169
|
+
# - The minimum percentage of targets that must be healthy. If the
|
4170
|
+
# percentage of healthy targets is below this value, mark the zone
|
4171
|
+
# as unhealthy in DNS, so that traffic is routed only to healthy
|
4172
|
+
# zones. The possible values are `off` or an integer from 1 to 100.
|
4173
|
+
# The default is `off`.
|
4174
|
+
#
|
4175
|
+
# * `target_group_health.unhealthy_state_routing.minimum_healthy_targets.count`
|
4176
|
+
# - The minimum number of targets that must be healthy. If the
|
4177
|
+
# number of healthy targets is below this value, send traffic to all
|
4178
|
+
# targets, including unhealthy targets. The possible values are 1 to
|
4179
|
+
# the maximum number of targets. The default is 1.
|
4180
|
+
#
|
4181
|
+
# * `target_group_health.unhealthy_state_routing.minimum_healthy_targets.percentage`
|
4182
|
+
# - The minimum percentage of targets that must be healthy. If the
|
4183
|
+
# percentage of healthy targets is below this value, send traffic to
|
4184
|
+
# all targets, including unhealthy targets. The possible values are
|
4185
|
+
# `off` or an integer from 1 to 100. The default is `off`.
|
4186
|
+
#
|
4150
4187
|
# The following attributes are supported only if the load balancer is
|
4151
4188
|
# an Application Load Balancer and the target is an instance or an IP
|
4152
4189
|
# address:
|
@@ -13,10 +13,14 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-elasticloadbalancingv2/types'
|
15
15
|
require_relative 'aws-sdk-elasticloadbalancingv2/client_api'
|
16
|
+
require_relative 'aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-elasticloadbalancingv2/client'
|
17
18
|
require_relative 'aws-sdk-elasticloadbalancingv2/errors'
|
18
19
|
require_relative 'aws-sdk-elasticloadbalancingv2/waiters'
|
19
20
|
require_relative 'aws-sdk-elasticloadbalancingv2/resource'
|
21
|
+
require_relative 'aws-sdk-elasticloadbalancingv2/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-elasticloadbalancingv2/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-elasticloadbalancingv2/endpoints'
|
20
24
|
require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
|
21
25
|
|
22
26
|
# This module provides support for Elastic Load Balancing. This module is available in the
|
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-elasticloadbalancingv2/customizations'
|
|
49
53
|
# @!group service
|
50
54
|
module Aws::ElasticLoadBalancingV2
|
51
55
|
|
52
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.82.0'
|
53
57
|
|
54
58
|
end
|
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.82.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: 2022-
|
11
|
+
date: 2022-11-17 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-elasticloadbalancingv2/client.rb
|
60
60
|
- lib/aws-sdk-elasticloadbalancingv2/client_api.rb
|
61
61
|
- lib/aws-sdk-elasticloadbalancingv2/customizations.rb
|
62
|
+
- lib/aws-sdk-elasticloadbalancingv2/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-elasticloadbalancingv2/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-elasticloadbalancingv2/endpoints.rb
|
62
65
|
- lib/aws-sdk-elasticloadbalancingv2/errors.rb
|
66
|
+
- lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-elasticloadbalancingv2/resource.rb
|
64
68
|
- lib/aws-sdk-elasticloadbalancingv2/types.rb
|
65
69
|
- lib/aws-sdk-elasticloadbalancingv2/waiters.rb
|