#[non_exhaustive]pub struct AwsElbLoadBalancerAccessLog {
pub emit_interval: Option<i32>,
pub enabled: Option<bool>,
pub s3_bucket_name: Option<String>,
pub s3_bucket_prefix: Option<String>,
}
Expand description
Contains information about the access log configuration for the 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.emit_interval: Option<i32>
The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
enabled: Option<bool>
Indicates whether access logs are enabled for the load balancer.
s3_bucket_name: Option<String>
The name of the S3 bucket where the access logs are stored.
s3_bucket_prefix: Option<String>
The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
Implementations§
source§impl AwsElbLoadBalancerAccessLog
impl AwsElbLoadBalancerAccessLog
sourcepub fn emit_interval(&self) -> Option<i32>
pub fn emit_interval(&self) -> Option<i32>
The interval in minutes for publishing the access logs.
You can publish access logs either every 5 minutes or every 60 minutes.
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Indicates whether access logs are enabled for the load balancer.
sourcepub fn s3_bucket_name(&self) -> Option<&str>
pub fn s3_bucket_name(&self) -> Option<&str>
The name of the S3 bucket where the access logs are stored.
sourcepub fn s3_bucket_prefix(&self) -> Option<&str>
pub fn s3_bucket_prefix(&self) -> Option<&str>
The logical hierarchy that was created for the S3 bucket.
If a prefix is not provided, the log is placed at the root level of the bucket.
source§impl AwsElbLoadBalancerAccessLog
impl AwsElbLoadBalancerAccessLog
sourcepub fn builder() -> AwsElbLoadBalancerAccessLogBuilder
pub fn builder() -> AwsElbLoadBalancerAccessLogBuilder
Creates a new builder-style object to manufacture AwsElbLoadBalancerAccessLog
.
Trait Implementations§
source§impl Clone for AwsElbLoadBalancerAccessLog
impl Clone for AwsElbLoadBalancerAccessLog
source§fn clone(&self) -> AwsElbLoadBalancerAccessLog
fn clone(&self) -> AwsElbLoadBalancerAccessLog
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsElbLoadBalancerAccessLog
impl Debug for AwsElbLoadBalancerAccessLog
source§impl PartialEq for AwsElbLoadBalancerAccessLog
impl PartialEq for AwsElbLoadBalancerAccessLog
source§fn eq(&self, other: &AwsElbLoadBalancerAccessLog) -> bool
fn eq(&self, other: &AwsElbLoadBalancerAccessLog) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsElbLoadBalancerAccessLog
Auto Trait Implementations§
impl Freeze for AwsElbLoadBalancerAccessLog
impl RefUnwindSafe for AwsElbLoadBalancerAccessLog
impl Send for AwsElbLoadBalancerAccessLog
impl Sync for AwsElbLoadBalancerAccessLog
impl Unpin for AwsElbLoadBalancerAccessLog
impl UnwindSafe for AwsElbLoadBalancerAccessLog
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