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
,ITaggable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-24T10:56:30.249Z")
@Stability(Stable)
public class CfnReplicationTask
extends CfnResource
implements IInspectable, 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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnReplicationTask
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnReplicationTask
(software.amazon.jsii.JsiiObjectRef objRef) CfnReplicationTask
(software.constructs.Construct scope, String id, CfnReplicationTaskProps props) -
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.Overall settings for the task, in JSON format.A display name for the resource identifier at the end of theEndpointArn
response parameter that is returned in the createdEndpoint
object.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setCdcStartPosition
(String value) Indicates when you want a change data capture (CDC) operation to start.void
setCdcStartTime
(Number value) Indicates the start time for a change data capture (CDC) operation.void
setCdcStopPosition
(String value) Indicates when you want a change data capture (CDC) operation to stop.void
setMigrationType
(String value) The migration type.void
setReplicationInstanceArn
(String value) The Amazon Resource Name (ARN) of a replication instance.void
An identifier for the replication task.void
setReplicationTaskSettings
(String value) Overall settings for the task, in JSON format.void
setResourceIdentifier
(String value) A display name for the resource identifier at the end of theEndpointArn
response parameter that is returned in the createdEndpoint
object.void
setSourceEndpointArn
(String value) An Amazon Resource Name (ARN) that uniquely identifies the source endpoint.void
setTableMappings
(String value) The table mappings for the task, in JSON format.void
setTagsRaw
(List<CfnTag> value) One or more tags to be assigned to the replication task.void
setTargetEndpointArn
(String value) An Amazon Resource Name (ARN) that uniquely identifies the target endpoint.void
setTaskData
(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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
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 theEndpointArn
response parameter that is returned in the createdEndpoint
object. -
setResourceIdentifier
A display name for the resource identifier at the end of theEndpointArn
response parameter that is returned in the createdEndpoint
object. -
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.
-