| 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.UpdateLaunchConfiguration
Description
Updates a LaunchConfiguration by Source Server ID.
Synopsis
- data UpdateLaunchConfiguration = UpdateLaunchConfiguration' {}
- newUpdateLaunchConfiguration :: Text -> UpdateLaunchConfiguration
- updateLaunchConfiguration_copyPrivateIp :: Lens' UpdateLaunchConfiguration (Maybe Bool)
- updateLaunchConfiguration_copyTags :: Lens' UpdateLaunchConfiguration (Maybe Bool)
- updateLaunchConfiguration_launchDisposition :: Lens' UpdateLaunchConfiguration (Maybe LaunchDisposition)
- updateLaunchConfiguration_licensing :: Lens' UpdateLaunchConfiguration (Maybe Licensing)
- updateLaunchConfiguration_name :: Lens' UpdateLaunchConfiguration (Maybe Text)
- updateLaunchConfiguration_targetInstanceTypeRightSizingMethod :: Lens' UpdateLaunchConfiguration (Maybe TargetInstanceTypeRightSizingMethod)
- updateLaunchConfiguration_sourceServerID :: Lens' UpdateLaunchConfiguration 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 UpdateLaunchConfiguration Source #
See: newUpdateLaunchConfiguration smart constructor.
Constructors
| UpdateLaunchConfiguration' | |
Fields
| |
Instances
newUpdateLaunchConfiguration Source #
Arguments
| :: Text | |
| -> UpdateLaunchConfiguration |
Create a value of UpdateLaunchConfiguration 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:
UpdateLaunchConfiguration, updateLaunchConfiguration_copyPrivateIp - Whether we should copy the Private IP of the Source Server to the
Recovery Instance.
UpdateLaunchConfiguration, updateLaunchConfiguration_copyTags - Whether we want to copy the tags of the Source Server to the EC2 machine
of the Recovery Instance.
UpdateLaunchConfiguration, updateLaunchConfiguration_launchDisposition - The state of the Recovery Instance in EC2 after the recovery operation.
UpdateLaunchConfiguration, updateLaunchConfiguration_licensing - The licensing configuration to be used for this launch configuration.
UpdateLaunchConfiguration, updateLaunchConfiguration_name - The name of the launch configuration.
UpdateLaunchConfiguration, updateLaunchConfiguration_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.
UpdateLaunchConfiguration, updateLaunchConfiguration_sourceServerID - The ID of the Source Server that we want to retrieve a Launch
Configuration for.
Request Lenses
updateLaunchConfiguration_copyPrivateIp :: Lens' UpdateLaunchConfiguration (Maybe Bool) Source #
Whether we should copy the Private IP of the Source Server to the Recovery Instance.
updateLaunchConfiguration_copyTags :: Lens' UpdateLaunchConfiguration (Maybe Bool) Source #
Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.
updateLaunchConfiguration_launchDisposition :: Lens' UpdateLaunchConfiguration (Maybe LaunchDisposition) Source #
The state of the Recovery Instance in EC2 after the recovery operation.
updateLaunchConfiguration_licensing :: Lens' UpdateLaunchConfiguration (Maybe Licensing) Source #
The licensing configuration to be used for this launch configuration.
updateLaunchConfiguration_name :: Lens' UpdateLaunchConfiguration (Maybe Text) Source #
The name of the launch configuration.
updateLaunchConfiguration_targetInstanceTypeRightSizingMethod :: Lens' UpdateLaunchConfiguration (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.
updateLaunchConfiguration_sourceServerID :: Lens' UpdateLaunchConfiguration 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.