Skip to content

Commit 653945f

Browse files
author
awstools
committed
docs(client-elastic-load-balancing-v2): This release enables default UDP connection termination and disabling unhealthy target connection termination for Network Load Balancers.
1 parent 3e035e3 commit 653945f

File tree

4 files changed

+1079
-241
lines changed

4 files changed

+1079
-241
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,30 @@ export interface DeregisterTargetsCommandOutput extends DeregisterTargetsOutput,
4242
* @public
4343
* <p>Deregisters the specified targets from the specified target group. After the targets are
4444
* deregistered, they no longer receive traffic from the load balancer.</p>
45+
* <p>The load balancer stops sending requests to targets that are deregistering, but uses
46+
* connection draining to ensure that in-flight traffic completes on the existing connections.
47+
* This deregistration delay is configured by default but can be updated for each target group.</p>
48+
* <p>For more information, see the following:</p>
49+
* <ul>
50+
* <li>
51+
* <p>
52+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#deregistration-delay">
53+
* Deregistration delay</a> in the <i>Application Load Balancers User Guide</i>
54+
* </p>
55+
* </li>
56+
* <li>
57+
* <p>
58+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#deregistration-delay">
59+
* Deregistration delay</a> in the <i>Network Load Balancers User Guide</i>
60+
* </p>
61+
* </li>
62+
* <li>
63+
* <p>
64+
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#deregistration-delay">
65+
* Deregistration delay</a> in the <i>Gateway Load Balancers User Guide</i>
66+
* </p>
67+
* </li>
68+
* </ul>
4569
* <p>Note: If the specified target does not exist, the action returns successfully.</p>
4670
* @example
4771
* Use a bare-bones client and the command you need to make an API call.

clients/client-elastic-load-balancing-v2/src/endpoint/ruleset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ o={[t]:"booleanEquals",[u]:[true,{[t]:f,[u]:[n,"supportsDualStack"]}]},
2828
p=[j],
2929
q=[k],
3030
r=[{[v]:"Region"}];
31-
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]}]},{type:b,rules:[{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticloadbalancing.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
31+
const _data={version:"1.0",parameters:{Region:g,UseDualStack:h,UseFIPS:h,Endpoint:g},rules:[{conditions:[{[t]:a,[u]:[i]}],type:b,rules:[{conditions:p,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:q,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:i,properties:l,headers:l},type:d}]},{conditions:[{[t]:a,[u]:r}],type:b,rules:[{conditions:[{[t]:"aws.partition",[u]:r,assign:e}],type:b,rules:[{conditions:[j,k],type:b,rules:[{conditions:[m,o],type:b,rules:[{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:p,type:b,rules:[{conditions:[m],type:b,rules:[{conditions:[{[t]:"stringEquals",[u]:["aws-us-gov",{[t]:f,[u]:[n,"name"]}]}],endpoint:{url:"https://elasticloadbalancing.{Region}.amazonaws.com",properties:l,headers:l},type:d},{endpoint:{url:"https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:q,type:b,rules:[{conditions:[o],type:b,rules:[{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:l,headers:l},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}",properties:l,headers:l},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]};
3232
export const ruleSet: RuleSetObject = _data;

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ export interface SourceIpConditionConfig {
19801980
* following conditions: <code>http-header</code> and <code>query-string</code>. Note that the
19811981
* value for a condition cannot be empty.</p>
19821982
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
1983-
* Application Load Balancers</a>.</p>
1983+
* Application Load Balancers</a>.</p>
19841984
*/
19851985
export interface RuleCondition {
19861986
/**
@@ -2839,19 +2839,19 @@ export interface DescribeAccountLimitsInput {
28392839
* <li>
28402840
* <p>
28412841
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
2842-
* Application Load Balancers</a>
2842+
* Application Load Balancers</a>
28432843
* </p>
28442844
* </li>
28452845
* <li>
28462846
* <p>
28472847
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html">Quotas for your
2848-
* Network Load Balancers</a>
2848+
* Network Load Balancers</a>
28492849
* </p>
28502850
* </li>
28512851
* <li>
28522852
* <p>
28532853
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html">Quotas for your Gateway
2854-
* Load Balancers</a>
2854+
* Load Balancers</a>
28552855
* </p>
28562856
* </li>
28572857
* </ul>
@@ -3576,8 +3576,8 @@ export interface TargetGroupAttribute {
35763576
* <p>
35773577
* <code>deregistration_delay.connection_termination.enabled</code> - Indicates whether
35783578
* the load balancer terminates connections at the end of the deregistration timeout. The
3579-
* value is <code>true</code> or <code>false</code>. The default is
3580-
* <code>false</code>.</p>
3579+
* value is <code>true</code> or <code>false</code>. For new UDP/TCP_UDP target groups the
3580+
* default is <code>true</code>. Otherwise, the default is <code>false</code>.</p>
35813581
* </li>
35823582
* <li>
35833583
* <p>
@@ -3593,6 +3593,12 @@ export interface TargetGroupAttribute {
35933593
* enabled. The value is <code>true</code> or <code>false</code>. The default is
35943594
* <code>false</code>. </p>
35953595
* </li>
3596+
* <li>
3597+
* <p>
3598+
* <code>target_health_state.unhealthy.connection_termination.enabled</code> - Indicates whether
3599+
* the load balancer terminates connections to unhealthy targets. The value is <code>true</code>
3600+
* or <code>false</code>. The default is <code>true</code>.</p>
3601+
* </li>
35963602
* </ul>
35973603
* <p>The following attributes are supported only by Gateway Load Balancers:</p>
35983604
* <ul>

0 commit comments

Comments
 (0)