Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs snowflake}.
import { provider } from '@cdktf/provider-snowflake'
new provider.SnowflakeProvider(scope: Construct, id: string, config?: SnowflakeProviderConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
SnowflakeProviderConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: SnowflakeProviderConfig
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toHclTerraform |
No description. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
resetAccountName |
No description. |
resetAlias |
No description. |
resetAuthenticator |
No description. |
resetClientIp |
No description. |
resetClientRequestMfaToken |
No description. |
resetClientStoreTemporaryCredential |
No description. |
resetClientTimeout |
No description. |
resetDisableConsoleLogin |
No description. |
resetDisableQueryContextCache |
No description. |
resetDisableTelemetry |
No description. |
resetDriverTracing |
No description. |
resetExternalBrowserTimeout |
No description. |
resetHost |
No description. |
resetIncludeRetryReason |
No description. |
resetInsecureMode |
No description. |
resetJwtClientTimeout |
No description. |
resetJwtExpireTimeout |
No description. |
resetKeepSessionAlive |
No description. |
resetLoginTimeout |
No description. |
resetMaxRetryCount |
No description. |
resetOcspFailOpen |
No description. |
resetOktaUrl |
No description. |
resetOrganizationName |
No description. |
resetParams |
No description. |
resetPasscode |
No description. |
resetPasscodeInPassword |
No description. |
resetPassword |
No description. |
resetPort |
No description. |
resetPreviewFeaturesEnabled |
No description. |
resetPrivateKey |
No description. |
resetPrivateKeyPassphrase |
No description. |
resetProfile |
No description. |
resetProtocol |
No description. |
resetRequestTimeout |
No description. |
resetRole |
No description. |
resetTmpDirectoryPath |
No description. |
resetToken |
No description. |
resetTokenAccessor |
No description. |
resetUser |
No description. |
resetValidateDefaultParameters |
No description. |
resetWarehouse |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toHclTerraform(): any
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public resetAccountName(): void
public resetAlias(): void
public resetAuthenticator(): void
public resetClientIp(): void
public resetClientRequestMfaToken(): void
public resetClientStoreTemporaryCredential(): void
public resetClientTimeout(): void
public resetDisableConsoleLogin(): void
public resetDisableQueryContextCache(): void
public resetDisableTelemetry(): void
public resetDriverTracing(): void
public resetExternalBrowserTimeout(): void
public resetHost(): void
public resetIncludeRetryReason(): void
public resetInsecureMode(): void
public resetJwtClientTimeout(): void
public resetJwtExpireTimeout(): void
public resetKeepSessionAlive(): void
public resetLoginTimeout(): void
public resetMaxRetryCount(): void
public resetOcspFailOpen(): void
public resetOktaUrl(): void
public resetOrganizationName(): void
public resetParams(): void
public resetPasscode(): void
public resetPasscodeInPassword(): void
public resetPassword(): void
public resetPort(): void
public resetPreviewFeaturesEnabled(): void
public resetPrivateKey(): void
public resetPrivateKeyPassphrase(): void
public resetProfile(): void
public resetProtocol(): void
public resetRequestTimeout(): void
public resetRole(): void
public resetTmpDirectoryPath(): void
public resetToken(): void
public resetTokenAccessor(): void
public resetUser(): void
public resetValidateDefaultParameters(): void
public resetWarehouse(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformProvider |
No description. |
generateConfigForImport |
Generates CDKTF code for importing a SnowflakeProvider resource upon running "cdktf plan ". |
import { provider } from '@cdktf/provider-snowflake'
provider.SnowflakeProvider.isConstruct(x: any)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: any
Any object.
import { provider } from '@cdktf/provider-snowflake'
provider.SnowflakeProvider.isTerraformElement(x: any)
- Type: any
import { provider } from '@cdktf/provider-snowflake'
provider.SnowflakeProvider.isTerraformProvider(x: any)
- Type: any
import { provider } from '@cdktf/provider-snowflake'
provider.SnowflakeProvider.generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: TerraformProvider)
Generates CDKTF code for importing a SnowflakeProvider resource upon running "cdktf plan ".
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The construct id used in the generated config for the SnowflakeProvider to import.
- Type: string
The id of the existing SnowflakeProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#import import section} in the documentation of this resource for the id to use
- Type: cdktf.TerraformProvider
? Optional instance of the provider where the SnowflakeProvider to import is found.
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
metaAttributes |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
terraformProviderSource |
string |
No description. |
alias |
string |
No description. |
accountNameInput |
string |
No description. |
aliasInput |
string |
No description. |
authenticatorInput |
string |
No description. |
clientIpInput |
string |
No description. |
clientRequestMfaTokenInput |
string |
No description. |
clientStoreTemporaryCredentialInput |
string |
No description. |
clientTimeoutInput |
number |
No description. |
disableConsoleLoginInput |
string |
No description. |
disableQueryContextCacheInput |
boolean | cdktf.IResolvable |
No description. |
disableTelemetryInput |
boolean | cdktf.IResolvable |
No description. |
driverTracingInput |
string |
No description. |
externalBrowserTimeoutInput |
number |
No description. |
hostInput |
string |
No description. |
includeRetryReasonInput |
string |
No description. |
insecureModeInput |
boolean | cdktf.IResolvable |
No description. |
jwtClientTimeoutInput |
number |
No description. |
jwtExpireTimeoutInput |
number |
No description. |
keepSessionAliveInput |
boolean | cdktf.IResolvable |
No description. |
loginTimeoutInput |
number |
No description. |
maxRetryCountInput |
number |
No description. |
ocspFailOpenInput |
string |
No description. |
oktaUrlInput |
string |
No description. |
organizationNameInput |
string |
No description. |
paramsInput |
{[ key: string ]: string} |
No description. |
passcodeInPasswordInput |
boolean | cdktf.IResolvable |
No description. |
passcodeInput |
string |
No description. |
passwordInput |
string |
No description. |
portInput |
number |
No description. |
previewFeaturesEnabledInput |
string[] |
No description. |
privateKeyInput |
string |
No description. |
privateKeyPassphraseInput |
string |
No description. |
profileInput |
string |
No description. |
protocolInput |
string |
No description. |
requestTimeoutInput |
number |
No description. |
roleInput |
string |
No description. |
tmpDirectoryPathInput |
string |
No description. |
tokenAccessorInput |
SnowflakeProviderTokenAccessor |
No description. |
tokenInput |
string |
No description. |
userInput |
string |
No description. |
validateDefaultParametersInput |
string |
No description. |
warehouseInput |
string |
No description. |
accountName |
string |
No description. |
authenticator |
string |
No description. |
clientIp |
string |
No description. |
clientRequestMfaToken |
string |
No description. |
clientStoreTemporaryCredential |
string |
No description. |
clientTimeout |
number |
No description. |
disableConsoleLogin |
string |
No description. |
disableQueryContextCache |
boolean | cdktf.IResolvable |
No description. |
disableTelemetry |
boolean | cdktf.IResolvable |
No description. |
driverTracing |
string |
No description. |
externalBrowserTimeout |
number |
No description. |
host |
string |
No description. |
includeRetryReason |
string |
No description. |
insecureMode |
boolean | cdktf.IResolvable |
No description. |
jwtClientTimeout |
number |
No description. |
jwtExpireTimeout |
number |
No description. |
keepSessionAlive |
boolean | cdktf.IResolvable |
No description. |
loginTimeout |
number |
No description. |
maxRetryCount |
number |
No description. |
ocspFailOpen |
string |
No description. |
oktaUrl |
string |
No description. |
organizationName |
string |
No description. |
params |
{[ key: string ]: string} |
No description. |
passcode |
string |
No description. |
passcodeInPassword |
boolean | cdktf.IResolvable |
No description. |
password |
string |
No description. |
port |
number |
No description. |
previewFeaturesEnabled |
string[] |
No description. |
privateKey |
string |
No description. |
privateKeyPassphrase |
string |
No description. |
profile |
string |
No description. |
protocol |
string |
No description. |
requestTimeout |
number |
No description. |
role |
string |
No description. |
tmpDirectoryPath |
string |
No description. |
token |
string |
No description. |
tokenAccessor |
SnowflakeProviderTokenAccessor |
No description. |
user |
string |
No description. |
validateDefaultParameters |
string |
No description. |
warehouse |
string |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly metaAttributes: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly terraformProviderSource: string;
- Type: string
public readonly alias: string;
- Type: string
public readonly accountNameInput: string;
- Type: string
public readonly aliasInput: string;
- Type: string
public readonly authenticatorInput: string;
- Type: string
public readonly clientIpInput: string;
- Type: string
public readonly clientRequestMfaTokenInput: string;
- Type: string
public readonly clientStoreTemporaryCredentialInput: string;
- Type: string
public readonly clientTimeoutInput: number;
- Type: number
public readonly disableConsoleLoginInput: string;
- Type: string
public readonly disableQueryContextCacheInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly disableTelemetryInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly driverTracingInput: string;
- Type: string
public readonly externalBrowserTimeoutInput: number;
- Type: number
public readonly hostInput: string;
- Type: string
public readonly includeRetryReasonInput: string;
- Type: string
public readonly insecureModeInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly jwtClientTimeoutInput: number;
- Type: number
public readonly jwtExpireTimeoutInput: number;
- Type: number
public readonly keepSessionAliveInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly loginTimeoutInput: number;
- Type: number
public readonly maxRetryCountInput: number;
- Type: number
public readonly ocspFailOpenInput: string;
- Type: string
public readonly oktaUrlInput: string;
- Type: string
public readonly organizationNameInput: string;
- Type: string
public readonly paramsInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly passcodeInPasswordInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly passcodeInput: string;
- Type: string
public readonly passwordInput: string;
- Type: string
public readonly portInput: number;
- Type: number
public readonly previewFeaturesEnabledInput: string[];
- Type: string[]
public readonly privateKeyInput: string;
- Type: string
public readonly privateKeyPassphraseInput: string;
- Type: string
public readonly profileInput: string;
- Type: string
public readonly protocolInput: string;
- Type: string
public readonly requestTimeoutInput: number;
- Type: number
public readonly roleInput: string;
- Type: string
public readonly tmpDirectoryPathInput: string;
- Type: string
public readonly tokenAccessorInput: SnowflakeProviderTokenAccessor;
public readonly tokenInput: string;
- Type: string
public readonly userInput: string;
- Type: string
public readonly validateDefaultParametersInput: string;
- Type: string
public readonly warehouseInput: string;
- Type: string
public readonly accountName: string;
- Type: string
public readonly authenticator: string;
- Type: string
public readonly clientIp: string;
- Type: string
public readonly clientRequestMfaToken: string;
- Type: string
public readonly clientStoreTemporaryCredential: string;
- Type: string
public readonly clientTimeout: number;
- Type: number
public readonly disableConsoleLogin: string;
- Type: string
public readonly disableQueryContextCache: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly disableTelemetry: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly driverTracing: string;
- Type: string
public readonly externalBrowserTimeout: number;
- Type: number
public readonly host: string;
- Type: string
public readonly includeRetryReason: string;
- Type: string
public readonly insecureMode: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly jwtClientTimeout: number;
- Type: number
public readonly jwtExpireTimeout: number;
- Type: number
public readonly keepSessionAlive: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly loginTimeout: number;
- Type: number
public readonly maxRetryCount: number;
- Type: number
public readonly ocspFailOpen: string;
- Type: string
public readonly oktaUrl: string;
- Type: string
public readonly organizationName: string;
- Type: string
public readonly params: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly passcode: string;
- Type: string
public readonly passcodeInPassword: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly password: string;
- Type: string
public readonly port: number;
- Type: number
public readonly previewFeaturesEnabled: string[];
- Type: string[]
public readonly privateKey: string;
- Type: string
public readonly privateKeyPassphrase: string;
- Type: string
public readonly profile: string;
- Type: string
public readonly protocol: string;
- Type: string
public readonly requestTimeout: number;
- Type: number
public readonly role: string;
- Type: string
public readonly tmpDirectoryPath: string;
- Type: string
public readonly token: string;
- Type: string
public readonly tokenAccessor: SnowflakeProviderTokenAccessor;
public readonly user: string;
- Type: string
public readonly validateDefaultParameters: string;
- Type: string
public readonly warehouse: string;
- Type: string
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { provider } from '@cdktf/provider-snowflake'
const snowflakeProviderConfig: provider.SnowflakeProviderConfig = { ... }
Name | Type | Description |
---|---|---|
accountName |
string |
Specifies your Snowflake account name assigned by Snowflake. |
alias |
string |
Alias name. |
authenticator |
string |
Specifies the authentication type to use when connecting to Snowflake. Valid options are: SNOWFLAKE | OAUTH | EXTERNALBROWSER | OKTA | SNOWFLAKE_JWT | TOKENACCESSOR | USERNAMEPASSWORDMFA . Can also be sourced from the SNOWFLAKE_AUTHENTICATOR environment variable. |
clientIp |
string |
IP address for network checks. Can also be sourced from the SNOWFLAKE_CLIENT_IP environment variable. |
clientRequestMfaToken |
string |
When true the MFA token is cached in the credential manager. |
clientStoreTemporaryCredential |
string |
When true the ID token is cached in the credential manager. |
clientTimeout |
number |
The timeout in seconds for the client to complete the authentication. |
disableConsoleLogin |
string |
Indicates whether console login should be disabled in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_CONSOLE_LOGIN environment variable. |
disableQueryContextCache |
boolean | cdktf.IResolvable |
Disables HTAP query context cache in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE environment variable. |
disableTelemetry |
boolean | cdktf.IResolvable |
Disables telemetry in the driver. Can also be sourced from the DISABLE_TELEMETRY environment variable. |
driverTracing |
string |
Specifies the logging level to be used by the driver. |
externalBrowserTimeout |
number |
The timeout in seconds for the external browser to complete the authentication. |
host |
string |
Specifies a custom host value used by the driver for privatelink connections. |
includeRetryReason |
string |
Should retried request contain retry reason. Can also be sourced from the SNOWFLAKE_INCLUDE_RETRY_REASON environment variable. |
insecureMode |
boolean | cdktf.IResolvable |
If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. |
jwtClientTimeout |
number |
The timeout in seconds for the JWT client to complete the authentication. |
jwtExpireTimeout |
number |
JWT expire after timeout in seconds. Can also be sourced from the SNOWFLAKE_JWT_EXPIRE_TIMEOUT environment variable. |
keepSessionAlive |
boolean | cdktf.IResolvable |
Enables the session to persist even after the connection is closed. |
loginTimeout |
number |
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. |
maxRetryCount |
number |
Specifies how many times non-periodic HTTP request can be retried by the driver. |
ocspFailOpen |
string |
True represents OCSP fail open mode. |
oktaUrl |
string |
The URL of the Okta server. |
organizationName |
string |
Specifies your Snowflake organization name assigned by Snowflake. |
params |
{[ key: string ]: string} |
Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables. |
passcode |
string |
Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. |
passcodeInPassword |
boolean | cdktf.IResolvable |
False by default. |
password |
string |
Password for user + password auth. |
port |
number |
Specifies a custom port value used by the driver for privatelink connections. |
previewFeaturesEnabled |
string[] |
A list of preview features that are handled by the provider. |
privateKey |
string |
Private Key for username+private-key auth. Cannot be used with password . Can also be sourced from the SNOWFLAKE_PRIVATE_KEY environment variable. |
privateKeyPassphrase |
string |
Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. |
profile |
string |
Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the SNOWFLAKE_PROFILE environment variable. |
protocol |
string |
A protocol used in the connection. |
requestTimeout |
number |
request retry timeout in seconds EXCLUDING network roundtrip and read out http response. |
role |
string |
Specifies the role to use by default for accessing Snowflake objects in the client session. |
tmpDirectoryPath |
string |
Sets temporary directory used by the driver for operations like encrypting, compressing etc. |
token |
string |
Token to use for OAuth and other forms of token based auth. |
tokenAccessor |
SnowflakeProviderTokenAccessor |
token_accessor block. |
user |
string |
Username. Required unless using profile . Can also be sourced from the SNOWFLAKE_USER environment variable. |
validateDefaultParameters |
string |
True by default. |
warehouse |
string |
Specifies the virtual warehouse to use by default for queries, loading, etc. |
public readonly accountName: string;
- Type: string
Specifies your Snowflake account name assigned by Snowflake.
For information about account identifiers, see the Snowflake documentation. Required unless using profile
. Can also be sourced from the SNOWFLAKE_ACCOUNT_NAME
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#account_name SnowflakeProvider#account_name}
public readonly alias: string;
- Type: string
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#alias SnowflakeProvider#alias}
public readonly authenticator: string;
- Type: string
Specifies the authentication type to use when connecting to Snowflake. Valid options are: SNOWFLAKE
| OAUTH
| EXTERNALBROWSER
| OKTA
| SNOWFLAKE_JWT
| TOKENACCESSOR
| USERNAMEPASSWORDMFA
. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#authenticator SnowflakeProvider#authenticator}
public readonly clientIp: string;
- Type: string
IP address for network checks. Can also be sourced from the SNOWFLAKE_CLIENT_IP
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#client_ip SnowflakeProvider#client_ip}
public readonly clientRequestMfaToken: string;
- Type: string
When true the MFA token is cached in the credential manager.
True by default in Windows/OSX. False for Linux. Can also be sourced from the SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#client_request_mfa_token SnowflakeProvider#client_request_mfa_token}
public readonly clientStoreTemporaryCredential: string;
- Type: string
When true the ID token is cached in the credential manager.
True by default in Windows/OSX. False for Linux. Can also be sourced from the SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#client_store_temporary_credential SnowflakeProvider#client_store_temporary_credential}
public readonly clientTimeout: number;
- Type: number
The timeout in seconds for the client to complete the authentication.
Can also be sourced from the SNOWFLAKE_CLIENT_TIMEOUT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#client_timeout SnowflakeProvider#client_timeout}
public readonly disableConsoleLogin: string;
- Type: string
Indicates whether console login should be disabled in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_CONSOLE_LOGIN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#disable_console_login SnowflakeProvider#disable_console_login}
public readonly disableQueryContextCache: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Disables HTAP query context cache in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#disable_query_context_cache SnowflakeProvider#disable_query_context_cache}
public readonly disableTelemetry: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Disables telemetry in the driver. Can also be sourced from the DISABLE_TELEMETRY
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#disable_telemetry SnowflakeProvider#disable_telemetry}
public readonly driverTracing: string;
- Type: string
Specifies the logging level to be used by the driver.
Valid options are: trace
| debug
| info
| print
| warning
| error
| fatal
| panic
. Can also be sourced from the SNOWFLAKE_DRIVER_TRACING
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#driver_tracing SnowflakeProvider#driver_tracing}
public readonly externalBrowserTimeout: number;
- Type: number
The timeout in seconds for the external browser to complete the authentication.
Can also be sourced from the SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#external_browser_timeout SnowflakeProvider#external_browser_timeout}
public readonly host: string;
- Type: string
Specifies a custom host value used by the driver for privatelink connections.
Can also be sourced from the SNOWFLAKE_HOST
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#host SnowflakeProvider#host}
public readonly includeRetryReason: string;
- Type: string
Should retried request contain retry reason. Can also be sourced from the SNOWFLAKE_INCLUDE_RETRY_REASON
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#include_retry_reason SnowflakeProvider#include_retry_reason}
public readonly insecureMode: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check.
IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the SNOWFLAKE_INSECURE_MODE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#insecure_mode SnowflakeProvider#insecure_mode}
public readonly jwtClientTimeout: number;
- Type: number
The timeout in seconds for the JWT client to complete the authentication.
Can also be sourced from the SNOWFLAKE_JWT_CLIENT_TIMEOUT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#jwt_client_timeout SnowflakeProvider#jwt_client_timeout}
public readonly jwtExpireTimeout: number;
- Type: number
JWT expire after timeout in seconds. Can also be sourced from the SNOWFLAKE_JWT_EXPIRE_TIMEOUT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#jwt_expire_timeout SnowflakeProvider#jwt_expire_timeout}
public readonly keepSessionAlive: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Enables the session to persist even after the connection is closed.
Can also be sourced from the SNOWFLAKE_KEEP_SESSION_ALIVE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#keep_session_alive SnowflakeProvider#keep_session_alive}
public readonly loginTimeout: number;
- Type: number
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response.
Can also be sourced from the SNOWFLAKE_LOGIN_TIMEOUT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#login_timeout SnowflakeProvider#login_timeout}
public readonly maxRetryCount: number;
- Type: number
Specifies how many times non-periodic HTTP request can be retried by the driver.
Can also be sourced from the SNOWFLAKE_MAX_RETRY_COUNT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#max_retry_count SnowflakeProvider#max_retry_count}
public readonly ocspFailOpen: string;
- Type: string
True represents OCSP fail open mode.
False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the SNOWFLAKE_OCSP_FAIL_OPEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#ocsp_fail_open SnowflakeProvider#ocsp_fail_open}
public readonly oktaUrl: string;
- Type: string
The URL of the Okta server.
e.g. https://example.okta.com. Okta URL host needs to to have a suffix okta.com
. Read more in Snowflake docs. Can also be sourced from the SNOWFLAKE_OKTA_URL
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#okta_url SnowflakeProvider#okta_url}
public readonly organizationName: string;
- Type: string
Specifies your Snowflake organization name assigned by Snowflake.
For information about account identifiers, see the Snowflake documentation. Required unless using profile
. Can also be sourced from the SNOWFLAKE_ORGANIZATION_NAME
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#organization_name SnowflakeProvider#organization_name}
public readonly params: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#params SnowflakeProvider#params}
public readonly passcode: string;
- Type: string
Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login.
Can also be sourced from the SNOWFLAKE_PASSCODE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#passcode SnowflakeProvider#passcode}
public readonly passcodeInPassword: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
False by default.
Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the SNOWFLAKE_PASSCODE_IN_PASSWORD
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#passcode_in_password SnowflakeProvider#passcode_in_password}
public readonly password: string;
- Type: string
Password for user + password auth.
Cannot be used with private_key
and private_key_passphrase
. Can also be sourced from the SNOWFLAKE_PASSWORD
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#password SnowflakeProvider#password}
public readonly port: number;
- Type: number
Specifies a custom port value used by the driver for privatelink connections.
Can also be sourced from the SNOWFLAKE_PORT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#port SnowflakeProvider#port}
public readonly previewFeaturesEnabled: string[];
- Type: string[]
A list of preview features that are handled by the provider.
See preview features list. Preview features may have breaking changes in future releases, even without raising the major version. This field can not be set with environmental variables. Valid options are: snowflake_current_account_datasource
| snowflake_account_authentication_policy_attachment_resource
| snowflake_account_password_policy_attachment_resource
| snowflake_alert_resource
| snowflake_alerts_datasource
| snowflake_api_integration_resource
| snowflake_authentication_policy_resource
| snowflake_cortex_search_service_resource
| snowflake_cortex_search_services_datasource
| snowflake_database_datasource
| snowflake_database_role_datasource
| snowflake_dynamic_table_resource
| snowflake_dynamic_tables_datasource
| snowflake_external_function_resource
| snowflake_external_functions_datasource
| snowflake_external_table_resource
| snowflake_external_tables_datasource
| snowflake_external_volume_resource
| snowflake_failover_group_resource
| snowflake_failover_groups_datasource
| snowflake_file_format_resource
| snowflake_file_formats_datasource
| snowflake_function_java_resource
| snowflake_function_javascript_resource
| snowflake_function_python_resource
| snowflake_function_scala_resource
| snowflake_function_sql_resource
| snowflake_functions_datasource
| snowflake_managed_account_resource
| snowflake_materialized_view_resource
| snowflake_materialized_views_datasource
| snowflake_network_policy_attachment_resource
| snowflake_network_rule_resource
| snowflake_email_notification_integration_resource
| snowflake_notification_integration_resource
| snowflake_object_parameter_resource
| snowflake_password_policy_resource
| snowflake_pipe_resource
| snowflake_pipes_datasource
| snowflake_current_role_datasource
| snowflake_sequence_resource
| snowflake_sequences_datasource
| snowflake_share_resource
| snowflake_shares_datasource
| snowflake_parameters_datasource
| snowflake_procedure_java_resource
| snowflake_procedure_javascript_resource
| snowflake_procedure_python_resource
| snowflake_procedure_scala_resource
| snowflake_procedure_sql_resource
| snowflake_procedures_datasource
| snowflake_stage_resource
| snowflake_stages_datasource
| snowflake_storage_integration_resource
| snowflake_storage_integrations_datasource
| snowflake_system_generate_scim_access_token_datasource
| snowflake_system_get_aws_sns_iam_policy_datasource
| snowflake_system_get_privatelink_config_datasource
| snowflake_system_get_snowflake_platform_info_datasource
| snowflake_table_column_masking_policy_application_resource
| snowflake_table_constraint_resource
| snowflake_table_resource
| snowflake_tables_datasource
| snowflake_user_authentication_policy_attachment_resource
| snowflake_user_public_keys_resource
| snowflake_user_password_policy_attachment_resource
.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#preview_features_enabled SnowflakeProvider#preview_features_enabled}
public readonly privateKey: string;
- Type: string
Private Key for username+private-key auth. Cannot be used with password
. Can also be sourced from the SNOWFLAKE_PRIVATE_KEY
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#private_key SnowflakeProvider#private_key}
public readonly privateKeyPassphrase: string;
- Type: string
Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc.
Can also be sourced from the SNOWFLAKE_PRIVATE_KEY_PASSPHRASE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#private_key_passphrase SnowflakeProvider#private_key_passphrase}
public readonly profile: string;
- Type: string
Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the SNOWFLAKE_PROFILE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#profile SnowflakeProvider#profile}
public readonly protocol: string;
- Type: string
A protocol used in the connection.
Valid options are: http
| https
. Can also be sourced from the SNOWFLAKE_PROTOCOL
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#protocol SnowflakeProvider#protocol}
public readonly requestTimeout: number;
- Type: number
request retry timeout in seconds EXCLUDING network roundtrip and read out http response.
Can also be sourced from the SNOWFLAKE_REQUEST_TIMEOUT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#request_timeout SnowflakeProvider#request_timeout}
public readonly role: string;
- Type: string
Specifies the role to use by default for accessing Snowflake objects in the client session.
Can also be sourced from the SNOWFLAKE_ROLE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#role SnowflakeProvider#role}
public readonly tmpDirectoryPath: string;
- Type: string
Sets temporary directory used by the driver for operations like encrypting, compressing etc.
Can also be sourced from the SNOWFLAKE_TMP_DIRECTORY_PATH
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#tmp_directory_path SnowflakeProvider#tmp_directory_path}
public readonly token: string;
- Type: string
Token to use for OAuth and other forms of token based auth.
Can also be sourced from the SNOWFLAKE_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#token SnowflakeProvider#token}
public readonly tokenAccessor: SnowflakeProviderTokenAccessor;
token_accessor block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#token_accessor SnowflakeProvider#token_accessor}
public readonly user: string;
- Type: string
Username. Required unless using profile
. Can also be sourced from the SNOWFLAKE_USER
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#user SnowflakeProvider#user}
public readonly validateDefaultParameters: string;
- Type: string
True by default.
If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#validate_default_parameters SnowflakeProvider#validate_default_parameters}
public readonly warehouse: string;
- Type: string
Specifies the virtual warehouse to use by default for queries, loading, etc.
in the client session. Can also be sourced from the SNOWFLAKE_WAREHOUSE
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#warehouse SnowflakeProvider#warehouse}
import { provider } from '@cdktf/provider-snowflake'
const snowflakeProviderTokenAccessor: provider.SnowflakeProviderTokenAccessor = { ... }
Name | Type | Description |
---|---|---|
clientId |
string |
The client ID for the OAuth provider when using a refresh token to renew access token. |
clientSecret |
string |
The client secret for the OAuth provider when using a refresh token to renew access token. |
redirectUri |
string |
The redirect URI for the OAuth provider when using a refresh token to renew access token. |
refreshToken |
string |
The refresh token for the OAuth provider when using a refresh token to renew access token. |
tokenEndpoint |
string |
The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINT environment variable. |
public readonly clientId: string;
- Type: string
The client ID for the OAuth provider when using a refresh token to renew access token.
Can also be sourced from the SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_ID
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#client_id SnowflakeProvider#client_id}
public readonly clientSecret: string;
- Type: string
The client secret for the OAuth provider when using a refresh token to renew access token.
Can also be sourced from the SNOWFLAKE_TOKEN_ACCESSOR_CLIENT_SECRET
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#client_secret SnowflakeProvider#client_secret}
public readonly redirectUri: string;
- Type: string
The redirect URI for the OAuth provider when using a refresh token to renew access token.
Can also be sourced from the SNOWFLAKE_TOKEN_ACCESSOR_REDIRECT_URI
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#redirect_uri SnowflakeProvider#redirect_uri}
public readonly refreshToken: string;
- Type: string
The refresh token for the OAuth provider when using a refresh token to renew access token.
Can also be sourced from the SNOWFLAKE_TOKEN_ACCESSOR_REFRESH_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#refresh_token SnowflakeProvider#refresh_token}
public readonly tokenEndpoint: string;
- Type: string
The token endpoint for the OAuth provider e.g. https://{yourDomain}/oauth/token when using a refresh token to renew access token. Can also be sourced from the SNOWFLAKE_TOKEN_ACCESSOR_TOKEN_ENDPOINT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/1.0.1/docs#token_endpoint SnowflakeProvider#token_endpoint}