libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.BucketPolicy

Description

 
Synopsis

Documentation

data BucketPolicy Source #

Contains information on the current bucket policies for the S3 bucket.

See: newBucketPolicy smart constructor.

Constructors

BucketPolicy' 

Fields

Instances

Instances details
Eq BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

Read BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

Show BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

Generic BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

Associated Types

type Rep BucketPolicy :: Type -> Type #

NFData BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

Methods

rnf :: BucketPolicy -> () #

Hashable BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

FromJSON BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

type Rep BucketPolicy Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.BucketPolicy

type Rep BucketPolicy = D1 ('MetaData "BucketPolicy" "Amazonka.GuardDuty.Types.BucketPolicy" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "BucketPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "allowsPublicWriteAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "allowsPublicReadAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newBucketPolicy :: BucketPolicy Source #

Create a value of BucketPolicy 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:allowsPublicWriteAccess:BucketPolicy', bucketPolicy_allowsPublicWriteAccess - A value that indicates whether public write access for the bucket is enabled through a bucket policy.

$sel:allowsPublicReadAccess:BucketPolicy', bucketPolicy_allowsPublicReadAccess - A value that indicates whether public read access for the bucket is enabled through a bucket policy.

bucketPolicy_allowsPublicWriteAccess :: Lens' BucketPolicy (Maybe Bool) Source #

A value that indicates whether public write access for the bucket is enabled through a bucket policy.

bucketPolicy_allowsPublicReadAccess :: Lens' BucketPolicy (Maybe Bool) Source #

A value that indicates whether public read access for the bucket is enabled through a bucket policy.