Skip to content
v2.276.0

ReplicationTaskReference Struct ​

A reference to a ReplicationTask resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_dms as interfaces_dms } from 'aws-cdk-lib/interfaces';
const replicationTaskReference: interfaces_dms.ReplicationTaskReference = {
  replicationTaskArn: 'replicationTaskArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_dms as interfaces_dms

replication_task_reference = interfaces_dms.ReplicationTaskReference(
    replication_task_arn="replicationTaskArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.dms.*;

ReplicationTaskReference replicationTaskReference = ReplicationTaskReference.builder()
        .replicationTaskArn("replicationTaskArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.DMS;

var replicationTaskReference = new ReplicationTaskReference {
    ReplicationTaskArn = "replicationTaskArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

replicationTaskReference := &ReplicationTaskReference{
	ReplicationTaskArn: jsii.String("replicationTaskArn"),
}

Properties ​

replicationTaskArnstringreplication_task_arnstrreplicationTaskArnStringReplicationTaskArnstringReplicationTaskArn*stringrequired#
The ReplicationTaskArn of the ReplicationTask resource.