AWS Classic
ReplicationTask
Provides a DMS (Data Migration Service) replication task resource. DMS replication tasks can be created, updated, deleted, and imported.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
// Create a new replication task
var test = new Aws.Dms.ReplicationTask("test", new Aws.Dms.ReplicationTaskArgs
{
CdcStartTime = "1484346880",
MigrationType = "full-load",
ReplicationInstanceArn = aws_dms_replication_instance.Test_dms_replication_instance_tf.Replication_instance_arn,
ReplicationTaskId = "test-dms-replication-task-tf",
ReplicationTaskSettings = "...",
SourceEndpointArn = aws_dms_endpoint.Test_dms_source_endpoint_tf.Endpoint_arn,
TableMappings = "{\"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"object-locator\":{\"schema-name\":\"%\",\"table-name\":\"%\"},\"rule-action\":\"include\"}]}",
Tags =
{
{ "Name", "test" },
},
TargetEndpointArn = aws_dms_endpoint.Test_dms_target_endpoint_tf.Endpoint_arn,
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/dms"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dms.NewReplicationTask(ctx, "test", &dms.ReplicationTaskArgs{
CdcStartTime: pulumi.String("1484346880"),
MigrationType: pulumi.String("full-load"),
ReplicationInstanceArn: pulumi.Any(aws_dms_replication_instance.Test - dms - replication - instance - tf.Replication_instance_arn),
ReplicationTaskId: pulumi.String("test-dms-replication-task-tf"),
ReplicationTaskSettings: pulumi.String("..."),
SourceEndpointArn: pulumi.Any(aws_dms_endpoint.Test - dms - source - endpoint - tf.Endpoint_arn),
TableMappings: pulumi.String(fmt.Sprintf("%v%v%v%v%v", "{\"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"object-locator\":{\"schema-name\":\"", "%", "\",\"table-name\":\"", "%", "\"},\"rule-action\":\"include\"}]}")),
Tags: pulumi.StringMap{
"Name": pulumi.String("test"),
},
TargetEndpointArn: pulumi.Any(aws_dms_endpoint.Test - dms - target - endpoint - tf.Endpoint_arn),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new ReplicationTask("test", ReplicationTaskArgs.builder()
.cdcStartTime(1484346880)
.migrationType("full-load")
.replicationInstanceArn(aws_dms_replication_instance.test-dms-replication-instance-tf().replication_instance_arn())
.replicationTaskId("test-dms-replication-task-tf")
.replicationTaskSettings("...")
.sourceEndpointArn(aws_dms_endpoint.test-dms-source-endpoint-tf().endpoint_arn())
.tableMappings("{\"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"object-locator\":{\"schema-name\":\"%\",\"table-name\":\"%\"},\"rule-action\":\"include\"}]}")
.tags(Map.of("Name", "test"))
.targetEndpointArn(aws_dms_endpoint.test-dms-target-endpoint-tf().endpoint_arn())
.build());
}
}
import pulumi
import pulumi_aws as aws
# Create a new replication task
test = aws.dms.ReplicationTask("test",
cdc_start_time="1484346880",
migration_type="full-load",
replication_instance_arn=aws_dms_replication_instance["test-dms-replication-instance-tf"]["replication_instance_arn"],
replication_task_id="test-dms-replication-task-tf",
replication_task_settings="...",
source_endpoint_arn=aws_dms_endpoint["test-dms-source-endpoint-tf"]["endpoint_arn"],
table_mappings="{\"rules\":[{\"rule-type\":\"selection\",\"rule-id\":\"1\",\"rule-name\":\"1\",\"object-locator\":{\"schema-name\":\"%\",\"table-name\":\"%\"},\"rule-action\":\"include\"}]}",
tags={
"Name": "test",
},
target_endpoint_arn=aws_dms_endpoint["test-dms-target-endpoint-tf"]["endpoint_arn"])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
// Create a new replication task
const test = new aws.dms.ReplicationTask("test", {
cdcStartTime: "1484346880",
migrationType: "full-load",
replicationInstanceArn: aws_dms_replication_instance["test-dms-replication-instance-tf"].replication_instance_arn,
replicationTaskId: "test-dms-replication-task-tf",
replicationTaskSettings: "...",
sourceEndpointArn: aws_dms_endpoint["test-dms-source-endpoint-tf"].endpoint_arn,
tableMappings: `{"rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","object-locator":{"schema-name":"%","table-name":"%"},"rule-action":"include"}]}`,
tags: {
Name: "test",
},
targetEndpointArn: aws_dms_endpoint["test-dms-target-endpoint-tf"].endpoint_arn,
});
resources:
test:
type: aws:dms:ReplicationTask
properties:
cdcStartTime: 1.48434688e+09
migrationType: full-load
replicationInstanceArn: ${aws_dms_replication_instance"test-dms-replication-instance-tf"[%!s(MISSING)].replication_instance_arn}
replicationTaskId: test-dms-replication-task-tf
replicationTaskSettings: '...'
sourceEndpointArn: ${aws_dms_endpoint"test-dms-source-endpoint-tf"[%!s(MISSING)].endpoint_arn}
tableMappings: '{"rules":[{"rule-type":"selection","rule-id":"1","rule-name":"1","object-locator":{"schema-name":"%","table-name":"%"},"rule-action":"include"}]}'
tags:
Name: test
targetEndpointArn: ${aws_dms_endpoint"test-dms-target-endpoint-tf"[%!s(MISSING)].endpoint_arn}
Create a ReplicationTask Resource
new ReplicationTask(name: string, args: ReplicationTaskArgs, opts?: CustomResourceOptions);
@overload
def ReplicationTask(resource_name: str,
opts: Optional[ResourceOptions] = None,
cdc_start_position: Optional[str] = None,
cdc_start_time: Optional[str] = None,
migration_type: Optional[str] = None,
replication_instance_arn: Optional[str] = None,
replication_task_id: Optional[str] = None,
replication_task_settings: Optional[str] = None,
source_endpoint_arn: Optional[str] = None,
start_replication_task: Optional[bool] = None,
table_mappings: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
target_endpoint_arn: Optional[str] = None)
@overload
def ReplicationTask(resource_name: str,
args: ReplicationTaskArgs,
opts: Optional[ResourceOptions] = None)
func NewReplicationTask(ctx *Context, name string, args ReplicationTaskArgs, opts ...ResourceOption) (*ReplicationTask, error)
public ReplicationTask(string name, ReplicationTaskArgs args, CustomResourceOptions? opts = null)
public ReplicationTask(String name, ReplicationTaskArgs args)
public ReplicationTask(String name, ReplicationTaskArgs args, CustomResourceOptions options)
type: aws:dms:ReplicationTask
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ReplicationTaskArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ReplicationTaskArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReplicationTaskArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReplicationTaskArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ReplicationTask Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ReplicationTask resource accepts the following input properties:
- Migration
Type string The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- Replication
Instance stringArn The Amazon Resource Name (ARN) of the replication instance.
- Replication
Task stringId The replication task identifier.
- Source
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Table
Mappings string An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Target
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- Cdc
Start stringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- Cdc
Start stringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- Replication
Task stringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- Start
Replication boolTask Whether to run or stop the replication task.
- Dictionary<string, string>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Migration
Type string The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- Replication
Instance stringArn The Amazon Resource Name (ARN) of the replication instance.
- Replication
Task stringId The replication task identifier.
- Source
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Table
Mappings string An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Target
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- Cdc
Start stringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- Cdc
Start stringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- Replication
Task stringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- Start
Replication boolTask Whether to run or stop the replication task.
- map[string]string
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- migration
Type String The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication
Instance StringArn The Amazon Resource Name (ARN) of the replication instance.
- replication
Task StringId The replication task identifier.
- source
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table
Mappings String An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc
Start StringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc
Start StringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- replication
Task StringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- start
Replication BooleanTask Whether to run or stop the replication task.
- Map<String,String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- migration
Type string The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication
Instance stringArn The Amazon Resource Name (ARN) of the replication instance.
- replication
Task stringId The replication task identifier.
- source
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table
Mappings string An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc
Start stringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc
Start stringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- replication
Task stringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- start
Replication booleanTask Whether to run or stop the replication task.
- {[key: string]: string}
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- migration_
type str The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication_
instance_ strarn The Amazon Resource Name (ARN) of the replication instance.
- replication_
task_ strid The replication task identifier.
- source_
endpoint_ strarn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table_
mappings str An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target_
endpoint_ strarn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc_
start_ strposition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc_
start_ strtime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- replication_
task_ strsettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- start_
replication_ booltask Whether to run or stop the replication task.
- Mapping[str, str]
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- migration
Type String The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication
Instance StringArn The Amazon Resource Name (ARN) of the replication instance.
- replication
Task StringId The replication task identifier.
- source
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- table
Mappings String An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- target
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc
Start StringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc
Start StringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- replication
Task StringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- start
Replication BooleanTask Whether to run or stop the replication task.
- Map<String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReplicationTask resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Replication
Task stringArn The Amazon Resource Name (ARN) for the replication task.
- Status string
Replication Task status.
- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider .
- Id string
The provider-assigned unique ID for this managed resource.
- Replication
Task stringArn The Amazon Resource Name (ARN) for the replication task.
- Status string
Replication Task status.
- map[string]string
A map of tags assigned to the resource, including those inherited from the provider .
- id String
The provider-assigned unique ID for this managed resource.
- replication
Task StringArn The Amazon Resource Name (ARN) for the replication task.
- status String
Replication Task status.
- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider .
- id string
The provider-assigned unique ID for this managed resource.
- replication
Task stringArn The Amazon Resource Name (ARN) for the replication task.
- status string
Replication Task status.
- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider .
- id str
The provider-assigned unique ID for this managed resource.
- replication_
task_ strarn The Amazon Resource Name (ARN) for the replication task.
- status str
Replication Task status.
- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider .
- id String
The provider-assigned unique ID for this managed resource.
- replication
Task StringArn The Amazon Resource Name (ARN) for the replication task.
- status String
Replication Task status.
- Map<String>
A map of tags assigned to the resource, including those inherited from the provider .
Look up an Existing ReplicationTask Resource
Get an existing ReplicationTask resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ReplicationTaskState, opts?: CustomResourceOptions): ReplicationTask
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cdc_start_position: Optional[str] = None,
cdc_start_time: Optional[str] = None,
migration_type: Optional[str] = None,
replication_instance_arn: Optional[str] = None,
replication_task_arn: Optional[str] = None,
replication_task_id: Optional[str] = None,
replication_task_settings: Optional[str] = None,
source_endpoint_arn: Optional[str] = None,
start_replication_task: Optional[bool] = None,
status: Optional[str] = None,
table_mappings: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
target_endpoint_arn: Optional[str] = None) -> ReplicationTask
func GetReplicationTask(ctx *Context, name string, id IDInput, state *ReplicationTaskState, opts ...ResourceOption) (*ReplicationTask, error)
public static ReplicationTask Get(string name, Input<string> id, ReplicationTaskState? state, CustomResourceOptions? opts = null)
public static ReplicationTask get(String name, Output<String> id, ReplicationTaskState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cdc
Start stringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- Cdc
Start stringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- Migration
Type string The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- Replication
Instance stringArn The Amazon Resource Name (ARN) of the replication instance.
- Replication
Task stringArn The Amazon Resource Name (ARN) for the replication task.
- Replication
Task stringId The replication task identifier.
- Replication
Task stringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- Source
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Start
Replication boolTask Whether to run or stop the replication task.
- Status string
Replication Task status.
- Table
Mappings string An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Dictionary<string, string>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider .
- Target
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- Cdc
Start stringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- Cdc
Start stringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- Migration
Type string The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- Replication
Instance stringArn The Amazon Resource Name (ARN) of the replication instance.
- Replication
Task stringArn The Amazon Resource Name (ARN) for the replication task.
- Replication
Task stringId The replication task identifier.
- Replication
Task stringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- Source
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- Start
Replication boolTask Whether to run or stop the replication task.
- Status string
Replication Task status.
- Table
Mappings string An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- map[string]string
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider .
- Target
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc
Start StringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc
Start StringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- migration
Type String The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication
Instance StringArn The Amazon Resource Name (ARN) of the replication instance.
- replication
Task StringArn The Amazon Resource Name (ARN) for the replication task.
- replication
Task StringId The replication task identifier.
- replication
Task StringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- source
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start
Replication BooleanTask Whether to run or stop the replication task.
- status String
Replication Task status.
- table
Mappings String An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Map<String,String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider .
- target
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc
Start stringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc
Start stringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- migration
Type string The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication
Instance stringArn The Amazon Resource Name (ARN) of the replication instance.
- replication
Task stringArn The Amazon Resource Name (ARN) for the replication task.
- replication
Task stringId The replication task identifier.
- replication
Task stringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- source
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start
Replication booleanTask Whether to run or stop the replication task.
- status string
Replication Task status.
- table
Mappings string An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- {[key: string]: string}
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider .
- target
Endpoint stringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc_
start_ strposition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc_
start_ strtime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- migration_
type str The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication_
instance_ strarn The Amazon Resource Name (ARN) of the replication instance.
- replication_
task_ strarn The Amazon Resource Name (ARN) for the replication task.
- replication_
task_ strid The replication task identifier.
- replication_
task_ strsettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- source_
endpoint_ strarn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start_
replication_ booltask Whether to run or stop the replication task.
- status str
Replication Task status.
- table_
mappings str An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Mapping[str, str]
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider .
- target_
endpoint_ strarn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
- cdc
Start StringPosition Indicates when you want a change data capture (CDC) operation to start. The value can be in date, checkpoint, or LSN/SCN format depending on the source engine. For more information, see Determining a CDC native start point.
- cdc
Start StringTime The Unix timestamp integer for the start of the Change Data Capture (CDC) operation.
- migration
Type String The migration type. Can be one of
full-load | cdc | full-load-and-cdc
.- replication
Instance StringArn The Amazon Resource Name (ARN) of the replication instance.
- replication
Task StringArn The Amazon Resource Name (ARN) for the replication task.
- replication
Task StringId The replication task identifier.
- replication
Task StringSettings An escaped JSON string that contains the task settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks.
- source
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the source endpoint.
- start
Replication BooleanTask Whether to run or stop the replication task.
- status String
Replication Task status.
- table
Mappings String An escaped JSON string that contains the table mappings. For information on table mapping see Using Table Mapping with an AWS Database Migration Service Task to Select and Filter Data
- Map<String>
A map of tags to assign to the resource. .If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider .
- target
Endpoint StringArn The Amazon Resource Name (ARN) string that uniquely identifies the target endpoint.
Import
Replication tasks can be imported using the replication_task_id
, e.g.,
$ pulumi import aws:dms/replicationTask:ReplicationTask test test-dms-replication-task-tf
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.