Skip to content
v2.278.0

SnowflakeTableReferenceProperty Struct ​

A reference to a table within Snowflake.

Example ​

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
# 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
// 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();
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"
        } }
    }
};
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 ​

accountIdentifierstringaccount_identifierstraccountIdentifierStringAccountIdentifierstringAccountIdentifier*string required #
The account identifier for the Snowflake table reference.
databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #
The name of the database the Snowflake table belongs to.
schemaNamestringschema_namestrschemaNameStringSchemaNamestringSchemaName*string required #
The schema name of the Snowflake table reference.
secretArnstringsecret_arnstrsecretArnStringSecretArnstringSecretArn*string required #
The secret ARN of the Snowflake table reference.
tableNamestringtable_namestrtableNameStringTableNamestringTableName*string required #
The name of the Snowflake table.
tableSchemaIResolvable | CfnConfiguredTable.SnowflakeTableSchemaPropertytable_schematyping.Union[IResolvable, SnowflakeTableSchemaProperty]tableSchemaIResolvableTableSchemaIResolvableTableSchemainterface{} required #
The schema of the Snowflake table.