Skip to content

/AWS1/CL_AANS3PUBACCBLOCKCONF

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.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_ignorepublicacls TYPE /AWS1/AANBOOLEAN /AWS1/AANBOOLEAN

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

iv_restrictpublicbuckets TYPE /AWS1/AANBOOLEAN /AWS1/AANBOOLEAN

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


Queryable Attributes

ignorePublicAcls

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this 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 should restrict public bucket policies for this 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