Struct aws_sdk_elasticloadbalancing::types::Policies
source · #[non_exhaustive]pub struct Policies {
pub app_cookie_stickiness_policies: Option<Vec<AppCookieStickinessPolicy>>,
pub lb_cookie_stickiness_policies: Option<Vec<LbCookieStickinessPolicy>>,
pub other_policies: Option<Vec<String>>,
}
Expand description
The policies for a load balancer.
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.The stickiness policies created using CreateAppCookieStickinessPolicy
.
The stickiness policies created using CreateLBCookieStickinessPolicy
.
other_policies: Option<Vec<String>>
The policies other than the stickiness policies.
Implementations§
source§impl Policies
impl Policies
The stickiness policies created using CreateAppCookieStickinessPolicy
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .app_cookie_stickiness_policies.is_none()
.
The stickiness policies created using CreateLBCookieStickinessPolicy
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .lb_cookie_stickiness_policies.is_none()
.
sourcepub fn other_policies(&self) -> &[String]
pub fn other_policies(&self) -> &[String]
The policies other than the stickiness policies.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .other_policies.is_none()
.