Skip to main content

Role Based Authentication

AwsRoleBasedAuthentication

Below are the properties for the AwsRoleBasedAuthentication. Each property links to the specific details section further down in this page.

PropertyDefaultTypeRequiredDescription
aws_access_key_idstring
NoAWS access key ID to use for the DB Connection. If not provided, the default credential chain will be used.
aws_secret_access_keystring
NoAWS secret access key to use for the DB Connection. If not provided, the default credential chain will be used.
regionstring
NoAWS region to use for the DB Connection. If not provided, the default credential chain will be used.
role_arnstringYesAWS Role ARN to use for the DB Connection. Required for AWS IAM authentication.

Property Details

Connection

Data source/sink Connection.

PropertyDefaultTypeRequiredDescription
connectionOne of:
  S3Connection
  GcsConnection
  AbfsConnection
  LocalFileConnection
  SnowflakeConnection
  BigQueryConnection
  MSSQLConnection
  MySQLConnection
  OracleConnection
  PostgresConnection
  HttpConnection
  DuckDBConnection
  SFTPConnection
  DatabricksConnection
YesData system Connection.

DuckDBConnection

Connection to a DuckDB database.

PropertyDefaultTypeRequiredDescription
descriptionstring
NoA brief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
duckdbYes

DuckDBConnectionOptions

DuckDB Connection options.

PropertyDefaultTypeRequiredDescription
max_query_lengthinteger
NoMaximum combined query length to allow during query batching.
max_concurrent_queriesinteger
NoMaximum number of concurrent queries to allow.
max_combined_sql_statementsinteger
NoMaximum number of combined SQL statements to allow during query batching.
pathstring
NoThe path to the DuckDB database file. Use ':memory:' for in-memory databases. This setting is ignored when DuckLake configuration is present.
memory_limitinteger
NoThe memory limit to use for the DuckDB Connection.
ducklakeNoConfiguration for using DuckLake with this DuckDB Connection.
schemastringNoSchema to use for the DuckDB Connection. If left empty, the Flow name will be used as the schema name at runtime
init_sqlstring
NoSQL to run when the DuckLake Connection is initialized.

DuckLakeOptions

DuckLake configuration options.

PropertyDefaultTypeRequiredDescription
metadata_connection_namestring
NoName of the Ascend Connection to use for DuckLake metadata storage (Postgres Connections only).
data_connection_namestring
NoName of the Ascend Connection to use for DuckLake data storage (Local Files, GCS, S3, or ABFS Connections supported).
metadata_connectionAny of:
  InlinePostgresConnection
  ASCEND_MANAGED
NoInline metadata Connection configuration (Postgres Connections only).
data_connectionAny of:
  One of:
    InlineLocalFileConnection
    InlineS3Connection
    InlineGcsConnection
    InlineAbfsConnection
  ASCEND_MANAGED
NoInline data Connection configuration (Local Files, GCS, S3, or ABFS Connections supported).
catalogstring
NoThe name of the DuckLake catalog to use. If not provided, the catalog name will be inferred from the profile name.
metadata_schemadefaultstringNoThe schema name within the Postgres database to use for DuckLake metadata storage. If left as the default value of 'default', the schema name will be replaced with the catalog name at runtime.
data_pathascendlake/datastringNoPath within the data Connection root where DuckLake data files will be stored. The catalog name will always be appended to the path provided.
local_modeFalsebooleanNoIf set to True, sets up the DuckLake Connection with local storage, bypassing the metadata_connection(_name), data_connection(_name), and max_concurrent_queries settings. This is useful for rapid testing and development.
ducklake_max_retry_count100integerNoThe value to set for the 'ducklake_max_retry_count' DuckLake configuration setting. Defaults to 100.

InlinePostgresConnection

PropertyDefaultTypeRequiredDescription
postgresYes

MySQLConnection

MySQL database Connection.

PropertyDefaultTypeRequiredDescription
descriptionstring
NoA brief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
ssh_tunnelstring
No
mysqlYes

MySQLConnectionOptions

MySQL Connection options.

PropertyDefaultTypeRequiredDescription
userstringYesUser to use for the DB Connection.
passwordstring
NoPassword to use for the DB Connection.
aws_iam_authAwsRoleBasedAuthentication
NoAWS IAM authentication to use for the DB Connection.
hoststringYesMySQL host to connect to.
databasestringYesMySQL database to connect to.
portinteger
NoMySQL port to connect to.
sslAny of:
  boolean
NoSSL options to use for the MySQL Connection.

PostgresConnection

Connection to a PostgreSQL database.

PropertyDefaultTypeRequiredDescription
descriptionstring
NoA brief description of what the model does.
metadataNoMeta information of a resource. In most cases it doesn't affect the system behavior but may be helpful to analyze project resources.
namestringYesThe name of the model
ssh_tunnelstring
No
postgresYes

PostgresConnectionOptions

PostgreSQL Connection options.

PropertyDefaultTypeRequiredDescription
userstringYesUser to use for the DB Connection.
passwordstring
NoPassword to use for the DB Connection.
aws_iam_authAwsRoleBasedAuthentication
NoAWS IAM authentication to use for the DB Connection.
hoststringYesPostgreSQL host to connect to.
databasestringYesPostgreSQL database to connect to.
schemapublicstring
NoPostgreSQL schema to use.
portinteger
NoPostgreSQL port to connect to.