Skip to content

/AWS1/CL_EC2ENBSNAPBLKPUBACCRS

EnableSnapshotBlockPublicAccessResult

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_STATE TYPE /AWS1/EC2SNAPBLOCKPUBACCSTATE /AWS1/EC2SNAPBLOCKPUBACCSTATE

The state of block public access for snapshots for the account and Region. Returns either block-all-sharing or block-new-sharing if the request succeeds.


Queryable Attributes

State

The state of block public access for snapshots for the account and Region. Returns either block-all-sharing or block-new-sharing if the request succeeds.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value