CfnReplicationTaskPropsMixin

class aws_cdk.mixins_preview.aws_dms.mixins.CfnReplicationTaskPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::DMS::ReplicationTask resource creates an AWS DMS replication task.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html

CloudformationResource:

AWS::DMS::ReplicationTask

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_dms import mixins as dms_mixins

cfn_replication_task_props_mixin = dms_mixins.CfnReplicationTaskPropsMixin(dms_mixins.CfnReplicationTaskMixinProps(
    cdc_start_position="cdcStartPosition",
    cdc_start_time=123,
    cdc_stop_position="cdcStopPosition",
    migration_type="migrationType",
    replication_instance_arn="replicationInstanceArn",
    replication_task_identifier="replicationTaskIdentifier",
    replication_task_settings="replicationTaskSettings",
    resource_identifier="resourceIdentifier",
    source_endpoint_arn="sourceEndpointArn",
    table_mappings="tableMappings",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    target_endpoint_arn="targetEndpointArn",
    task_data="taskData"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::DMS::ReplicationTask.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['cdcStartPosition', 'cdcStartTime', 'cdcStopPosition', 'migrationType', 'replicationInstanceArn', 'replicationTaskIdentifier', 'replicationTaskSettings', 'resourceIdentifier', 'sourceEndpointArn', 'tableMappings', 'tags', 'targetEndpointArn', 'taskData']

Static Methods

classmethod is_mixin(x)

(experimental) 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.

Stability:

experimental