class Aws::OpsWorksCM::Types::RestoreServerRequest
@note When making an API call, you may pass RestoreServerRequest
data as a hash: { backup_id: "BackupId", # required server_name: "ServerName", # required instance_type: "String", key_pair: "KeyPair", }
@!attribute [rw] backup_id
The ID of the backup that you want to use to restore a server. @return [String]
@!attribute [rw] server_name
The name of the server that you want to restore. @return [String]
@!attribute [rw] instance_type
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. @return [String]
@!attribute [rw] key_pair
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/opsworkscm-2016-11-01/RestoreServerRequest AWS API Documentation
Constants
- SENSITIVE