| 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.GetLaunchConfiguration
Description
Gets a LaunchConfiguration, filtered by Source Server IDs.
Synopsis
- data GetLaunchConfiguration = GetLaunchConfiguration' {}
- newGetLaunchConfiguration :: Text -> GetLaunchConfiguration
- getLaunchConfiguration_sourceServerID :: Lens' GetLaunchConfiguration Text
- data LaunchConfiguration = LaunchConfiguration' {}
- newLaunchConfiguration :: LaunchConfiguration
- launchConfiguration_copyPrivateIp :: Lens' LaunchConfiguration (Maybe Bool)
- launchConfiguration_copyTags :: Lens' LaunchConfiguration (Maybe Bool)
- launchConfiguration_ec2LaunchTemplateID :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_launchDisposition :: Lens' LaunchConfiguration (Maybe LaunchDisposition)
- launchConfiguration_licensing :: Lens' LaunchConfiguration (Maybe Licensing)
- launchConfiguration_name :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_sourceServerID :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfiguration (Maybe TargetInstanceTypeRightSizingMethod)
Creating a Request
data GetLaunchConfiguration Source #
See: newGetLaunchConfiguration smart constructor.
Constructors
| GetLaunchConfiguration' | |
Fields
| |
Instances
newGetLaunchConfiguration Source #
Arguments
| :: Text | |
| -> GetLaunchConfiguration |
Create a value of GetLaunchConfiguration 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:
GetLaunchConfiguration, getLaunchConfiguration_sourceServerID - The ID of the Source Server that we want to retrieve a Launch
Configuration for.
Request Lenses
getLaunchConfiguration_sourceServerID :: Lens' GetLaunchConfiguration Text Source #
The ID of the Source Server that we want to retrieve a Launch Configuration for.
Destructuring the Response
data LaunchConfiguration Source #
See: newLaunchConfiguration smart constructor.
Constructors
| LaunchConfiguration' | |
Fields
| |
Instances
newLaunchConfiguration :: LaunchConfiguration Source #
Create a value of LaunchConfiguration 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:copyPrivateIp:LaunchConfiguration', launchConfiguration_copyPrivateIp - Whether we should copy the Private IP of the Source Server to the
Recovery Instance.
$sel:copyTags:LaunchConfiguration', launchConfiguration_copyTags - Whether we want to copy the tags of the Source Server to the EC2 machine
of the Recovery Instance.
$sel:ec2LaunchTemplateID:LaunchConfiguration', launchConfiguration_ec2LaunchTemplateID - The EC2 launch template ID of this launch configuration.
$sel:launchDisposition:LaunchConfiguration', launchConfiguration_launchDisposition - The state of the Recovery Instance in EC2 after the recovery operation.
$sel:licensing:LaunchConfiguration', launchConfiguration_licensing - The licensing configuration to be used for this launch configuration.
$sel:name:LaunchConfiguration', launchConfiguration_name - The name of the launch configuration.
$sel:sourceServerID:LaunchConfiguration', launchConfiguration_sourceServerID - The ID of the Source Server for this launch configuration.
$sel:targetInstanceTypeRightSizingMethod:LaunchConfiguration', launchConfiguration_targetInstanceTypeRightSizingMethod - Whether Elastic Disaster Recovery should try to automatically choose the
instance type that best matches the OS, CPU, and RAM of your Source
Server.
Response Lenses
launchConfiguration_copyPrivateIp :: Lens' LaunchConfiguration (Maybe Bool) Source #
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
launchConfiguration_copyTags :: Lens' LaunchConfiguration (Maybe Bool) Source #
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
launchConfiguration_ec2LaunchTemplateID :: Lens' LaunchConfiguration (Maybe Text) Source #
The EC2 launch template ID of this launch configuration.
launchConfiguration_launchDisposition :: Lens' LaunchConfiguration (Maybe LaunchDisposition) Source #
The state of the Recovery Instance in EC2 after the recovery operation.
launchConfiguration_licensing :: Lens' LaunchConfiguration (Maybe Licensing) Source #
The licensing configuration to be used for this launch configuration.
launchConfiguration_name :: Lens' LaunchConfiguration (Maybe Text) Source #
The name of the launch configuration.
launchConfiguration_sourceServerID :: Lens' LaunchConfiguration (Maybe Text) Source #
The ID of the Source Server for this launch configuration.
launchConfiguration_targetInstanceTypeRightSizingMethod :: Lens' LaunchConfiguration (Maybe TargetInstanceTypeRightSizingMethod) Source #
Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.