Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsCloudFrontDistributionLogging = AwsCloudFrontDistributionLogging' {}
- newAwsCloudFrontDistributionLogging :: AwsCloudFrontDistributionLogging
- awsCloudFrontDistributionLogging_enabled :: Lens' AwsCloudFrontDistributionLogging (Maybe Bool)
- awsCloudFrontDistributionLogging_prefix :: Lens' AwsCloudFrontDistributionLogging (Maybe Text)
- awsCloudFrontDistributionLogging_bucket :: Lens' AwsCloudFrontDistributionLogging (Maybe Text)
- awsCloudFrontDistributionLogging_includeCookies :: Lens' AwsCloudFrontDistributionLogging (Maybe Bool)
Documentation
data AwsCloudFrontDistributionLogging Source #
A complex type that controls whether access logs are written for the distribution.
See: newAwsCloudFrontDistributionLogging
smart constructor.
AwsCloudFrontDistributionLogging' | |
|
Instances
newAwsCloudFrontDistributionLogging :: AwsCloudFrontDistributionLogging Source #
Create a value of AwsCloudFrontDistributionLogging
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:enabled:AwsCloudFrontDistributionLogging'
, awsCloudFrontDistributionLogging_enabled
- With this field, you can enable or disable the selected distribution.
$sel:prefix:AwsCloudFrontDistributionLogging'
, awsCloudFrontDistributionLogging_prefix
- An optional string that you want CloudFront to use as a prefix to the
access log filenames for this distribution.
$sel:bucket:AwsCloudFrontDistributionLogging'
, awsCloudFrontDistributionLogging_bucket
- The S3 bucket to store the access logs in.
$sel:includeCookies:AwsCloudFrontDistributionLogging'
, awsCloudFrontDistributionLogging_includeCookies
- Specifies whether you want CloudFront to include cookies in access logs.
awsCloudFrontDistributionLogging_enabled :: Lens' AwsCloudFrontDistributionLogging (Maybe Bool) Source #
With this field, you can enable or disable the selected distribution.
awsCloudFrontDistributionLogging_prefix :: Lens' AwsCloudFrontDistributionLogging (Maybe Text) Source #
An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.
awsCloudFrontDistributionLogging_bucket :: Lens' AwsCloudFrontDistributionLogging (Maybe Text) Source #
The S3 bucket to store the access logs in.
awsCloudFrontDistributionLogging_includeCookies :: Lens' AwsCloudFrontDistributionLogging (Maybe Bool) Source #
Specifies whether you want CloudFront to include cookies in access logs.