Skip to content

Commit 885e0b9

Browse files
author
awstools
committedJan 31, 2024
feat(client-elastic-load-balancing-v2): This release enables unhealthy target draining intervals for Network Load Balancers.
1 parent 9aa726b commit 885e0b9

File tree

3 files changed

+265
-7
lines changed

3 files changed

+265
-7
lines changed
 

‎clients/client-elastic-load-balancing-v2/src/commands/DescribeTargetHealthCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export interface DescribeTargetHealthCommandOutput extends DescribeTargetHealthO
6464
* // },
6565
* // HealthCheckPort: "STRING_VALUE",
6666
* // TargetHealth: { // TargetHealth
67-
* // State: "initial" || "healthy" || "unhealthy" || "unused" || "draining" || "unavailable",
67+
* // State: "initial" || "healthy" || "unhealthy" || "unhealthy.draining" || "unused" || "draining" || "unavailable",
6868
* // Reason: "Elb.RegistrationInProgress" || "Elb.InitialHealthChecking" || "Target.ResponseCodeMismatch" || "Target.Timeout" || "Target.FailedHealthChecks" || "Target.NotRegistered" || "Target.NotInUse" || "Target.DeregistrationInProgress" || "Target.InvalidState" || "Target.IpUnusable" || "Target.HealthCheckDisabled" || "Elb.InternalError",
6969
* // Description: "STRING_VALUE",
7070
* // },

‎clients/client-elastic-load-balancing-v2/src/models/models_0.ts

+13-2
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ export interface CreateLoadBalancerInput {
17341734

17351735
/**
17361736
* @public
1737-
* <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1737+
* <p>The IDs of the subnets. You can specify only one subnet per Availability Zone. You
17381738
* must specify either subnets or subnet mappings, but not both. To specify an Elastic IP
17391739
* address, specify subnet mappings instead of subnets.</p>
17401740
* <p>[Application Load Balancers] You must specify subnets from at least two Availability
@@ -1751,7 +1751,7 @@ export interface CreateLoadBalancerInput {
17511751

17521752
/**
17531753
* @public
1754-
* <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
1754+
* <p>The IDs of the subnets. You can specify only one subnet per Availability Zone. You
17551755
* must specify either subnets or subnet mappings, but not both.</p>
17561756
* <p>[Application Load Balancers] You must specify subnets from at least two Availability
17571757
* Zones. You cannot specify Elastic IP addresses for your subnets.</p>
@@ -2284,6 +2284,7 @@ export interface SourceIpConditionConfig {
22842284
* the request matches one of the CIDR blocks. This condition is not satisfied by the addresses
22852285
* in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use
22862286
* <a>HttpHeaderConditionConfig</a>.</p>
2287+
* <p>The total number of values must be less than, or equal to five.</p>
22872288
*/
22882289
Values?: string[];
22892290
}
@@ -4151,6 +4152,15 @@ export interface TargetGroupAttribute {
41514152
* the load balancer terminates connections to unhealthy targets. The value is <code>true</code>
41524153
* or <code>false</code>. The default is <code>true</code>.</p>
41534154
* </li>
4155+
* <li>
4156+
* <p>
4157+
* <code>target_health_state.unhealthy.draining_interval_seconds</code> - The amount of time
4158+
* for Elastic Load Balancing to wait before changing the state of an unhealthy target from
4159+
* <code>unhealthy.draining</code> to <code>unhealthy</code>. The range is 0-360000 seconds.
4160+
* The default value is 0 seconds.</p>
4161+
* <p>Note: This attribute can only be configured when
4162+
* <code>target_health_state.unhealthy.connection_termination.enabled</code> is <code>false</code>.</p>
4163+
* </li>
41544164
* </ul>
41554165
* <p>The following attributes are supported only by Gateway Load Balancers:</p>
41564166
* <ul>
@@ -4322,6 +4332,7 @@ export const TargetHealthStateEnum = {
43224332
INITIAL: "initial",
43234333
UNAVAILABLE: "unavailable",
43244334
UNHEALTHY: "unhealthy",
4335+
UNHEALTHY_DRAINING: "unhealthy.draining",
43254336
UNUSED: "unused",
43264337
} as const;
43274338

0 commit comments

Comments
 (0)
Please sign in to comment.