Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BlockPublicAccess = BlockPublicAccess' {}
- newBlockPublicAccess :: BlockPublicAccess
- blockPublicAccess_ignorePublicAcls :: Lens' BlockPublicAccess (Maybe Bool)
- blockPublicAccess_blockPublicAcls :: Lens' BlockPublicAccess (Maybe Bool)
- blockPublicAccess_restrictPublicBuckets :: Lens' BlockPublicAccess (Maybe Bool)
- blockPublicAccess_blockPublicPolicy :: Lens' BlockPublicAccess (Maybe Bool)
Documentation
data BlockPublicAccess Source #
Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account level or bucket level. For detailed information about each setting, see Blocking public access to your Amazon S3 storage in the Amazon Simple Storage Service User Guide.
See: newBlockPublicAccess
smart constructor.
BlockPublicAccess' | |
|
Instances
newBlockPublicAccess :: BlockPublicAccess Source #
Create a value of BlockPublicAccess
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:BlockPublicAccess'
, blockPublicAccess_ignorePublicAcls
- Specifies whether Amazon S3 ignores public ACLs for the bucket and
objects in the bucket.
$sel:blockPublicAcls:BlockPublicAccess'
, blockPublicAccess_blockPublicAcls
- Specifies whether Amazon S3 blocks public access control lists (ACLs)
for the bucket and objects in the bucket.
$sel:restrictPublicBuckets:BlockPublicAccess'
, blockPublicAccess_restrictPublicBuckets
- Specifies whether Amazon S3 restricts public bucket policies for the
bucket.
$sel:blockPublicPolicy:BlockPublicAccess'
, blockPublicAccess_blockPublicPolicy
- Specifies whether Amazon S3 blocks public bucket policies for the
bucket.
blockPublicAccess_ignorePublicAcls :: Lens' BlockPublicAccess (Maybe Bool) Source #
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
blockPublicAccess_blockPublicAcls :: Lens' BlockPublicAccess (Maybe Bool) Source #
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
blockPublicAccess_restrictPublicBuckets :: Lens' BlockPublicAccess (Maybe Bool) Source #
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
blockPublicAccess_blockPublicPolicy :: Lens' BlockPublicAccess (Maybe Bool) Source #
Specifies whether Amazon S3 blocks public bucket policies for the bucket.