Struct aws_sdk_securityhub::model::AwsCloudFrontDistributionLogging [−][src]
#[non_exhaustive]pub struct AwsCloudFrontDistributionLogging {
pub bucket: Option<String>,
pub enabled: bool,
pub include_cookies: bool,
pub prefix: Option<String>,
}
Expand description
A complex type that controls whether access logs are written for the distribution.
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.bucket: Option<String>
The S3 bucket to store the access logs in.
enabled: bool
With this field, you can enable or disable the selected distribution.
Specifies whether you want CloudFront to include cookies in access logs.
prefix: Option<String>
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
Implementations
With this field, you can enable or disable the selected distribution.
Specifies whether you want CloudFront to include cookies in access logs.
Creates a new builder-style object to manufacture AwsCloudFrontDistributionLogging
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for AwsCloudFrontDistributionLogging
impl Sync for AwsCloudFrontDistributionLogging
impl Unpin for AwsCloudFrontDistributionLogging
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more