| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.DrS.Types.RecoveryInstance
Description
Synopsis
- data RecoveryInstance = RecoveryInstance' {- arn :: Maybe Text
- dataReplicationInfo :: Maybe RecoveryInstanceDataReplicationInfo
- ec2InstanceID :: Maybe Text
- ec2InstanceState :: Maybe EC2InstanceState
- failback :: Maybe RecoveryInstanceFailback
- isDrill :: Maybe Bool
- jobID :: Maybe Text
- originEnvironment :: Maybe OriginEnvironment
- pointInTimeSnapshotDateTime :: Maybe Text
- recoveryInstanceID :: Maybe Text
- recoveryInstanceProperties :: Maybe RecoveryInstanceProperties
- sourceServerID :: Maybe Text
- tags :: Maybe (Sensitive (HashMap Text Text))
 
- newRecoveryInstance :: RecoveryInstance
- recoveryInstance_arn :: Lens' RecoveryInstance (Maybe Text)
- recoveryInstance_dataReplicationInfo :: Lens' RecoveryInstance (Maybe RecoveryInstanceDataReplicationInfo)
- recoveryInstance_ec2InstanceID :: Lens' RecoveryInstance (Maybe Text)
- recoveryInstance_ec2InstanceState :: Lens' RecoveryInstance (Maybe EC2InstanceState)
- recoveryInstance_failback :: Lens' RecoveryInstance (Maybe RecoveryInstanceFailback)
- recoveryInstance_isDrill :: Lens' RecoveryInstance (Maybe Bool)
- recoveryInstance_jobID :: Lens' RecoveryInstance (Maybe Text)
- recoveryInstance_originEnvironment :: Lens' RecoveryInstance (Maybe OriginEnvironment)
- recoveryInstance_pointInTimeSnapshotDateTime :: Lens' RecoveryInstance (Maybe Text)
- recoveryInstance_recoveryInstanceID :: Lens' RecoveryInstance (Maybe Text)
- recoveryInstance_recoveryInstanceProperties :: Lens' RecoveryInstance (Maybe RecoveryInstanceProperties)
- recoveryInstance_sourceServerID :: Lens' RecoveryInstance (Maybe Text)
- recoveryInstance_tags :: Lens' RecoveryInstance (Maybe (HashMap Text Text))
Documentation
data RecoveryInstance Source #
A Recovery Instance is a replica of a Source Server running on EC2.
See: newRecoveryInstance smart constructor.
Constructors
| RecoveryInstance' | |
| Fields 
 | |
Instances
newRecoveryInstance :: RecoveryInstance Source #
Create a value of RecoveryInstance with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:RecoveryInstance', recoveryInstance_arn - The ARN of the Recovery Instance.
$sel:dataReplicationInfo:RecoveryInstance', recoveryInstance_dataReplicationInfo - The Data Replication Info of the Recovery Instance.
$sel:ec2InstanceID:RecoveryInstance', recoveryInstance_ec2InstanceID - The EC2 instance ID of the Recovery Instance.
$sel:ec2InstanceState:RecoveryInstance', recoveryInstance_ec2InstanceState - The state of the EC2 instance for this Recovery Instance.
$sel:failback:RecoveryInstance', recoveryInstance_failback - An object representing failback related information of the Recovery
 Instance.
$sel:isDrill:RecoveryInstance', recoveryInstance_isDrill - Whether this Recovery Instance was created for a drill or for an actual
 Recovery event.
$sel:jobID:RecoveryInstance', recoveryInstance_jobID - The ID of the Job that created the Recovery Instance.
$sel:originEnvironment:RecoveryInstance', recoveryInstance_originEnvironment - Environment (On Premises / AWS) of the instance that the recovery
 instance originated from.
$sel:pointInTimeSnapshotDateTime:RecoveryInstance', recoveryInstance_pointInTimeSnapshotDateTime - The date and time of the Point in Time (PIT) snapshot that this Recovery
 Instance was launched from.
$sel:recoveryInstanceID:RecoveryInstance', recoveryInstance_recoveryInstanceID - The ID of the Recovery Instance.
$sel:recoveryInstanceProperties:RecoveryInstance', recoveryInstance_recoveryInstanceProperties - Properties of the Recovery Instance machine.
$sel:sourceServerID:RecoveryInstance', recoveryInstance_sourceServerID - The Source Server ID that this Recovery Instance is associated with.
$sel:tags:RecoveryInstance', recoveryInstance_tags - An array of tags that are associated with the Recovery Instance.
recoveryInstance_arn :: Lens' RecoveryInstance (Maybe Text) Source #
The ARN of the Recovery Instance.
recoveryInstance_dataReplicationInfo :: Lens' RecoveryInstance (Maybe RecoveryInstanceDataReplicationInfo) Source #
The Data Replication Info of the Recovery Instance.
recoveryInstance_ec2InstanceID :: Lens' RecoveryInstance (Maybe Text) Source #
The EC2 instance ID of the Recovery Instance.
recoveryInstance_ec2InstanceState :: Lens' RecoveryInstance (Maybe EC2InstanceState) Source #
The state of the EC2 instance for this Recovery Instance.
recoveryInstance_failback :: Lens' RecoveryInstance (Maybe RecoveryInstanceFailback) Source #
An object representing failback related information of the Recovery Instance.
recoveryInstance_isDrill :: Lens' RecoveryInstance (Maybe Bool) Source #
Whether this Recovery Instance was created for a drill or for an actual Recovery event.
recoveryInstance_jobID :: Lens' RecoveryInstance (Maybe Text) Source #
The ID of the Job that created the Recovery Instance.
recoveryInstance_originEnvironment :: Lens' RecoveryInstance (Maybe OriginEnvironment) Source #
Environment (On Premises / AWS) of the instance that the recovery instance originated from.
recoveryInstance_pointInTimeSnapshotDateTime :: Lens' RecoveryInstance (Maybe Text) Source #
The date and time of the Point in Time (PIT) snapshot that this Recovery Instance was launched from.
recoveryInstance_recoveryInstanceID :: Lens' RecoveryInstance (Maybe Text) Source #
The ID of the Recovery Instance.
recoveryInstance_recoveryInstanceProperties :: Lens' RecoveryInstance (Maybe RecoveryInstanceProperties) Source #
Properties of the Recovery Instance machine.
recoveryInstance_sourceServerID :: Lens' RecoveryInstance (Maybe Text) Source #
The Source Server ID that this Recovery Instance is associated with.
recoveryInstance_tags :: Lens' RecoveryInstance (Maybe (HashMap Text Text)) Source #
An array of tags that are associated with the Recovery Instance.