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.S3PublicAccessBlockConfiguration

Description

 
Synopsis

Documentation

data S3PublicAccessBlockConfiguration Source #

The PublicAccessBlock configuration to apply to this Amazon S3 bucket. If the proposed configuration is for an existing Amazon S3 bucket and the configuration is not specified, the access preview uses the existing setting. If the proposed configuration is for a new bucket and the configuration is not specified, the access preview uses false. If the proposed configuration is for a new access point or multi-region access point and the access point BPA configuration is not specified, the access preview uses true. For more information, see PublicAccessBlockConfiguration.

See: newS3PublicAccessBlockConfiguration smart constructor.

Constructors

S3PublicAccessBlockConfiguration' 

Fields

  • ignorePublicAcls :: Bool

    Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.

  • restrictPublicBuckets :: Bool

    Specifies whether Amazon S3 should restrict public bucket policies for this bucket.

Instances

Instances details
Eq S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

Read S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

Show S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

Generic S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

Associated Types

type Rep S3PublicAccessBlockConfiguration :: Type -> Type #

NFData S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

Hashable S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

ToJSON S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

FromJSON S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

type Rep S3PublicAccessBlockConfiguration Source # 
Instance details

Defined in Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration

type Rep S3PublicAccessBlockConfiguration = D1 ('MetaData "S3PublicAccessBlockConfiguration" "Amazonka.AccessAnalyzer.Types.S3PublicAccessBlockConfiguration" "libZSservicesZSamazonka-accessanalyzerZSamazonka-accessanalyzer" 'False) (C1 ('MetaCons "S3PublicAccessBlockConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ignorePublicAcls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "restrictPublicBuckets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newS3PublicAccessBlockConfiguration Source #

Create a value of S3PublicAccessBlockConfiguration 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:ignorePublicAcls:S3PublicAccessBlockConfiguration', s3PublicAccessBlockConfiguration_ignorePublicAcls - Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.

$sel:restrictPublicBuckets:S3PublicAccessBlockConfiguration', s3PublicAccessBlockConfiguration_restrictPublicBuckets - Specifies whether Amazon S3 should restrict public bucket policies for this bucket.

s3PublicAccessBlockConfiguration_ignorePublicAcls :: Lens' S3PublicAccessBlockConfiguration Bool Source #

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.

s3PublicAccessBlockConfiguration_restrictPublicBuckets :: Lens' S3PublicAccessBlockConfiguration Bool Source #

Specifies whether Amazon S3 should restrict public bucket policies for this bucket.