| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ELB.Types.AccessLog
Description
Synopsis
- data AccessLog = AccessLog' {
- emitInterval :: Maybe Int
- s3BucketName :: Maybe Text
- s3BucketPrefix :: Maybe Text
- enabled :: Bool
- newAccessLog :: Bool -> AccessLog
- accessLog_emitInterval :: Lens' AccessLog (Maybe Int)
- accessLog_s3BucketName :: Lens' AccessLog (Maybe Text)
- accessLog_s3BucketPrefix :: Lens' AccessLog (Maybe Text)
- accessLog_enabled :: Lens' AccessLog Bool
Documentation
Information about the AccessLog attribute.
See: newAccessLog smart constructor.
Constructors
| AccessLog' | |
Fields
| |
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:s3BucketName:AccessLog', accessLog_s3BucketName - The name of the Amazon S3 bucket where the access logs are stored.
$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: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_s3BucketName :: Lens' AccessLog (Maybe Text) Source #
The name of the Amazon S3 bucket where the access logs are stored.