Class: Aws::OpsWorksCM::Types::RestoreServerRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorksCM::Types::RestoreServerRequest
- Defined in:
- gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#backup_id ⇒ String
The ID of the backup that you want to use to restore a server.
-
#instance_type ⇒ String
The type of instance to restore.
-
#key_pair ⇒ String
The name of the key pair to set on the new EC2 instance.
-
#server_name ⇒ String
The name of the server that you want to restore.
Instance Attribute Details
#backup_id ⇒ String
The ID of the backup that you want to use to restore a server.
1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1119 class RestoreServerRequest < Struct.new( :backup_id, :server_name, :instance_type, :key_pair) SENSITIVE = [] include Aws::Structure end |
#instance_type ⇒ 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.
1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1119 class RestoreServerRequest < Struct.new( :backup_id, :server_name, :instance_type, :key_pair) SENSITIVE = [] include Aws::Structure end |
#key_pair ⇒ 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.
1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1119 class RestoreServerRequest < Struct.new( :backup_id, :server_name, :instance_type, :key_pair) SENSITIVE = [] include Aws::Structure end |
#server_name ⇒ String
The name of the server that you want to restore.
1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1119 class RestoreServerRequest < Struct.new( :backup_id, :server_name, :instance_type, :key_pair) SENSITIVE = [] include Aws::Structure end |