CfnLaunchConfigurationTemplateProps

class aws_cdk.aws_drs.CfnLaunchConfigurationTemplateProps(*, copy_private_ip=None, copy_tags=None, export_bucket_arn=None, launch_disposition=None, launch_into_source_instance=None, licensing=None, post_launch_enabled=None, tags=None, target_instance_type_right_sizing_method=None)

Bases: object

Properties for defining a CfnLaunchConfigurationTemplate.

Parameters:
  • copy_private_ip (Union[bool, IResolvable, None]) – Copy private IP.

  • copy_tags (Union[bool, IResolvable, None]) – Copy tags.

  • export_bucket_arn (Optional[str]) – S3 bucket ARN to export Source Network templates.

  • launch_disposition (Optional[str]) – Launch disposition.

  • launch_into_source_instance (Union[bool, IResolvable, None]) – DRS will set the ‘launch into instance ID’ of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.

  • licensing (Union[IResolvable, LicensingProperty, Dict[str, Any], None]) – Configuration of a machine’s license.

  • post_launch_enabled (Union[bool, IResolvable, None]) – Whether we want to activate post-launch actions.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A set of tags associated with the Launch Configuration Template.

  • target_instance_type_right_sizing_method (Optional[str]) – Target instance type right-sizing method.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_drs as drs

cfn_launch_configuration_template_props = drs.CfnLaunchConfigurationTemplateProps(
    copy_private_ip=False,
    copy_tags=False,
    export_bucket_arn="exportBucketArn",
    launch_disposition="launchDisposition",
    launch_into_source_instance=False,
    licensing=drs.CfnLaunchConfigurationTemplate.LicensingProperty(
        os_byol=False
    ),
    post_launch_enabled=False,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_instance_type_right_sizing_method="targetInstanceTypeRightSizingMethod"
)

Attributes

copy_private_ip

Copy private IP.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-copyprivateip

copy_tags

Copy tags.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-copytags

export_bucket_arn

S3 bucket ARN to export Source Network templates.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-exportbucketarn

launch_disposition

Launch disposition.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-launchdisposition

launch_into_source_instance

DRS will set the ‘launch into instance ID’ of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-launchintosourceinstance

licensing

Configuration of a machine’s license.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-licensing

post_launch_enabled

Whether we want to activate post-launch actions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-postlaunchenabled

tags

A set of tags associated with the Launch Configuration Template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-tags

target_instance_type_right_sizing_method

Target instance type right-sizing method.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-drs-launchconfigurationtemplate.html#cfn-drs-launchconfigurationtemplate-targetinstancetyperightsizingmethod