Skip to content

Commit

Permalink
feat(client-elastic-load-balancing-v2): This release enables unhealth…
Browse files Browse the repository at this point in the history
…y target draining intervals for Network Load Balancers.
  • Loading branch information
awstools committed Jan 31, 2024
1 parent 9aa726b commit 885e0b9
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface DescribeTargetHealthCommandOutput extends DescribeTargetHealthO
* // },
* // HealthCheckPort: "STRING_VALUE",
* // TargetHealth: { // TargetHealth
* // State: "initial" || "healthy" || "unhealthy" || "unused" || "draining" || "unavailable",
* // State: "initial" || "healthy" || "unhealthy" || "unhealthy.draining" || "unused" || "draining" || "unavailable",
* // 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",
* // Description: "STRING_VALUE",
* // },
Expand Down
15 changes: 13 additions & 2 deletions clients/client-elastic-load-balancing-v2/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ export interface CreateLoadBalancerInput {

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

/**
* @public
* <p>The IDs of the public subnets. You can specify only one subnet per Availability Zone. You
* <p>The IDs of the subnets. You can specify only one subnet per Availability Zone. You
* must specify either subnets or subnet mappings, but not both.</p>
* <p>[Application Load Balancers] You must specify subnets from at least two Availability
* Zones. You cannot specify Elastic IP addresses for your subnets.</p>
Expand Down Expand Up @@ -2284,6 +2284,7 @@ export interface SourceIpConditionConfig {
* the request matches one of the CIDR blocks. This condition is not satisfied by the addresses
* in the X-Forwarded-For header. To search for addresses in the X-Forwarded-For header, use
* <a>HttpHeaderConditionConfig</a>.</p>
* <p>The total number of values must be less than, or equal to five.</p>
*/
Values?: string[];
}
Expand Down Expand Up @@ -4151,6 +4152,15 @@ export interface TargetGroupAttribute {
* the load balancer terminates connections to unhealthy targets. The value is <code>true</code>
* or <code>false</code>. The default is <code>true</code>.</p>
* </li>
* <li>
* <p>
* <code>target_health_state.unhealthy.draining_interval_seconds</code> - The amount of time
* for Elastic Load Balancing to wait before changing the state of an unhealthy target from
* <code>unhealthy.draining</code> to <code>unhealthy</code>. The range is 0-360000 seconds.
* The default value is 0 seconds.</p>
* <p>Note: This attribute can only be configured when
* <code>target_health_state.unhealthy.connection_termination.enabled</code> is <code>false</code>.</p>
* </li>
* </ul>
* <p>The following attributes are supported only by Gateway Load Balancers:</p>
* <ul>
Expand Down Expand Up @@ -4322,6 +4332,7 @@ export const TargetHealthStateEnum = {
INITIAL: "initial",
UNAVAILABLE: "unavailable",
UNHEALTHY: "unhealthy",
UNHEALTHY_DRAINING: "unhealthy.draining",
UNUSED: "unused",
} as const;

Expand Down
Loading

0 comments on commit 885e0b9

Please sign in to comment.