CfnLaunchConfigurationTemplatePropsMixin

class aws_cdk.cfn_property_mixins.aws_drs.CfnLaunchConfigurationTemplatePropsMixin(props, *, strategy=None)

Bases: Mixin

Account level Launch Configuration Template for AWS Elastic Disaster Recovery.

See:

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

CloudformationResource:

AWS::DRS::LaunchConfigurationTemplate

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

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

# merge_strategy: cdk.IMergeStrategy

cfn_launch_configuration_template_props_mixin = drs.CfnLaunchConfigurationTemplatePropsMixin(drs.CfnLaunchConfigurationTemplateMixinProps(
    copy_private_ip=False,
    copy_tags=False,
    export_bucket_arn="exportBucketArn",
    launch_disposition="launchDisposition",
    launch_into_source_instance=False,
    licensing=drs.CfnLaunchConfigurationTemplatePropsMixin.LicensingProperty(
        os_byol=False
    ),
    post_launch_enabled=False,
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )],
    target_instance_type_right_sizing_method="targetInstanceTypeRightSizingMethod"
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::DRS::LaunchConfigurationTemplate.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['copyPrivateIp', 'copyTags', 'exportBucketArn', 'launchDisposition', 'launchIntoSourceInstance', 'licensing', 'postLaunchEnabled', 'tags', 'targetInstanceTypeRightSizingMethod']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

LicensingProperty

class CfnLaunchConfigurationTemplatePropsMixin.LicensingProperty(*, os_byol=None)

Bases: object

Configuration of a machine’s license.

Parameters:

os_byol (Union[bool, IResolvable, None]) – Whether to enable Bring your own license or not.

See:

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

ExampleMetadata:

fixture=_generated

Example:

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

licensing_property = drs.CfnLaunchConfigurationTemplatePropsMixin.LicensingProperty(
    os_byol=False
)

Attributes

os_byol

Whether to enable Bring your own license or not.

See:

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