AWSEC2StopInstancesRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSEC2Model.h


Contains the parameters for StopInstances.

Required parameters: [InstanceIds]


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.

@property (nonatomic, strong) NSNumber *dryRun

Declared In



Forces the instances to stop. The instances do not have an opportunity to flush file system caches or file system metadata. If you use this option, you must perform file system check and repair procedures. This option is not recommended for Windows instances.

Default: false

@property (nonatomic, strong) NSNumber *force

Declared In



One or more instance IDs.

@property (nonatomic, strong) NSArray<NSString*> *instanceIds

Declared In