Skip to content

LaunchConfiguration

Source code in docs_src/capo_drs/types/launch_configuration.py
class LaunchConfiguration(TypedDict, closed=True):
    source_server_id: NotRequired["capo_drs.types.source_server_id.SourceServerID"]
    """<p>The ID of the Source Server for this launch configuration.</p>"""
    name: NotRequired["capo_drs.types.small_bounded_string.SmallBoundedString"]
    """<p>The name of the launch configuration.</p>"""
    ec2_launch_template_id: NotRequired["capo_drs.types.bounded_string.BoundedString"]
    """<p>The EC2 launch template ID of this launch configuration.</p>"""
    launch_disposition: NotRequired[
        "capo_drs.types.launch_disposition.LaunchDisposition"
    ]
    """<p>The state of the Recovery Instance in EC2 after the recovery operation.</p>"""
    target_instance_type_right_sizing_method: NotRequired[
        "capo_drs.types.target_instance_type_right_sizing_method.TargetInstanceTypeRightSizingMethod"
    ]
    """<p>Whether Elastic Disaster Recovery should try to automatically choose the instance type that best matches the OS, CPU, and RAM of your Source Server.</p>"""
    copy_private_ip: NotRequired["bool"]
    """<p>Whether we should copy the Private IP of the Source Server to the Recovery Instance.</p>"""
    copy_tags: NotRequired["bool"]
    """<p>Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.</p>"""
    licensing: NotRequired["capo_drs.types.licensing.Licensing"]
    """<p>The licensing configuration to be used for this launch configuration.</p>"""
    post_launch_enabled: NotRequired["bool"]
    """<p>Whether we want to activate post-launch actions for the Source Server.</p>"""
    launch_into_instance_properties: NotRequired[
        "capo_drs.types.launch_into_instance_properties.LaunchIntoInstanceProperties"
    ]
    """<p>Launch into existing instance properties.</p>"""
    recovery_mode: NotRequired["capo_drs.types.recovery_mode.RecoveryMode"]
    """<p>Recovery mode.</p>"""

copy_private_ip instance-attribute

copy_private_ip: NotRequired[bool]

Whether we should copy the Private IP of the Source Server to the Recovery Instance.

copy_tags instance-attribute

copy_tags: NotRequired[bool]

Whether we want to copy the tags of the Source Server to the EC2 machine of the Recovery Instance.

ec2_launch_template_id instance-attribute

ec2_launch_template_id: NotRequired[BoundedString]

The EC2 launch template ID of this launch configuration.

launch_disposition instance-attribute

launch_disposition: NotRequired[LaunchDisposition]

The state of the Recovery Instance in EC2 after the recovery operation.

launch_into_instance_properties instance-attribute

launch_into_instance_properties: NotRequired[LaunchIntoInstanceProperties]

Launch into existing instance properties.

licensing instance-attribute

licensing: NotRequired[Licensing]

The licensing configuration to be used for this launch configuration.

name instance-attribute

name: NotRequired[SmallBoundedString]

The name of the launch configuration.

post_launch_enabled instance-attribute

post_launch_enabled: NotRequired[bool]

Whether we want to activate post-launch actions for the Source Server.

recovery_mode instance-attribute

recovery_mode: NotRequired[RecoveryMode]

Recovery mode.

source_server_id instance-attribute

source_server_id: NotRequired[SourceServerID]

The ID of the Source Server for this launch configuration.

target_instance_type_right_sizing_method instance-attribute

target_instance_type_right_sizing_method: NotRequired[
    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.