diff --git a/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2.ts b/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2.ts index 41118acb6e95..bfd2d124ef06 100644 --- a/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2.ts +++ b/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2.ts @@ -1175,8 +1175,6 @@ export class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client { /** *

Modifies the health checks used when evaluating the health state of the targets in the * specified target group.

- *

If the protocol of the target group is TCP, TLS, UDP, or TCP_UDP, you can't modify the - * health check protocol, interval, timeout, or success codes.

*/ public modifyTargetGroup( args: ModifyTargetGroupCommandInput, diff --git a/clients/client-elastic-load-balancing-v2/src/commands/ModifyTargetGroupCommand.ts b/clients/client-elastic-load-balancing-v2/src/commands/ModifyTargetGroupCommand.ts index 110bf9bcb62e..609366c2c55e 100644 --- a/clients/client-elastic-load-balancing-v2/src/commands/ModifyTargetGroupCommand.ts +++ b/clients/client-elastic-load-balancing-v2/src/commands/ModifyTargetGroupCommand.ts @@ -35,8 +35,6 @@ export interface ModifyTargetGroupCommandOutput extends ModifyTargetGroupOutput, /** *

Modifies the health checks used when evaluating the health state of the targets in the * specified target group.

- *

If the protocol of the target group is TCP, TLS, UDP, or TCP_UDP, you can't modify the - * health check protocol, interval, timeout, or success codes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript 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 87c3513ea8ea..05a79487971b 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 @@ -229,7 +229,7 @@ export interface TargetGroupStickinessConfig { */ export interface ForwardActionConfig { /** - *

One or more target groups. For Network Load Balancers, you can specify a single target + *

The target groups. For Network Load Balancers, you can specify a single target * group.

*/ TargetGroups?: TargetGroupTuple[]; @@ -1560,7 +1560,7 @@ export class TooManyLoadBalancersException extends __BaseException { */ export interface HostHeaderConditionConfig { /** - *

One or more host names. The maximum size of each name is 128 characters. The comparison is + *

The host names. The maximum size of each name is 128 characters. The comparison is * case insensitive. The following wildcard characters are supported: * (matches 0 or more * characters) and ? (matches exactly 1 character).

*

If you specify multiple strings, the condition is satisfied if one of the strings matches @@ -1584,7 +1584,7 @@ export interface HttpHeaderConditionConfig { HttpHeaderName?: string; /** - *

One or more strings to compare against the value of the HTTP header. The maximum size of + *

The strings to compare against the value of the HTTP header. The maximum size of * each string is 128 characters. The comparison strings are case insensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 * character).

@@ -1620,7 +1620,7 @@ export interface HttpRequestMethodConditionConfig { */ export interface PathPatternConditionConfig { /** - *

One or more path patterns to compare against the request URL. The maximum size of each + *

The path patterns to compare against the request URL. The maximum size of each * string is 128 characters. The comparison is case sensitive. The following wildcard characters * are supported: * (matches 0 or more characters) and ? (matches exactly 1 character).

*

If you specify multiple strings, the condition is satisfied if one of them matches the @@ -1654,7 +1654,7 @@ export interface QueryStringKeyValuePair { */ export interface QueryStringConditionConfig { /** - *

One or more key/value pairs or values to find in the query string. The maximum size of + *

The key/value pairs or values to find in the query string. The maximum size of * each string is 128 characters. The comparison is case insensitive. The following wildcard * characters are supported: * (matches 0 or more characters) and ? (matches exactly 1 * character). To search for a literal '*' or '?' character in a query string, you must escape @@ -1673,7 +1673,7 @@ export interface QueryStringConditionConfig { */ export interface SourceIpConditionConfig { /** - *

One or more source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. + *

The source IP addresses, in CIDR format. You can use both IPv4 and IPv6 addresses. * Wildcards are not supported.

*

If you specify multiple addresses, the condition is satisfied if the source IP address of * the request matches one of the CIDR blocks. This condition is not satisfied by the addresses @@ -1956,10 +1956,11 @@ export enum TargetGroupIpAddressTypeEnum { */ export interface Matcher { /** - *

For Application Load Balancers, you can specify values between 200 and 499, and the - * default value is 200. You can specify multiple values (for example, "200,202") or a range of - * values (for example, "200-299").

- *

For Network Load Balancers and Gateway Load Balancers, this must be "200–399".

+ *

For Application Load Balancers, you can specify values between 200 and 499, with the + * default value being 200. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

+ *

For Network Load Balancers, you can specify values between 200 and 599, with the + * default value being 200-399. You can specify multiple values (for example, "200,202") or a range of values (for example, "200-299").

+ *

For Gateway Load Balancers, this must be "200–399".

*

Note that when using shorthand syntax, some values such as commas need to be * escaped.

*/ @@ -2051,10 +2052,8 @@ export interface CreateTargetGroupInput { HealthCheckPath?: string; /** - *

The approximate amount of time, in seconds, between health checks of an individual target. - * If the target group protocol is HTTP or HTTPS, the default is 30 seconds. - * If the target group protocol is TCP, TLS, UDP, or TCP_UDP, the supported values are 10 and 30 - * seconds and the default is 30 seconds. + *

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5-300. + * If the target group protocol is TCP, TLS, UDP, TCP_UDP, HTTP or HTTPS, the default is 30 seconds. * If the target group protocol is GENEVE, the default is 10 seconds. * If the target type is lambda, the default is 35 seconds.

*/ @@ -2062,33 +2061,34 @@ export interface CreateTargetGroupInput { /** *

The amount of time, in seconds, during which no response from a target means a failed - * health check. For target groups with a protocol of HTTP, HTTPS, or GENEVE, the default is 5 - * seconds. For target groups with a protocol of TCP or TLS, this value must be 6 seconds for - * HTTP health checks and 10 seconds for TCP and HTTPS health checks. If the target type is - * lambda, the default is 30 seconds.

+ * health check. The range is 2–120 seconds. For target groups with a protocol of HTTP, the + * default is 6 seconds. For target groups with a protocol of TCP, TLS or HTTPS, the default + * is 10 seconds. For target groups with a protocol of GENEVE, the default is 5 seconds. If + * the target type is lambda, the default is 30 seconds.

*/ HealthCheckTimeoutSeconds?: number; /** - *

The number of consecutive health checks successes required before considering an unhealthy - * target healthy. For target groups with a protocol of HTTP or HTTPS, the default is 5. For - * target groups with a protocol of TCP, TLS, or GENEVE, the default is 3. If the target type is - * lambda, the default is 5.

+ *

The number of consecutive health check successes required before considering a target healthy. The range is + * 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 5. For target groups + * with a protocol of GENEVE, the default is 3. If the target type + * is lambda, the default is 5.

*/ HealthyThresholdCount?: number; /** - *

The number of consecutive health check failures required before considering a target - * unhealthy. If the target group protocol is HTTP or HTTPS, the default is 2. If the target - * group protocol is TCP or TLS, this value must be the same as the healthy threshold count. If - * the target group protocol is GENEVE, the default is 3. If the target type is - * lambda, the default is 2.

+ *

The number of consecutive health check failures required before considering a target unhealthy. The range is + * 2-10. If the target group protocol is TCP, TCP_UDP, UDP, TLS, HTTP or HTTPS, the default is 2. For target groups + * with a protocol of GENEVE, the default is 3. If the target type + * is lambda, the default is 5.

*/ UnhealthyThresholdCount?: number; /** *

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful - * response from a target.

+ * response from a target. For target groups with a protocol of TCP, TCP_UDP, UDP or TLS the range + * is 200-599. For target groups with a protocol of HTTP or HTTPS, the range is 200-499. For target + * groups with a protocol of GENEVE, the range is 200-399.

*/ Matcher?: Matcher; @@ -2331,14 +2331,22 @@ export interface TargetDescription { *

An Availability Zone or all. This determines whether the target receives * traffic from the load balancer nodes in the specified Availability Zone or from all enabled * Availability Zones for the load balancer.

+ * + *

For Application Load Balancer target groups, the specified Availability Zone value is only applicable + * when cross-zone load balancing is off. Otherwise the parameter is ignored and treated + * as all.

+ * *

This parameter is not supported if the target type of the target group is - * instance or alb.

- *

If the target type is ip and the IP address is in a subnet of the VPC for the - * target group, the Availability Zone is automatically detected and this parameter is optional. - * If the IP address is outside the VPC, this parameter is required.

- *

With an Application Load Balancer, if the target type is ip and the IP - * address is outside the VPC for the target group, the only supported value is - * all.

+ * instance or alb.

+ * + *

If the target type is ip and the IP address is in a subnet of the VPC for the target group, + * the Availability Zone is automatically detected and this parameter is optional. If the IP address is outside + * the VPC, this parameter is required.

+ * + *

For Application Load Balancer target groups with cross-zone load balancing off, if the target type + * is ip and the IP address is outside of the VPC for the target group, this should be an + * Availability Zone inside the VPC for the target group.

+ * *

If the target type is lambda, this parameter is optional and the only * supported value is all.

*/ @@ -2561,7 +2569,7 @@ export interface LoadBalancerAttribute { /** *

The name of the attribute.

* - *

The following attribute is supported by all load balancers:

+ *

The following attributes are supported by all load balancers:

* * *

The following attributes are supported by both Application Load Balancers and Network Load @@ -2686,17 +2701,6 @@ export interface LoadBalancerAttribute { * default is false.

* * - * - *

The following attribute is supported by Network Load Balancers and Gateway Load - * Balancers:

- * */ Key?: string; @@ -2892,7 +2896,7 @@ export interface TargetGroupAttribute { /** *

The name of the attribute.

* - *

The following attribute is supported by all load balancers:

+ *

The following attributes are supported by all load balancers:

* - * - *

The following attributes are supported by Application Load Balancers, Network Load - * Balancers, and Gateway Load Balancers:

- * * + *

The following attributes are supported by Application Load Balancers and + * Network Load Balancers:

+ * + * *

The following attributes are supported only if the load balancer is an Application Load * Balancer and the target is an instance or an IP address:

* + * *

The following attributes are supported only by Gateway Load Balancers:

*