AWSEC2ModifyInstanceMaintenanceOptionsRequest

Objective-C

@interface AWSEC2ModifyInstanceMaintenanceOptionsRequest

Swift

class AWSEC2ModifyInstanceMaintenanceOptionsRequest
  • Disables the automatic recovery behavior of your instance or sets it to default.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2InstanceAutoRecoveryState autoRecovery;

    Swift

    var autoRecovery: AWSEC2InstanceAutoRecoveryState { get set }
  • 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 is UnauthorizedOperation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceId;

    Swift

    var instanceId: String? { get set }