Skip to content

/AWS1/CL_EC2GETIMAGEBLKPUBAC01

GetImageBlockPublicAccessStateResult

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_IMAGEBLOCKPUBLICACCSTATE TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.

Possible values:

  • block-new-sharing - Any attempt to publicly share your AMIs in the specified Region is blocked.

  • unblocked - Your AMIs in the specified Region can be publicly shared.


Queryable Attributes

ImageBlockPublicAccessState

The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.

Possible values:

  • block-new-sharing - Any attempt to publicly share your AMIs in the specified Region is blocked.

  • unblocked - Your AMIs in the specified Region can be publicly shared.

Accessible with the following methods

Method Description
GET_IMAGEBLOCKPUBLICACCSTATE() Getter for IMAGEBLOCKPUBLICACCESSSTATE, with configurable de
ASK_IMAGEBLOCKPUBLICACCSTATE() Getter for IMAGEBLOCKPUBLICACCESSSTATE w/ exceptions if fiel
HAS_IMAGEBLOCKPUBLICACCSTATE() Determine if IMAGEBLOCKPUBLICACCESSSTATE has a value