libZSservicesZSamazonka-elbZSamazonka-elb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ELB.Types.AccessLog

Description

 
Synopsis

Documentation

data AccessLog Source #

Information about the AccessLog attribute.

See: newAccessLog smart constructor.

Constructors

AccessLog' 

Fields

  • emitInterval :: Maybe Int

    The interval for publishing the access logs. You can specify an interval of either 5 minutes or 60 minutes.

    Default: 60 minutes

  • s3BucketPrefix :: Maybe Text

    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.

  • s3BucketName :: Maybe Text

    The name of the Amazon S3 bucket where the access logs are stored.

  • enabled :: Bool

    Specifies whether access logs are enabled for the load balancer.

Instances

Instances details
Eq AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

Read AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

Show AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

Generic AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

Associated Types

type Rep AccessLog :: Type -> Type #

NFData AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

Methods

rnf :: AccessLog -> () #

Hashable AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

ToQuery AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

FromXML AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

type Rep AccessLog Source # 
Instance details

Defined in Amazonka.ELB.Types.AccessLog

type Rep AccessLog = D1 ('MetaData "AccessLog" "Amazonka.ELB.Types.AccessLog" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "AccessLog'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "emitInterval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "s3BucketPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "s3BucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

newAccessLog Source #

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.

accessLog_s3BucketName :: Lens' AccessLog (Maybe Text) Source #

The name of the Amazon S3 bucket where the access logs are stored.

accessLog_enabled :: Lens' AccessLog Bool Source #

Specifies whether access logs are enabled for the load balancer.