RestoreServerRequest
public struct RestoreServerRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The ID of the backup that you want to use to restore a server.
Declaration
Swift
public let backupId: String
-
The type of instance to restore. Valid values must be specified in the following format: ^([cm][34]|t2).* For example, m5.large. Valid values are m5.large, r5.xlarge, and r5.2xlarge. If you do not specify this parameter, RestoreServer uses the instance type from the specified backup.
Declaration
Swift
public let instanceType: String?
-
The name of the key pair to set on the new EC2 instance. This can be helpful if the administrator no longer has the SSH key.
Declaration
Swift
public let keyPair: String?
-
The name of the server that you want to restore.
Declaration
Swift
public let serverName: String
-
Undocumented
Declaration
Swift
public init(backupId: String, instanceType: String? = nil, keyPair: String? = nil, serverName: String)
-
Declaration
Swift
public func validate(name: String) throws