pub struct AwsCloudFrontDistributionLogging {
pub bucket: Option<String>,
pub enabled: Option<bool>,
pub include_cookies: Option<bool>,
pub prefix: Option<String>,
}
Expand description
A complex type that controls whether access logs are written for the distribution.
Fields§
§bucket: Option<String>
The Amazon S3 bucket to store the access logs in.
enabled: Option<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.
Trait Implementations§
Source§impl Clone for AwsCloudFrontDistributionLogging
impl Clone for AwsCloudFrontDistributionLogging
Source§fn clone(&self) -> AwsCloudFrontDistributionLogging
fn clone(&self) -> AwsCloudFrontDistributionLogging
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for AwsCloudFrontDistributionLogging
impl Default for AwsCloudFrontDistributionLogging
Source§fn default() -> AwsCloudFrontDistributionLogging
fn default() -> AwsCloudFrontDistributionLogging
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsCloudFrontDistributionLogging
impl<'de> Deserialize<'de> for AwsCloudFrontDistributionLogging
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AwsCloudFrontDistributionLogging
impl PartialEq for AwsCloudFrontDistributionLogging
Source§fn eq(&self, other: &AwsCloudFrontDistributionLogging) -> bool
fn eq(&self, other: &AwsCloudFrontDistributionLogging) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AwsCloudFrontDistributionLogging
Auto Trait Implementations§
impl Freeze for AwsCloudFrontDistributionLogging
impl RefUnwindSafe for AwsCloudFrontDistributionLogging
impl Send for AwsCloudFrontDistributionLogging
impl Sync for AwsCloudFrontDistributionLogging
impl Unpin for AwsCloudFrontDistributionLogging
impl UnwindSafe for AwsCloudFrontDistributionLogging
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
Mutably borrows from an owned value. Read more