From 885e0b965308dae7d915c9304e60c79c86d5507b Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 31 Jan 2024 20:15:52 +0000 Subject: [PATCH] feat(client-elastic-load-balancing-v2): This release enables unhealthy target draining intervals for Network Load Balancers. --- .../commands/DescribeTargetHealthCommand.ts | 2 +- .../src/models/models_0.ts | 15 +- .../aws-models/elastic-load-balancing-v2.json | 255 +++++++++++++++++- 3 files changed, 265 insertions(+), 7 deletions(-) diff --git a/clients/client-elastic-load-balancing-v2/src/commands/DescribeTargetHealthCommand.ts b/clients/client-elastic-load-balancing-v2/src/commands/DescribeTargetHealthCommand.ts index ce67ac3c95b1..822cc196f02e 100644 --- a/clients/client-elastic-load-balancing-v2/src/commands/DescribeTargetHealthCommand.ts +++ b/clients/client-elastic-load-balancing-v2/src/commands/DescribeTargetHealthCommand.ts @@ -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", * // }, diff --git a/clients/client-elastic-load-balancing-v2/src/models/models_0.ts b/clients/client-elastic-load-balancing-v2/src/models/models_0.ts index 9aed6bd76c7f..5f235f4e18a6 100644 --- a/clients/client-elastic-load-balancing-v2/src/models/models_0.ts +++ b/clients/client-elastic-load-balancing-v2/src/models/models_0.ts @@ -1734,7 +1734,7 @@ export interface CreateLoadBalancerInput { /** * @public - *

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You + *

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.

*

[Application Load Balancers] You must specify subnets from at least two Availability @@ -1751,7 +1751,7 @@ export interface CreateLoadBalancerInput { /** * @public - *

The IDs of the public subnets. You can specify only one subnet per Availability Zone. You + *

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.

*

[Application Load Balancers] You must specify subnets from at least two Availability * Zones. You cannot specify Elastic IP addresses for your subnets.

@@ -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 * HttpHeaderConditionConfig.

+ *

The total number of values must be less than, or equal to five.

*/ Values?: string[]; } @@ -4151,6 +4152,15 @@ export interface TargetGroupAttribute { * the load balancer terminates connections to unhealthy targets. The value is true * or false. The default is true.

* + *
  • + *

    + * target_health_state.unhealthy.draining_interval_seconds - The amount of time + * for Elastic Load Balancing to wait before changing the state of an unhealthy target from + * unhealthy.draining to unhealthy. The range is 0-360000 seconds. + * The default value is 0 seconds.

    + *

    Note: This attribute can only be configured when + * target_health_state.unhealthy.connection_termination.enabled is false.

    + *
  • * *

    The following attributes are supported only by Gateway Load Balancers:

    *