Seleccione sus preferencias de cookies

Usamos cookies esenciales y herramientas similares que son necesarias para proporcionar nuestro sitio y nuestros servicios. Usamos cookies de rendimiento para recopilar estadísticas anónimas para que podamos entender cómo los clientes usan nuestro sitio y hacer mejoras. Las cookies esenciales no se pueden desactivar, pero puede hacer clic en “Personalizar” o “Rechazar” para rechazar las cookies de rendimiento.

Si está de acuerdo, AWS y los terceros aprobados también utilizarán cookies para proporcionar características útiles del sitio, recordar sus preferencias y mostrar contenido relevante, incluida publicidad relevante. Para aceptar o rechazar todas las cookies no esenciales, haga clic en “Aceptar” o “Rechazar”. Para elegir opciones más detalladas, haga clic en “Personalizar”.

ModifyTargetGroupAttributes - Elastic Load Balancing
Esta página no se ha traducido a su idioma. Solicitar traducción

ModifyTargetGroupAttributes

Modifies the specified attributes of the specified target group.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

Attributes.member.N

The target group attributes.

Type: Array of TargetGroupAttribute objects

Required: Yes

TargetGroupArn

The Amazon Resource Name (ARN) of the target group.

Type: String

Required: Yes

Response Elements

The following element is returned by the service.

Attributes.member.N

Information about the target group attributes.

Type: Array of TargetGroupAttribute objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InvalidConfigurationRequest

The requested configuration is not valid.

HTTP Status Code: 400

TargetGroupNotFound

The specified target group does not exist.

HTTP Status Code: 400

Examples

Modify the deregistration delay timeout

This example sets the deregistration delay timeout for the specified target group to the specified value.

Sample Request

https://elasticloadbalancing.amazonaws.com/?Action=ModifyTargetGroupAttributes &TargetGroupArn=arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067 &Attributes.member.1.Key=deregistration_delay.timeout_seconds &Attributes.member.1.Value=600 &Version=2015-12-01 &AUTHPARAMS

Sample Response

<ModifyTargetGroupAttributesResponse xmlns="http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/"> <ModifyTargetGroupAttributesResult> <Attributes> <member> <Value>600</Value> <Key>deregistration_delay.timeout_seconds</Key> </member> </Attributes> </ModifyTargetGroupAttributesResult> <ResponseMetadata> <RequestId>bb8c272b-f455-11e5-a53c-67205c0d10fd</RequestId> </ResponseMetadata> </ModifyTargetGroupAttributesResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacidadTérminos del sitioPreferencias de cookies
© 2025, Amazon Web Services, Inc o sus afiliados. Todos los derechos reservados.