Skip to content
v2.278.0

DataTableReference Struct ​

A reference to a DataTable resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_connect as interfaces_connect } from 'aws-cdk-lib/interfaces';
const dataTableReference: interfaces_connect.DataTableReference = {
  dataTableArn: 'dataTableArn',
  instanceArn: 'instanceArn',
};
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_connect as interfaces_connect

data_table_reference = interfaces_connect.DataTableReference(
    data_table_arn="dataTableArn",
    instance_arn="instanceArn"
)
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.connect.*;

DataTableReference dataTableReference = DataTableReference.builder()
        .dataTableArn("dataTableArn")
        .instanceArn("instanceArn")
        .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.Connect;

var dataTableReference = new DataTableReference {
    DataTableArn = "dataTableArn",
    InstanceArn = "instanceArn"
};
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"

dataTableReference := &DataTableReference{
	DataTableArn: jsii.String("dataTableArn"),
	InstanceArn: jsii.String("instanceArn"),
}

Properties ​

dataTableArnstringdata_table_arnstrdataTableArnStringDataTableArnstringDataTableArn*string required #
The Arn of the DataTable resource.
instanceArnstringinstance_arnstrinstanceArnStringInstanceArnstringInstanceArn*string required #
The InstanceArn of the DataTable resource.