Struct aws_sdk_lightsail::operation::update_load_balancer_attribute::UpdateLoadBalancerAttributeInput
source · #[non_exhaustive]pub struct UpdateLoadBalancerAttributeInput {
pub load_balancer_name: Option<String>,
pub attribute_name: Option<LoadBalancerAttributeName>,
pub attribute_value: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.load_balancer_name: Option<String>
The name of the load balancer that you want to modify (my-load-balancer
.
attribute_name: Option<LoadBalancerAttributeName>
The name of the attribute you want to update.
attribute_value: Option<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
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.
Implementations§
source§impl UpdateLoadBalancerAttributeInput
impl UpdateLoadBalancerAttributeInput
sourcepub fn load_balancer_name(&self) -> Option<&str>
pub fn load_balancer_name(&self) -> Option<&str>
The name of the load balancer that you want to modify (my-load-balancer
.
sourcepub fn attribute_name(&self) -> Option<&LoadBalancerAttributeName>
pub fn attribute_name(&self) -> Option<&LoadBalancerAttributeName>
The name of the attribute you want to update.
sourcepub fn attribute_value(&self) -> Option<&str>
pub fn attribute_value(&self) -> Option<&str>
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.
source§impl UpdateLoadBalancerAttributeInput
impl UpdateLoadBalancerAttributeInput
sourcepub fn builder() -> UpdateLoadBalancerAttributeInputBuilder
pub fn builder() -> UpdateLoadBalancerAttributeInputBuilder
Creates a new builder-style object to manufacture UpdateLoadBalancerAttributeInput
.
Trait Implementations§
source§impl Clone for UpdateLoadBalancerAttributeInput
impl Clone for UpdateLoadBalancerAttributeInput
source§fn clone(&self) -> UpdateLoadBalancerAttributeInput
fn clone(&self) -> UpdateLoadBalancerAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateLoadBalancerAttributeInput
impl PartialEq for UpdateLoadBalancerAttributeInput
source§fn eq(&self, other: &UpdateLoadBalancerAttributeInput) -> bool
fn eq(&self, other: &UpdateLoadBalancerAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateLoadBalancerAttributeInput
Auto Trait Implementations§
impl Freeze for UpdateLoadBalancerAttributeInput
impl RefUnwindSafe for UpdateLoadBalancerAttributeInput
impl Send for UpdateLoadBalancerAttributeInput
impl Sync for UpdateLoadBalancerAttributeInput
impl Unpin for UpdateLoadBalancerAttributeInput
impl UnwindSafe for UpdateLoadBalancerAttributeInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more