# TableReferenceProperty

A pointer to the dataset that underlies this table.

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cleanrooms as cleanrooms } from 'aws-cdk-lib';
const tableReferenceProperty: cleanrooms.CfnConfiguredTable.TableReferenceProperty = {
  athena: {
    databaseName: 'databaseName',
    tableName: 'tableName',
    workGroup: 'workGroup',

    // the properties below are optional
    catalogName: 'catalogName',
    outputLocation: 'outputLocation',
    region: 'region',
  },
  databricks: {
    connectionType: {
      deltaSharing: {
        deltaShareEndpoint: 'deltaShareEndpoint',
        shareName: 'shareName',
      },
    },
    schemaName: 'schemaName',
    tableName: 'tableName',
    workspaceUrl: 'workspaceUrl',
  },
  glue: {
    databaseName: 'databaseName',
    tableName: 'tableName',

    // the properties below are optional
    region: 'region',
  },
  snowflake: {
    accountIdentifier: 'accountIdentifier',
    databaseName: 'databaseName',
    schemaName: 'schemaName',
    secretArn: 'secretArn',
    tableName: 'tableName',
    tableSchema: {
      v1: [{
        columnName: 'columnName',
        columnType: 'columnType',
      }],
    },
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cleanrooms as cleanrooms

table_reference_property = cleanrooms.CfnConfiguredTable.TableReferenceProperty(
    athena=cleanrooms.CfnConfiguredTable.AthenaTableReferenceProperty(
        database_name="databaseName",
        table_name="tableName",
        work_group="workGroup",

        # the properties below are optional
        catalog_name="catalogName",
        output_location="outputLocation",
        region="region"
    ),
    databricks=cleanrooms.CfnConfiguredTable.DatabricksTableReferenceProperty(
        connection_type=cleanrooms.CfnConfiguredTable.DatabricksConnectionTypeProperty(
            delta_sharing=cleanrooms.CfnConfiguredTable.DatabricksDeltaSharingConnectionProperty(
                delta_share_endpoint="deltaShareEndpoint",
                share_name="shareName"
            )
        ),
        schema_name="schemaName",
        table_name="tableName",
        workspace_url="workspaceUrl"
    ),
    glue=cleanrooms.CfnConfiguredTable.GlueTableReferenceProperty(
        database_name="databaseName",
        table_name="tableName",

        # the properties below are optional
        region="region"
    ),
    snowflake=cleanrooms.CfnConfiguredTable.SnowflakeTableReferenceProperty(
        account_identifier="accountIdentifier",
        database_name="databaseName",
        schema_name="schemaName",
        secret_arn="secretArn",
        table_name="tableName",
        table_schema=cleanrooms.CfnConfiguredTable.SnowflakeTableSchemaProperty(
            v1=[cleanrooms.CfnConfiguredTable.SnowflakeTableSchemaV1Property(
                column_name="columnName",
                column_type="columnType"
            )]
        )
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cleanrooms.*;

TableReferenceProperty tableReferenceProperty = TableReferenceProperty.builder()
        .athena(AthenaTableReferenceProperty.builder()
                .databaseName("databaseName")
                .tableName("tableName")
                .workGroup("workGroup")

                // the properties below are optional
                .catalogName("catalogName")
                .outputLocation("outputLocation")
                .region("region")
                .build())
        .databricks(DatabricksTableReferenceProperty.builder()
                .connectionType(DatabricksConnectionTypeProperty.builder()
                        .deltaSharing(DatabricksDeltaSharingConnectionProperty.builder()
                                .deltaShareEndpoint("deltaShareEndpoint")
                                .shareName("shareName")
                                .build())
                        .build())
                .schemaName("schemaName")
                .tableName("tableName")
                .workspaceUrl("workspaceUrl")
                .build())
        .glue(GlueTableReferenceProperty.builder()
                .databaseName("databaseName")
                .tableName("tableName")

                // the properties below are optional
                .region("region")
                .build())
        .snowflake(SnowflakeTableReferenceProperty.builder()
                .accountIdentifier("accountIdentifier")
                .databaseName("databaseName")
                .schemaName("schemaName")
                .secretArn("secretArn")
                .tableName("tableName")
                .tableSchema(SnowflakeTableSchemaProperty.builder()
                        .v1(List.of(SnowflakeTableSchemaV1Property.builder()
                                .columnName("columnName")
                                .columnType("columnType")
                                .build()))
                        .build())
                .build())
        .build();
```

C# / .NET:

```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.AWS.CleanRooms;

var tableReferenceProperty = new TableReferenceProperty {
    Athena = new AthenaTableReferenceProperty {
        DatabaseName = "databaseName",
        TableName = "tableName",
        WorkGroup = "workGroup",

        // the properties below are optional
        CatalogName = "catalogName",
        OutputLocation = "outputLocation",
        Region = "region"
    },
    Databricks = new DatabricksTableReferenceProperty {
        ConnectionType = new DatabricksConnectionTypeProperty {
            DeltaSharing = new DatabricksDeltaSharingConnectionProperty {
                DeltaShareEndpoint = "deltaShareEndpoint",
                ShareName = "shareName"
            }
        },
        SchemaName = "schemaName",
        TableName = "tableName",
        WorkspaceUrl = "workspaceUrl"
    },
    Glue = new GlueTableReferenceProperty {
        DatabaseName = "databaseName",
        TableName = "tableName",

        // the properties below are optional
        Region = "region"
    },
    Snowflake = new SnowflakeTableReferenceProperty {
        AccountIdentifier = "accountIdentifier",
        DatabaseName = "databaseName",
        SchemaName = "schemaName",
        SecretArn = "secretArn",
        TableName = "tableName",
        TableSchema = new SnowflakeTableSchemaProperty {
            V1 = new [] { new SnowflakeTableSchemaV1Property {
                ColumnName = "columnName",
                ColumnType = "columnType"
            } }
        }
    }
};
```

Golang:

```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"

tableReferenceProperty := &TableReferenceProperty{
	Athena: &AthenaTableReferenceProperty{
		DatabaseName: jsii.String("databaseName"),
		TableName: jsii.String("tableName"),
		WorkGroup: jsii.String("workGroup"),

		// the properties below are optional
		CatalogName: jsii.String("catalogName"),
		OutputLocation: jsii.String("outputLocation"),
		Region: jsii.String("region"),
	},
	Databricks: &DatabricksTableReferenceProperty{
		ConnectionType: &DatabricksConnectionTypeProperty{
			DeltaSharing: &DatabricksDeltaSharingConnectionProperty{
				DeltaShareEndpoint: jsii.String("deltaShareEndpoint"),
				ShareName: jsii.String("shareName"),
			},
		},
		SchemaName: jsii.String("schemaName"),
		TableName: jsii.String("tableName"),
		WorkspaceUrl: jsii.String("workspaceUrl"),
	},
	Glue: &GlueTableReferenceProperty{
		DatabaseName: jsii.String("databaseName"),
		TableName: jsii.String("tableName"),

		// the properties below are optional
		Region: jsii.String("region"),
	},
	Snowflake: &SnowflakeTableReferenceProperty{
		AccountIdentifier: jsii.String("accountIdentifier"),
		DatabaseName: jsii.String("databaseName"),
		SchemaName: jsii.String("schemaName"),
		SecretArn: jsii.String("secretArn"),
		TableName: jsii.String("tableName"),
		TableSchema: &SnowflakeTableSchemaProperty{
			V1: []interface{}{
				&SnowflakeTableSchemaV1Property{
					ColumnName: jsii.String("columnName"),
					ColumnType: jsii.String("columnType"),
				},
			},
		},
	},
}
```

## Properties

- `athena`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfiguredTable.AthenaTableReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable.AthenaTableReferenceProperty.html) — If present, a reference to the Athena table referred to by this table reference.

- `databricks`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfiguredTable.DatabricksTableReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable.DatabricksTableReferenceProperty.html)

- `glue`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfiguredTable.GlueTableReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable.GlueTableReferenceProperty.html) — If present, a reference to the AWS Glue table referred to by this table reference.

- `snowflake`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfiguredTable.SnowflakeTableReferenceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable.SnowflakeTableReferenceProperty.html) — If present, a reference to the Snowflake table referred to by this table reference.
