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 AccessLog = AccessLog' {
- emitInterval :: Maybe Int
- s3BucketPrefix :: Maybe Text
- s3BucketName :: Maybe Text
- enabled :: Bool
- newAccessLog :: Bool -> AccessLog
- accessLog_emitInterval :: Lens' AccessLog (Maybe Int)
- accessLog_s3BucketPrefix :: Lens' AccessLog (Maybe Text)
- accessLog_s3BucketName :: Lens' AccessLog (Maybe Text)
- accessLog_enabled :: Lens' AccessLog Bool
Documentation
Information about the AccessLog
attribute.
See: newAccessLog
smart constructor.
AccessLog' | |
|
Instances
Create a value of AccessLog
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:emitInterval:AccessLog'
, accessLog_emitInterval
- The interval for publishing the access logs. You can specify an interval
of either 5 minutes or 60 minutes.
Default: 60 minutes
$sel:s3BucketPrefix:AccessLog'
, accessLog_s3BucketPrefix
- The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the log is
placed at the root level of the bucket.
$sel:s3BucketName:AccessLog'
, accessLog_s3BucketName
- The name of the Amazon S3 bucket where the access logs are stored.
$sel:enabled:AccessLog'
, accessLog_enabled
- Specifies whether access logs are enabled for the load balancer.
accessLog_emitInterval :: Lens' AccessLog (Maybe Int) Source #
The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.
Default: 60 minutes
accessLog_s3BucketPrefix :: Lens' AccessLog (Maybe Text) Source #
The logical hierarchy you created for your Amazon S3 bucket, for example
my-bucket-prefix/prod
. If the prefix is not provided, the log is
placed at the root level of the bucket.