libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer
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.AccessAnalyzer.Types.S3BucketConfiguration

Description

 
Synopsis

Documentation

data S3BucketConfiguration Source #

Proposed access control configuration for an Amazon S3 bucket. You can propose a configuration for a new Amazon S3 bucket or an existing Amazon S3 bucket that you own by specifying the Amazon S3 bucket policy, bucket ACLs, bucket BPA settings, Amazon S3 access points, and multi-region access points attached to the bucket. If the configuration is for an existing Amazon S3 bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes a bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Bucket Policy Examples.

See: newS3BucketConfiguration smart constructor.

Constructors

S3BucketConfiguration' 

Fields

Instances

Instances details
Eq S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

Read S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

Show S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

Generic S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

Associated Types

type Rep S3BucketConfiguration :: Type -> Type #

NFData S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

Methods

rnf :: S3BucketConfiguration -> () #

Hashable S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

ToJSON S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

FromJSON S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

type Rep S3BucketConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3BucketConfiguration

type Rep S3BucketConfiguration = D1 ('MetaData "S3BucketConfiguration" "Amazonka.AccessAnalyzer.Types.S3BucketConfiguration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "S3BucketConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessPoints") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text S3AccessPointConfiguration))) :*: S1 ('MetaSel ('Just "bucketPublicAccessBlock") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3PublicAccessBlockConfiguration))) :*: (S1 ('MetaSel ('Just "bucketAclGrants") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [S3BucketAclGrantConfiguration])) :*: S1 ('MetaSel ('Just "bucketPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newS3BucketConfiguration :: S3BucketConfiguration Source #

Create a value of S3BucketConfiguration 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:accessPoints:S3BucketConfiguration', s3BucketConfiguration_accessPoints - The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.

$sel:bucketPublicAccessBlock:S3BucketConfiguration', s3BucketConfiguration_bucketPublicAccessBlock - The proposed block public access configuration for the Amazon S3 bucket.

$sel:bucketAclGrants:S3BucketConfiguration', s3BucketConfiguration_bucketAclGrants - The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.

$sel:bucketPolicy:S3BucketConfiguration', s3BucketConfiguration_bucketPolicy - The proposed bucket policy for the Amazon S3 bucket.

s3BucketConfiguration_accessPoints :: Lens' S3BucketConfiguration (Maybe (HashMap Text S3AccessPointConfiguration)) Source #

The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.

s3BucketConfiguration_bucketPublicAccessBlock :: Lens' S3BucketConfiguration (Maybe S3PublicAccessBlockConfiguration) Source #

The proposed block public access configuration for the Amazon S3 bucket.

s3BucketConfiguration_bucketAclGrants :: Lens' S3BucketConfiguration (Maybe [S3BucketAclGrantConfiguration]) Source #

The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.

s3BucketConfiguration_bucketPolicy :: Lens' S3BucketConfiguration (Maybe Text) Source #

The proposed bucket policy for the Amazon S3 bucket.