# SnowflakeTableReferenceProperty

A reference to a table within Snowflake.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 Jan 2025

## 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 snowflakeTableReferenceProperty: cleanrooms.CfnConfiguredTable.SnowflakeTableReferenceProperty = {
  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

snowflake_table_reference_property = 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.*;

SnowflakeTableReferenceProperty snowflakeTableReferenceProperty = 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();
```

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 snowflakeTableReferenceProperty = 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"

snowflakeTableReferenceProperty := &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

- `accountIdentifier`: string (required) — The account identifier for the Snowflake table reference.

- `databaseName`: string (required) — The name of the database the Snowflake table belongs to.

- `schemaName`: string (required) — The schema name of the Snowflake table reference.

- `secretArn`: string (required) — The secret ARN of the Snowflake table reference.

- `tableName`: string (required) — The name of the Snowflake table.

- `tableSchema`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfiguredTable.SnowflakeTableSchemaProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cleanrooms.CfnConfiguredTable.SnowflakeTableSchemaProperty.html) (required) — The schema of the Snowflake table.
