AWSEC2EnableImageDeregistrationProtectionRequest
Objective-C
@interface AWSEC2EnableImageDeregistrationProtectionRequest
Swift
class AWSEC2EnableImageDeregistrationProtectionRequest
-
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 }
-
The ID of the AMI.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable imageId;
Swift
var imageId: String? { get set }
-
If
true
, enforces deregistration protection for 24 hours after deregistration protection is disabled.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable withCooldown;
Swift
var withCooldown: NSNumber? { get set }