AWSEC2EnableImageBlockPublicAccessRequest
Objective-C
@interface AWSEC2EnableImageBlockPublicAccessRequest
Swift
class AWSEC2EnableImageBlockPublicAccessRequest
-
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dryRun;
Swift
var dryRun: NSNumber? { get set }
-
Specify
block-new-sharing
to enable block public access for AMIs at the account level in the specified Region. This will block any attempt to publicly share your AMIs in the specified Region.Declaration
Objective-C
@property (nonatomic) AWSEC2ImageBlockPublicAccessEnabledState imageBlockPublicAccessState;
Swift
var imageBlockPublicAccessState: AWSEC2ImageBlockPublicAccessEnabledState { get set }