libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.BucketPublicAccess

Description

 
Synopsis

Documentation

data BucketPublicAccess Source #

Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.

See: newBucketPublicAccess smart constructor.

Constructors

BucketPublicAccess' 

Fields

  • permissionConfiguration :: Maybe BucketPermissionConfiguration

    The account-level and bucket-level permissions settings for the bucket.

  • effectivePermission :: Maybe EffectivePermission

    Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:

    • NOT_PUBLIC - The bucket isn't publicly accessible.
    • PUBLIC - The bucket is publicly accessible.
    • UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.

Instances

Instances details
Eq BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

Read BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

Show BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

Generic BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

Associated Types

type Rep BucketPublicAccess :: Type -> Type #

NFData BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

Methods

rnf :: BucketPublicAccess -> () #

Hashable BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

FromJSON BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

type Rep BucketPublicAccess Source # 
Instance details

Defined in Amazonka.MacieV2.Types.BucketPublicAccess

type Rep BucketPublicAccess = D1 ('MetaData "BucketPublicAccess" "Amazonka.MacieV2.Types.BucketPublicAccess" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "BucketPublicAccess'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permissionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BucketPermissionConfiguration)) :*: S1 ('MetaSel ('Just "effectivePermission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EffectivePermission))))

newBucketPublicAccess :: BucketPublicAccess Source #

Create a value of BucketPublicAccess 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:permissionConfiguration:BucketPublicAccess', bucketPublicAccess_permissionConfiguration - The account-level and bucket-level permissions settings for the bucket.

$sel:effectivePermission:BucketPublicAccess', bucketPublicAccess_effectivePermission - Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:

  • NOT_PUBLIC - The bucket isn't publicly accessible.
  • PUBLIC - The bucket is publicly accessible.
  • UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.

bucketPublicAccess_permissionConfiguration :: Lens' BucketPublicAccess (Maybe BucketPermissionConfiguration) Source #

The account-level and bucket-level permissions settings for the bucket.

bucketPublicAccess_effectivePermission :: Lens' BucketPublicAccess (Maybe EffectivePermission) Source #

Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:

  • NOT_PUBLIC - The bucket isn't publicly accessible.
  • PUBLIC - The bucket is publicly accessible.
  • UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.