#[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 ==
.