CfnLaunchConfigurationTemplatePropsMixin
- class aws_cdk.cfn_property_mixins.aws_drs.CfnLaunchConfigurationTemplatePropsMixin(props, *, strategy=None)
Bases:
MixinAccount level Launch Configuration Template for AWS Elastic Disaster Recovery.
- See:
- 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:
props (
Union[CfnLaunchConfigurationTemplateMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
LicensingProperty
- class CfnLaunchConfigurationTemplatePropsMixin.LicensingProperty(*, os_byol=None)
Bases:
objectConfiguration of a machine’s license.
- Parameters:
os_byol (
Union[bool,IResolvable,None]) – Whether to enable Bring your own license or not.- See:
- 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.