libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsCloudFrontDistributionLogging

Description

 
Synopsis

Documentation

data AwsCloudFrontDistributionLogging Source #

A complex type that controls whether access logs are written for the distribution.

See: newAwsCloudFrontDistributionLogging smart constructor.

Constructors

AwsCloudFrontDistributionLogging' 

Fields

  • enabled :: Maybe Bool

    With this field, you can enable or disable the selected distribution.

  • prefix :: Maybe Text

    An optional string that you want CloudFront to use as a prefix to the access log filenames for this distribution.

  • bucket :: Maybe Text

    The S3 bucket to store the access logs in.

  • includeCookies :: Maybe Bool

    Specifies whether you want CloudFront to include cookies in access logs.

Instances

Instances details
Eq AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

Read AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

Show AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

Generic AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

Associated Types

type Rep AwsCloudFrontDistributionLogging :: Type -> Type #

NFData AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

Hashable AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

ToJSON AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

FromJSON AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

type Rep AwsCloudFrontDistributionLogging Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging

type Rep AwsCloudFrontDistributionLogging = D1 ('MetaData "AwsCloudFrontDistributionLogging" "Amazonka.SecurityHub.Types.AwsCloudFrontDistributionLogging" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsCloudFrontDistributionLogging'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "prefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "includeCookies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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_includeCookies :: Lens' AwsCloudFrontDistributionLogging (Maybe Bool) Source #

Specifies whether you want CloudFront to include cookies in access logs.