Class: Aws::Lightsail::Types::UpdateLoadBalancerAttributeRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::UpdateLoadBalancerAttributeRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
The name of the attribute you want to update.
-
#attribute_value ⇒ String
The value that you want to specify for the attribute name.
-
#load_balancer_name ⇒ String
The name of the load balancer that you want to modify (
my-load-balancer..
Instance Attribute Details
#attribute_name ⇒ String
The name of the attribute you want to update.
15064 15065 15066 15067 15068 15069 15070 |
# File 'lib/aws-sdk-lightsail/types.rb', line 15064 class UpdateLoadBalancerAttributeRequest < Struct.new( :load_balancer_name, :attribute_name, :attribute_value) SENSITIVE = [] include Aws::Structure end |
#attribute_value ⇒ String
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
HealthCheckPathfor theattributeNamerequest parameter, then theattributeValuerequest parameter must be the path to ping on the target (for example,/weather/us/wa/seattle). -
If you specify
SessionStickinessEnabledfor theattributeNamerequest parameter, then theattributeValuerequest parameter must betrueto activate session stickiness orfalseto deactivate session stickiness. -
If you specify
SessionStickiness_LB_CookieDurationSecondsfor theattributeNamerequest parameter, then theattributeValuerequest parameter must be an interger that represents the cookie duration in seconds. -
If you specify
HttpsRedirectionEnabledfor theattributeNamerequest parameter, then theattributeValuerequest parameter must betrueto activate HTTP to HTTPS redirection orfalseto deactivate HTTP to HTTPS redirection. -
If you specify
TlsPolicyNamefor theattributeNamerequest parameter, then theattributeValuerequest 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.
[1]: docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
15064 15065 15066 15067 15068 15069 15070 |
# File 'lib/aws-sdk-lightsail/types.rb', line 15064 class UpdateLoadBalancerAttributeRequest < Struct.new( :load_balancer_name, :attribute_name, :attribute_value) SENSITIVE = [] include Aws::Structure end |
#load_balancer_name ⇒ String
The name of the load balancer that you want to modify (my-load-balancer.
15064 15065 15066 15067 15068 15069 15070 |
# File 'lib/aws-sdk-lightsail/types.rb', line 15064 class UpdateLoadBalancerAttributeRequest < Struct.new( :load_balancer_name, :attribute_name, :attribute_value) SENSITIVE = [] include Aws::Structure end |