Class CfnReplicationTask
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.dms.CfnReplicationTask
- All Implemented Interfaces:
IInspectable,IReplicationTaskRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:08.382Z")
@Stability(Stable)
public class CfnReplicationTask
extends CfnResource
implements IInspectable, IReplicationTaskRef, ITaggable
The
AWS::DMS::ReplicationTask resource creates an AWS DMS replication task.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.dms.*;
CfnReplicationTask cfnReplicationTask = CfnReplicationTask.Builder.create(this, "MyCfnReplicationTask")
.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(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.taskData("taskData")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.dms.IReplicationTaskRef
IReplicationTaskRef.Jsii$Default, IReplicationTaskRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnReplicationTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnReplicationTask(software.amazon.jsii.JsiiObjectRef objRef) CfnReplicationTask(software.constructs.Construct scope, String id, CfnReplicationTaskProps props) Create a newAWS::DMS::ReplicationTask. -
Method Summary
Modifier and TypeMethodDescriptionIndicates when you want a change data capture (CDC) operation to start.Indicates the start time for a change data capture (CDC) operation.Indicates when you want a change data capture (CDC) operation to stop.The migration type.The Amazon Resource Name (ARN) of a replication instance.An identifier for the replication task.A reference to a ReplicationTask resource.Overall settings for the task, in JSON format.A display name for the resource identifier at the end of theEndpointArnresponse parameter that is returned in the createdEndpointobject.An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.The table mappings for the task, in JSON format.getTags()Tag Manager which manages the tags for this resource.One or more tags to be assigned to the replication task.An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.Supplemental information that the task requires to migrate the data for certain source and target endpoints.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnReplicationTask.renderProperties(Map<String, Object> props) voidsetCdcStartPosition(String value) Indicates when you want a change data capture (CDC) operation to start.voidsetCdcStartTime(Number value) Indicates the start time for a change data capture (CDC) operation.voidsetCdcStopPosition(String value) Indicates when you want a change data capture (CDC) operation to stop.voidsetMigrationType(String value) The migration type.voidsetReplicationInstanceArn(String value) The Amazon Resource Name (ARN) of a replication instance.voidAn identifier for the replication task.voidsetReplicationTaskSettings(String value) Overall settings for the task, in JSON format.voidsetResourceIdentifier(String value) A display name for the resource identifier at the end of theEndpointArnresponse parameter that is returned in the createdEndpointobject.voidsetSourceEndpointArn(String value) An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.voidsetTableMappings(String value) The table mappings for the task, in JSON format.voidsetTagsRaw(List<CfnTag> value) One or more tags to be assigned to the replication task.voidsetTargetEndpointArn(String value) An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.voidsetTaskData(String value) Supplemental information that the task requires to migrate the data for certain source and target endpoints.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnReplicationTask
protected CfnReplicationTask(software.amazon.jsii.JsiiObjectRef objRef) -
CfnReplicationTask
protected CfnReplicationTask(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnReplicationTask
@Stability(Stable) public CfnReplicationTask(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnReplicationTaskProps props) Create a newAWS::DMS::ReplicationTask.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnReplicationTask
Checks whether the given object is a CfnReplicationTask.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getReplicationTaskRef
A reference to a ReplicationTask resource.- Specified by:
getReplicationTaskRefin interfaceIReplicationTaskRef
-
getTags
Tag Manager which manages the tags for this resource. -
getMigrationType
The migration type. -
setMigrationType
The migration type. -
getReplicationInstanceArn
The Amazon Resource Name (ARN) of a replication instance. -
setReplicationInstanceArn
The Amazon Resource Name (ARN) of a replication instance. -
getSourceEndpointArn
An Amazon Resource Name (ARN) that uniquely identifies the source endpoint. -
setSourceEndpointArn
An Amazon Resource Name (ARN) that uniquely identifies the source endpoint. -
getTableMappings
The table mappings for the task, in JSON format. -
setTableMappings
The table mappings for the task, in JSON format. -
getTargetEndpointArn
An Amazon Resource Name (ARN) that uniquely identifies the target endpoint. -
setTargetEndpointArn
An Amazon Resource Name (ARN) that uniquely identifies the target endpoint. -
getCdcStartPosition
Indicates when you want a change data capture (CDC) operation to start. -
setCdcStartPosition
Indicates when you want a change data capture (CDC) operation to start. -
getCdcStartTime
Indicates the start time for a change data capture (CDC) operation. -
setCdcStartTime
Indicates the start time for a change data capture (CDC) operation. -
getCdcStopPosition
Indicates when you want a change data capture (CDC) operation to stop. -
setCdcStopPosition
Indicates when you want a change data capture (CDC) operation to stop. -
getReplicationTaskIdentifier
An identifier for the replication task. -
setReplicationTaskIdentifier
An identifier for the replication task. -
getReplicationTaskSettings
Overall settings for the task, in JSON format. -
setReplicationTaskSettings
Overall settings for the task, in JSON format. -
getResourceIdentifier
A display name for the resource identifier at the end of theEndpointArnresponse parameter that is returned in the createdEndpointobject. -
setResourceIdentifier
A display name for the resource identifier at the end of theEndpointArnresponse parameter that is returned in the createdEndpointobject. -
getTagsRaw
One or more tags to be assigned to the replication task. -
setTagsRaw
One or more tags to be assigned to the replication task. -
getTaskData
Supplemental information that the task requires to migrate the data for certain source and target endpoints. -
setTaskData
Supplemental information that the task requires to migrate the data for certain source and target endpoints.
-