Skip to content

/AWS1/CL_MA2BLOCKPUBLICACCESS

Provides information about the block public access settings for an S3 bucket. These settings can apply to a bucket at the account 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.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_blockpublicacls TYPE /AWS1/MA2__BOOLEAN /AWS1/MA2__BOOLEAN

Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

iv_blockpublicpolicy TYPE /AWS1/MA2__BOOLEAN /AWS1/MA2__BOOLEAN

Specifies whether Amazon S3 blocks public bucket policies for the bucket.

iv_ignorepublicacls TYPE /AWS1/MA2__BOOLEAN /AWS1/MA2__BOOLEAN

Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.

iv_restrictpublicbuckets TYPE /AWS1/MA2__BOOLEAN /AWS1/MA2__BOOLEAN

Specifies whether Amazon S3 restricts public bucket policies for the bucket.


Queryable Attributes

blockPublicAcls

Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

Accessible with the following methods

Method Description
GET_BLOCKPUBLICACLS() Getter for BLOCKPUBLICACLS, with configurable default
ASK_BLOCKPUBLICACLS() Getter for BLOCKPUBLICACLS w/ exceptions if field has no val
HAS_BLOCKPUBLICACLS() Determine if BLOCKPUBLICACLS has a value

blockPublicPolicy

Specifies whether Amazon S3 blocks public bucket policies for the bucket.

Accessible with the following methods

Method Description
GET_BLOCKPUBLICPOLICY() Getter for BLOCKPUBLICPOLICY, with configurable default
ASK_BLOCKPUBLICPOLICY() Getter for BLOCKPUBLICPOLICY w/ exceptions if field has no v
HAS_BLOCKPUBLICPOLICY() Determine if BLOCKPUBLICPOLICY has a value

ignorePublicAcls

Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.

Accessible with the following methods

Method Description
GET_IGNOREPUBLICACLS() Getter for IGNOREPUBLICACLS, with configurable default
ASK_IGNOREPUBLICACLS() Getter for IGNOREPUBLICACLS w/ exceptions if field has no va
HAS_IGNOREPUBLICACLS() Determine if IGNOREPUBLICACLS has a value

restrictPublicBuckets

Specifies whether Amazon S3 restricts public bucket policies for the bucket.

Accessible with the following methods

Method Description
GET_RESTRICTPUBLICBUCKETS() Getter for RESTRICTPUBLICBUCKETS, with configurable default
ASK_RESTRICTPUBLICBUCKETS() Getter for RESTRICTPUBLICBUCKETS w/ exceptions if field has
HAS_RESTRICTPUBLICBUCKETS() Determine if RESTRICTPUBLICBUCKETS has a value