CfnLaunchConfigurationTemplateProps

class aws_cdk.aws_mgn.CfnLaunchConfigurationTemplateProps(*, associate_public_ip_address=None, boot_mode=None, copy_private_ip=None, copy_tags=None, enable_map_auto_tagging=None, enable_parameters_encryption=None, large_volume_conf=None, launch_disposition=None, licensing=None, map_auto_tagging_mpe_id=None, parameters_encryption_key=None, post_launch_actions=None, small_volume_conf=None, small_volume_max_size=None, tags=None, target_instance_type_right_sizing_method=None)

Bases: object

Properties for defining a CfnLaunchConfigurationTemplate.

Parameters:
  • associate_public_ip_address (Union[bool, IResolvable, None]) – Whether to associate a public IP address with the launched instance.

  • boot_mode (Optional[str]) – Launch configuration template boot mode.

  • copy_private_ip (Union[bool, IResolvable, None]) – Whether to copy the private IP of the source server.

  • copy_tags (Union[bool, IResolvable, None]) – Whether to copy the tags of the source server.

  • enable_map_auto_tagging (Union[bool, IResolvable, None]) – Whether to enable map auto tagging.

  • enable_parameters_encryption (Union[bool, IResolvable, None]) – Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.

  • large_volume_conf (Union[IResolvable, LaunchTemplateDiskConfProperty, Dict[str, Any], None]) – Launch template disk configuration.

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

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

  • map_auto_tagging_mpe_id (Optional[str]) – Launch configuration template map auto tagging MPE ID.

  • parameters_encryption_key (Optional[str]) – ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions.

  • post_launch_actions (Union[IResolvable, PostLaunchActionsProperty, Dict[str, Any], None]) – Post launch actions to execute on the Test or Cutover instance.

  • small_volume_conf (Union[IResolvable, LaunchTemplateDiskConfProperty, Dict[str, Any], None]) – Launch template disk configuration.

  • small_volume_max_size (Union[int, float, None]) – Small volume maximum size, in GiB.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A set of tags to be 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-mgn-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_mgn as mgn

cfn_launch_configuration_template_props = mgn.CfnLaunchConfigurationTemplateProps(
    associate_public_ip_address=False,
    boot_mode="bootMode",
    copy_private_ip=False,
    copy_tags=False,
    enable_map_auto_tagging=False,
    enable_parameters_encryption=False,
    large_volume_conf=mgn.CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty(
        iops=123,
        throughput=123,
        volume_type="volumeType"
    ),
    launch_disposition="launchDisposition",
    licensing=mgn.CfnLaunchConfigurationTemplate.LicensingProperty(
        os_byol=False
    ),
    map_auto_tagging_mpe_id="mapAutoTaggingMpeId",
    parameters_encryption_key="parametersEncryptionKey",
    post_launch_actions=mgn.CfnLaunchConfigurationTemplate.PostLaunchActionsProperty(
        cloud_watch_log_group_name="cloudWatchLogGroupName",
        deployment="deployment",
        s3_log_bucket="s3LogBucket",
        s3_output_key_prefix="s3OutputKeyPrefix",
        ssm_documents=[mgn.CfnLaunchConfigurationTemplate.SsmDocumentProperty(
            action_name="actionName",
            ssm_document_name="ssmDocumentName",

            # the properties below are optional
            external_parameters={
                "external_parameters_key": mgn.CfnLaunchConfigurationTemplate.SsmExternalParameterProperty(
                    dynamic_path="dynamicPath"
                )
            },
            must_succeed_for_cutover=False,
            parameters={
                "parameters_key": [mgn.CfnLaunchConfigurationTemplate.SsmParameterStoreParameterProperty(
                    parameter_name="parameterName",
                    parameter_type="parameterType"
                )]
            },
            timeout_seconds=123
        )]
    ),
    small_volume_conf=mgn.CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty(
        iops=123,
        throughput=123,
        volume_type="volumeType"
    ),
    small_volume_max_size=123,
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_instance_type_right_sizing_method="targetInstanceTypeRightSizingMethod"
)

Attributes

associate_public_ip_address

Whether to associate a public IP address with the launched instance.

See:

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

boot_mode

Launch configuration template boot mode.

See:

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

copy_private_ip

Whether to copy the private IP of the source server.

See:

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

copy_tags

Whether to copy the tags of the source server.

See:

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

enable_map_auto_tagging

Whether to enable map auto tagging.

See:

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

enable_parameters_encryption

Whether to enable encryption of the AWS Systems Manager parameters used by post launch actions.

See:

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

large_volume_conf

Launch template disk configuration.

See:

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

launch_disposition

Launch disposition.

See:

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

licensing

Configuration of a machine’s license.

See:

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

map_auto_tagging_mpe_id

Launch configuration template map auto tagging MPE ID.

See:

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

parameters_encryption_key

ARN of the KMS key used to encrypt the AWS Systems Manager parameters used by post launch actions.

See:

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

post_launch_actions

Post launch actions to execute on the Test or Cutover instance.

See:

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

small_volume_conf

Launch template disk configuration.

See:

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

small_volume_max_size

Small volume maximum size, in GiB.

See:

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

tags

A set of tags to be associated with the Launch Configuration Template.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mgn-launchconfigurationtemplate.html#cfn-mgn-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-mgn-launchconfigurationtemplate.html#cfn-mgn-launchconfigurationtemplate-targetinstancetyperightsizingmethod