Class CfnReplicationTask
The AWS::DMS::ReplicationTask
resource creates an AWS DMS replication task.
Inherited Members
Namespace: Amazon.CDK.AWS.DMS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnReplicationTask : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnReplicationTask
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationtask.html
CloudformationResource: AWS::DMS::ReplicationTask
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DMS;
var cfnReplicationTask = new CfnReplicationTask(this, "MyCfnReplicationTask", new CfnReplicationTaskProps {
MigrationType = "migrationType",
ReplicationInstanceArn = "replicationInstanceArn",
SourceEndpointArn = "sourceEndpointArn",
TableMappings = "tableMappings",
TargetEndpointArn = "targetEndpointArn",
// the properties below are optional
CdcStartPosition = "cdcStartPosition",
CdcStartTime = 123,
CdcStopPosition = "cdcStopPosition",
ReplicationTaskIdentifier = "replicationTaskIdentifier",
ReplicationTaskSettings = "replicationTaskSettings",
ResourceIdentifier = "resourceIdentifier",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TaskData = "taskData"
});
Synopsis
Constructors
CfnReplicationTask(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnReplicationTask(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnReplicationTask(Construct, String, ICfnReplicationTaskProps) |
Properties
AttrId | |
CdcStartPosition | Indicates when you want a change data capture (CDC) operation to start. |
CdcStartTime | Indicates the start time for a change data capture (CDC) operation. |
CdcStopPosition | Indicates when you want a change data capture (CDC) operation to stop. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
MigrationType | The migration type. |
ReplicationInstanceArn | The Amazon Resource Name (ARN) of a replication instance. |
ReplicationTaskIdentifier | An identifier for the replication task. |
ReplicationTaskSettings | Overall settings for the task, in JSON format. |
ResourceIdentifier | A display name for the resource identifier at the end of the |
SourceEndpointArn | An Amazon Resource Name (ARN) that uniquely identifies the source endpoint. |
TableMappings | The table mappings for the task, in JSON format. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | One or more tags to be assigned to the replication task. |
TargetEndpointArn | An Amazon Resource Name (ARN) that uniquely identifies the target endpoint. |
TaskData | Supplemental information that the task requires to migrate the data for certain source and target endpoints. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnReplicationTask(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnReplicationTask(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnReplicationTask(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnReplicationTask(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnReplicationTask(Construct, String, ICfnReplicationTaskProps)
public CfnReplicationTask(Construct scope, string id, ICfnReplicationTaskProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnReplicationTaskProps
Resource properties.
Properties
AttrId
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CdcStartPosition
Indicates when you want a change data capture (CDC) operation to start.
public virtual string CdcStartPosition { get; set; }
Property Value
System.String
CdcStartTime
Indicates the start time for a change data capture (CDC) operation.
public virtual Nullable<double> CdcStartTime { get; set; }
Property Value
System.Nullable<System.Double>
CdcStopPosition
Indicates when you want a change data capture (CDC) operation to stop.
public virtual string CdcStopPosition { get; set; }
Property Value
System.String
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
MigrationType
The migration type.
public virtual string MigrationType { get; set; }
Property Value
System.String
ReplicationInstanceArn
The Amazon Resource Name (ARN) of a replication instance.
public virtual string ReplicationInstanceArn { get; set; }
Property Value
System.String
ReplicationTaskIdentifier
An identifier for the replication task.
public virtual string ReplicationTaskIdentifier { get; set; }
Property Value
System.String
ReplicationTaskSettings
Overall settings for the task, in JSON format.
public virtual string ReplicationTaskSettings { get; set; }
Property Value
System.String
ResourceIdentifier
A display name for the resource identifier at the end of the EndpointArn
response parameter that is returned in the created Endpoint
object.
public virtual string ResourceIdentifier { get; set; }
Property Value
System.String
SourceEndpointArn
An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.
public virtual string SourceEndpointArn { get; set; }
Property Value
System.String
TableMappings
The table mappings for the task, in JSON format.
public virtual string TableMappings { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
One or more tags to be assigned to the replication task.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TargetEndpointArn
An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.
public virtual string TargetEndpointArn { get; set; }
Property Value
System.String
TaskData
Supplemental information that the task requires to migrate the data for certain source and target endpoints.
public virtual string TaskData { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>