UpdateLoadBalancerAttributeRequest
import type { UpdateLoadBalancerAttributeRequest } from "https://aws-api.deno.dev/v0.4/services/lightsail.ts?docs=full";
interface UpdateLoadBalancerAttributeRequest {
attributeName: LoadBalancerAttributeName;
attributeValue: string;
loadBalancerName: string;
}§Properties
§
attributeName: LoadBalancerAttributeName
[src]The name of the attribute you want to update.
§
attributeValue: string
[src]The value that you want to specify for the attribute name.
The following values are supported depending on what you specify for the attributeName
request parameter:
- If you specify
HealthCheckPath
for theattributeName
request parameter, then theattributeValue
request parameter must be the path to ping on the target (for example,/weather/us/wa/seattle
). - If you specify
SessionStickinessEnabled
for theattributeName
request parameter, then theattributeValue
request parameter must betrue
to activate session stickiness orfalse
to deactivate session stickiness. - If you specify
SessionStickiness_LB_CookieDurationSeconds
for theattributeName
request parameter, then theattributeValue
request parameter must be an interger that represents the cookie duration in seconds. - If you specify
HttpsRedirectionEnabled
for theattributeName
request parameter, then theattributeValue
request parameter must betrue
to activate HTTP to HTTPS redirection orfalse
to deactivate HTTP to HTTPS redirection. - If you specify
TlsPolicyName
for theattributeName
request parameter, then theattributeValue
request parameter must be the name of the TLS policy. Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.