AWSEC2CreateReplaceRootVolumeTaskRequest
Objective-C
@interface AWSEC2CreateReplaceRootVolumeTaskRequest
Swift
class AWSEC2CreateReplaceRootVolumeTaskRequest
-
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see Ensuring idempotency.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable clientToken;
Swift
var clientToken: String? { 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 isUnauthorizedOperation
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dryRun;
Swift
var dryRun: NSNumber? { get set }
-
The ID of the instance for which to replace the root volume.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable instanceId;
Swift
var instanceId: String? { get set }
-
The ID of the snapshot from which to restore the replacement root volume. If you want to restore the volume to the initial launch state, omit this parameter.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable snapshotId;
Swift
var snapshotId: String? { get set }
-
The tags to apply to the root volume replacement task.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;
Swift
var tagSpecifications: [AWSEC2TagSpecification]? { get set }