[][src]Struct rusoto_elbv2::LoadBalancerAttribute

pub struct LoadBalancerAttribute {
    pub key: Option<String>,
    pub value: Option<String>,
}

Information about a load balancer attribute.

Fields

key: Option<String>

The name of the attribute.

The following attributes are supported by both Application Load Balancers and Network Load Balancers:

  • accesslogs.s3.enabled - Indicates whether access logs are enabled. The value is true or false. The default is false.

  • accesslogs.s3.bucket - The name of the S3 bucket for the access logs. This attribute is required if access logs are enabled. The bucket must exist in the same region as the load balancer and have a bucket policy that grants Elastic Load Balancing permissions to write to the bucket.

  • accesslogs.s3.prefix - The prefix for the location in the S3 bucket for the access logs.

  • deletionprotection.enabled - Indicates whether deletion protection is enabled. The value is true or false. The default is false.

The following attributes are supported by only Application Load Balancers:

  • idletimeout.timeoutseconds - The idle timeout value, in seconds. The valid range is 1-4000 seconds. The default is 60 seconds.

  • routing.http2.enabled - Indicates whether HTTP/2 is enabled. The value is true or false. The default is true.

The following attributes are supported by only Network Load Balancers:

  • loadbalancing.crosszone.enabled - Indicates whether cross-zone load balancing is enabled. The value is true or false. The default is false.

value: Option<String>

The value of the attribute.

Trait Implementations

impl Clone for LoadBalancerAttribute[src]

impl Default for LoadBalancerAttribute[src]

impl PartialEq<LoadBalancerAttribute> for LoadBalancerAttribute[src]

impl Debug for LoadBalancerAttribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self