Skip to content

/AWS1/CL_MA2BUCKETPUBLICACCESS

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_effectivepermission TYPE /AWS1/MA2EFFECTIVEPERMISSION /AWS1/MA2EFFECTIVEPERMISSION

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.

io_permissionconfiguration TYPE REF TO /AWS1/CL_MA2BUCKETPERMCONF /AWS1/CL_MA2BUCKETPERMCONF

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


Queryable Attributes

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.

Accessible with the following methods

Method Description
GET_EFFECTIVEPERMISSION() Getter for EFFECTIVEPERMISSION, with configurable default
ASK_EFFECTIVEPERMISSION() Getter for EFFECTIVEPERMISSION w/ exceptions if field has no
HAS_EFFECTIVEPERMISSION() Determine if EFFECTIVEPERMISSION has a value

permissionConfiguration

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

Accessible with the following methods

Method Description
GET_PERMISSIONCONFIGURATION() Getter for PERMISSIONCONFIGURATION