Represents a {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs snowflake}.
import com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider;
SnowflakeProvider.Builder.create(Construct scope, java.lang.String id)
// .account(java.lang.String)
// .accountName(java.lang.String)
// .alias(java.lang.String)
// .authenticator(java.lang.String)
// .browserAuth(java.lang.Boolean)
// .browserAuth(IResolvable)
// .clientIp(java.lang.String)
// .clientRequestMfaToken(java.lang.String)
// .clientStoreTemporaryCredential(java.lang.String)
// .clientTimeout(java.lang.Number)
// .disableConsoleLogin(java.lang.String)
// .disableQueryContextCache(java.lang.Boolean)
// .disableQueryContextCache(IResolvable)
// .disableTelemetry(java.lang.Boolean)
// .disableTelemetry(IResolvable)
// .driverTracing(java.lang.String)
// .externalBrowserTimeout(java.lang.Number)
// .host(java.lang.String)
// .includeRetryReason(java.lang.String)
// .insecureMode(java.lang.Boolean)
// .insecureMode(IResolvable)
// .jwtClientTimeout(java.lang.Number)
// .jwtExpireTimeout(java.lang.Number)
// .keepSessionAlive(java.lang.Boolean)
// .keepSessionAlive(IResolvable)
// .loginTimeout(java.lang.Number)
// .maxRetryCount(java.lang.Number)
// .oauthAccessToken(java.lang.String)
// .oauthClientId(java.lang.String)
// .oauthClientSecret(java.lang.String)
// .oauthEndpoint(java.lang.String)
// .oauthRedirectUrl(java.lang.String)
// .oauthRefreshToken(java.lang.String)
// .ocspFailOpen(java.lang.String)
// .oktaUrl(java.lang.String)
// .organizationName(java.lang.String)
// .params(java.util.Map<java.lang.String, java.lang.String>)
// .passcode(java.lang.String)
// .passcodeInPassword(java.lang.Boolean)
// .passcodeInPassword(IResolvable)
// .password(java.lang.String)
// .port(java.lang.Number)
// .privateKey(java.lang.String)
// .privateKeyPassphrase(java.lang.String)
// .privateKeyPath(java.lang.String)
// .profile(java.lang.String)
// .protocol(java.lang.String)
// .region(java.lang.String)
// .requestTimeout(java.lang.Number)
// .role(java.lang.String)
// .sessionParams(java.util.Map<java.lang.String, java.lang.String>)
// .tmpDirectoryPath(java.lang.String)
// .token(java.lang.String)
// .tokenAccessor(SnowflakeProviderTokenAccessor)
// .user(java.lang.String)
// .username(java.lang.String)
// .validateDefaultParameters(java.lang.String)
// .warehouse(java.lang.String)
.build();
Name | Type | Description |
---|---|---|
scope |
software.constructs.Construct |
The scope in which to define this construct. |
id |
java.lang.String |
The scoped construct ID. |
account |
java.lang.String |
Use account_name and organization_name instead. |
accountName |
java.lang.String |
Specifies your Snowflake account name assigned by Snowflake. |
alias |
java.lang.String |
Alias name. |
authenticator |
java.lang.String |
Specifies the authentication type to use when connecting to Snowflake. Valid options are: SNOWFLAKE | OAUTH | EXTERNALBROWSER | OKTA | JWT | SNOWFLAKE_JWT | TOKENACCESSOR | USERNAMEPASSWORDMFA . Value JWT is deprecated and will be removed in future releases. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR environment variable. |
browserAuth |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH environment variable. |
clientIp |
java.lang.String |
IP address for network checks. Can also be sourced from the SNOWFLAKE_CLIENT_IP environment variable. |
clientRequestMfaToken |
java.lang.String |
When true the MFA token is cached in the credential manager. |
clientStoreTemporaryCredential |
java.lang.String |
When true the ID token is cached in the credential manager. |
clientTimeout |
java.lang.Number |
The timeout in seconds for the client to complete the authentication. |
disableConsoleLogin |
java.lang.String |
Indicates whether console login should be disabled in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_CONSOLE_LOGIN environment variable. |
disableQueryContextCache |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Disables HTAP query context cache in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE environment variable. |
disableTelemetry |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Disables telemetry in the driver. Can also be sourced from the DISABLE_TELEMETRY environment variable. |
driverTracing |
java.lang.String |
Specifies the logging level to be used by the driver. |
externalBrowserTimeout |
java.lang.Number |
The timeout in seconds for the external browser to complete the authentication. |
host |
java.lang.String |
Specifies a custom host value used by the driver for privatelink connections. |
includeRetryReason |
java.lang.String |
Should retried request contain retry reason. Can also be sourced from the SNOWFLAKE_INCLUDE_RETRY_REASON environment variable. |
insecureMode |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. |
jwtClientTimeout |
java.lang.Number |
The timeout in seconds for the JWT client to complete the authentication. |
jwtExpireTimeout |
java.lang.Number |
JWT expire after timeout in seconds. Can also be sourced from the SNOWFLAKE_JWT_EXPIRE_TIMEOUT environment variable. |
keepSessionAlive |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Enables the session to persist even after the connection is closed. |
loginTimeout |
java.lang.Number |
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. |
maxRetryCount |
java.lang.Number |
Specifies how many times non-periodic HTTP request can be retried by the driver. |
oauthAccessToken |
java.lang.String |
Token for use with OAuth. |
oauthClientId |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_ID environment variable. |
oauthClientSecret |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET environment variable. |
oauthEndpoint |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_ENDPOINT environment variable. |
oauthRedirectUrl |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL environment variable. |
oauthRefreshToken |
java.lang.String |
Token for use with OAuth. |
ocspFailOpen |
java.lang.String |
True represents OCSP fail open mode. |
oktaUrl |
java.lang.String |
The URL of the Okta server. |
organizationName |
java.lang.String |
Specifies your Snowflake organization name assigned by Snowflake. |
params |
java.util.Map<java.lang.String, java.lang.String> |
Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables. |
passcode |
java.lang.String |
Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. |
passcodeInPassword |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
False by default. |
password |
java.lang.String |
Password for user + password auth. |
port |
java.lang.Number |
Specifies a custom port value used by the driver for privatelink connections. |
privateKey |
java.lang.String |
Private Key for username+private-key auth. |
privateKeyPassphrase |
java.lang.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. |
privateKeyPath |
java.lang.String |
Path to a private key for using keypair authentication. |
profile |
java.lang.String |
Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the SNOWFLAKE_PROFILE environment variable. |
protocol |
java.lang.String |
A protocol used in the connection. |
region |
java.lang.String |
Snowflake region, such as "eu-central-1", with this parameter. |
requestTimeout |
java.lang.Number |
request retry timeout in seconds EXCLUDING network roundtrip and read out http response. |
role |
java.lang.String |
Specifies the role to use by default for accessing Snowflake objects in the client session. |
sessionParams |
java.util.Map<java.lang.String, java.lang.String> |
Sets session parameters. Parameters. |
tmpDirectoryPath |
java.lang.String |
Sets temporary directory used by the driver for operations like encrypting, compressing etc. |
token |
java.lang.String |
Token to use for OAuth and other forms of token based auth. |
tokenAccessor |
SnowflakeProviderTokenAccessor |
token_accessor block. |
user |
java.lang.String |
Username. Required unless using profile . Can also be sourced from the SNOWFLAKE_USER environment variable. |
username |
java.lang.String |
Username for user + password authentication. Required unless using profile . Can also be sourced from the SNOWFLAKE_USERNAME environment variable. |
validateDefaultParameters |
java.lang.String |
True by default. |
warehouse |
java.lang.String |
Specifies the virtual warehouse to use by default for queries, loading, etc. |
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: java.lang.String
Use account_name
and organization_name
instead.
Specifies your Snowflake account identifier assigned, by Snowflake. The account locator format is not supported. For information about account identifiers, see the Snowflake documentation. Required unless using profile
. Can also be sourced from the SNOWFLAKE_ACCOUNT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#account SnowflakeProvider#account}
- Type: java.lang.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/0.98.0/docs#account_name SnowflakeProvider#account_name}
- Type: java.lang.String
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#alias SnowflakeProvider#alias}
- Type: java.lang.String
Specifies the authentication type to use when connecting to Snowflake. Valid options are: SNOWFLAKE
| OAUTH
| EXTERNALBROWSER
| OKTA
| JWT
| SNOWFLAKE_JWT
| TOKENACCESSOR
| USERNAMEPASSWORDMFA
. Value JWT
is deprecated and will be removed in future releases. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#authenticator SnowflakeProvider#authenticator}
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#browser_auth SnowflakeProvider#browser_auth}
- Type: java.lang.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/0.98.0/docs#client_ip SnowflakeProvider#client_ip}
- Type: java.lang.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/0.98.0/docs#client_request_mfa_token SnowflakeProvider#client_request_mfa_token}
- Type: java.lang.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/0.98.0/docs#client_store_temporary_credential SnowflakeProvider#client_store_temporary_credential}
- Type: java.lang.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/0.98.0/docs#client_timeout SnowflakeProvider#client_timeout}
- Type: java.lang.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/0.98.0/docs#disable_console_login SnowflakeProvider#disable_console_login}
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#disable_query_context_cache SnowflakeProvider#disable_query_context_cache}
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#disable_telemetry SnowflakeProvider#disable_telemetry}
- Type: java.lang.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/0.98.0/docs#driver_tracing SnowflakeProvider#driver_tracing}
- Type: java.lang.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/0.98.0/docs#external_browser_timeout SnowflakeProvider#external_browser_timeout}
- Type: java.lang.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/0.98.0/docs#host SnowflakeProvider#host}
- Type: java.lang.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/0.98.0/docs#include_retry_reason SnowflakeProvider#include_retry_reason}
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#insecure_mode SnowflakeProvider#insecure_mode}
- Type: java.lang.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/0.98.0/docs#jwt_client_timeout SnowflakeProvider#jwt_client_timeout}
- Type: java.lang.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/0.98.0/docs#jwt_expire_timeout SnowflakeProvider#jwt_expire_timeout}
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#keep_session_alive SnowflakeProvider#keep_session_alive}
- Type: java.lang.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/0.98.0/docs#login_timeout SnowflakeProvider#login_timeout}
- Type: java.lang.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/0.98.0/docs#max_retry_count SnowflakeProvider#max_retry_count}
- Type: java.lang.String
Token for use with OAuth.
Generating the token is left to other tools. Cannot be used with browser_auth
, private_key_path
, oauth_refresh_token
or password
. Can also be sourced from SNOWFLAKE_OAUTH_ACCESS_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_access_token SnowflakeProvider#oauth_access_token}
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_ID
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_client_id SnowflakeProvider#oauth_client_id}
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_client_secret SnowflakeProvider#oauth_client_secret}
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_ENDPOINT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_endpoint SnowflakeProvider#oauth_endpoint}
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_redirect_url SnowflakeProvider#oauth_redirect_url}
- Type: java.lang.String
Token for use with OAuth.
Setup and generation of the token is left to other tools. Should be used in conjunction with oauth_client_id
, oauth_client_secret
, oauth_endpoint
, oauth_redirect_url
. Cannot be used with browser_auth
, private_key_path
, oauth_access_token
or password
. Can also be sourced from SNOWFLAKE_OAUTH_REFRESH_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_refresh_token SnowflakeProvider#oauth_refresh_token}
- Type: java.lang.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/0.98.0/docs#ocsp_fail_open SnowflakeProvider#ocsp_fail_open}
- Type: java.lang.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/0.98.0/docs#okta_url SnowflakeProvider#okta_url}
- Type: java.lang.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/0.98.0/docs#organization_name SnowflakeProvider#organization_name}
- Type: java.util.Map<java.lang.String, java.lang.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/0.98.0/docs#params SnowflakeProvider#params}
- Type: java.lang.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/0.98.0/docs#passcode SnowflakeProvider#passcode}
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#passcode_in_password SnowflakeProvider#passcode_in_password}
- Type: java.lang.String
Password for user + password auth.
Cannot be used with browser_auth
or private_key_path
. Can also be sourced from the SNOWFLAKE_PASSWORD
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#password SnowflakeProvider#password}
- Type: java.lang.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/0.98.0/docs#port SnowflakeProvider#port}
- Type: java.lang.String
Private Key for username+private-key auth.
Cannot be used with browser_auth
or 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/0.98.0/docs#private_key SnowflakeProvider#private_key}
- Type: java.lang.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/0.98.0/docs#private_key_passphrase SnowflakeProvider#private_key_passphrase}
- Type: java.lang.String
Path to a private key for using keypair authentication.
Cannot be used with browser_auth
, oauth_access_token
or password
. Can also be sourced from SNOWFLAKE_PRIVATE_KEY_PATH
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#private_key_path SnowflakeProvider#private_key_path}
- Type: java.lang.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/0.98.0/docs#profile SnowflakeProvider#profile}
- Type: java.lang.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/0.98.0/docs#protocol SnowflakeProvider#protocol}
- Type: java.lang.String
Snowflake region, such as "eu-central-1", with this parameter.
However, since this parameter is deprecated, it is best to specify the region as part of the account parameter. For details, see the description of the account parameter. Snowflake region to use. Required if using the legacy format for the account
identifier in the form of <cloud_region_id>.<cloud>
. Can also be sourced from the SNOWFLAKE_REGION
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#region SnowflakeProvider#region}
- Type: java.lang.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/0.98.0/docs#request_timeout SnowflakeProvider#request_timeout}
- Type: java.lang.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/0.98.0/docs#role SnowflakeProvider#role}
- Type: java.util.Map<java.lang.String, java.lang.String>
Sets session parameters. Parameters.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#session_params SnowflakeProvider#session_params}
- Type: java.lang.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/0.98.0/docs#tmp_directory_path SnowflakeProvider#tmp_directory_path}
- Type: java.lang.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/0.98.0/docs#token SnowflakeProvider#token}
token_accessor block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#token_accessor SnowflakeProvider#token_accessor}
- Type: java.lang.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/0.98.0/docs#user SnowflakeProvider#user}
- Type: java.lang.String
Username for user + password authentication. Required unless using profile
. Can also be sourced from the SNOWFLAKE_USERNAME
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#username SnowflakeProvider#username}
- Type: java.lang.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/0.98.0/docs#validate_default_parameters SnowflakeProvider#validate_default_parameters}
- Type: java.lang.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/0.98.0/docs#warehouse SnowflakeProvider#warehouse}
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. |
resetAccount |
No description. |
resetAccountName |
No description. |
resetAlias |
No description. |
resetAuthenticator |
No description. |
resetBrowserAuth |
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. |
resetOauthAccessToken |
No description. |
resetOauthClientId |
No description. |
resetOauthClientSecret |
No description. |
resetOauthEndpoint |
No description. |
resetOauthRedirectUrl |
No description. |
resetOauthRefreshToken |
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. |
resetPrivateKey |
No description. |
resetPrivateKeyPassphrase |
No description. |
resetPrivateKeyPath |
No description. |
resetProfile |
No description. |
resetProtocol |
No description. |
resetRegion |
No description. |
resetRequestTimeout |
No description. |
resetRole |
No description. |
resetSessionParams |
No description. |
resetTmpDirectoryPath |
No description. |
resetToken |
No description. |
resetTokenAccessor |
No description. |
resetUser |
No description. |
resetUsername |
No description. |
resetValidateDefaultParameters |
No description. |
resetWarehouse |
No description. |
public java.lang.String toString()
Returns a string representation of this construct.
public void addOverride(java.lang.String path, java.lang.Object value)
- Type: java.lang.String
- Type: java.lang.Object
public void overrideLogicalId(java.lang.String newLogicalId)
Overrides the auto-generated logical ID with a specific ID.
- Type: java.lang.String
The new logical ID to use for this stack element.
public void resetOverrideLogicalId()
Resets a previously passed logical Id to use the auto-generated logical id again.
public java.lang.Object toHclTerraform()
public java.lang.Object toMetadata()
public java.lang.Object toTerraform()
Adds this resource to the terraform JSON output.
public void resetAccount()
public void resetAccountName()
public void resetAlias()
public void resetAuthenticator()
public void resetBrowserAuth()
public void resetClientIp()
public void resetClientRequestMfaToken()
public void resetClientStoreTemporaryCredential()
public void resetClientTimeout()
public void resetDisableConsoleLogin()
public void resetDisableQueryContextCache()
public void resetDisableTelemetry()
public void resetDriverTracing()
public void resetExternalBrowserTimeout()
public void resetHost()
public void resetIncludeRetryReason()
public void resetInsecureMode()
public void resetJwtClientTimeout()
public void resetJwtExpireTimeout()
public void resetKeepSessionAlive()
public void resetLoginTimeout()
public void resetMaxRetryCount()
public void resetOauthAccessToken()
public void resetOauthClientId()
public void resetOauthClientSecret()
public void resetOauthEndpoint()
public void resetOauthRedirectUrl()
public void resetOauthRefreshToken()
public void resetOcspFailOpen()
public void resetOktaUrl()
public void resetOrganizationName()
public void resetParams()
public void resetPasscode()
public void resetPasscodeInPassword()
public void resetPassword()
public void resetPort()
public void resetPrivateKey()
public void resetPrivateKeyPassphrase()
public void resetPrivateKeyPath()
public void resetProfile()
public void resetProtocol()
public void resetRegion()
public void resetRequestTimeout()
public void resetRole()
public void resetSessionParams()
public void resetTmpDirectoryPath()
public void resetToken()
public void resetTokenAccessor()
public void resetUser()
public void resetUsername()
public void resetValidateDefaultParameters()
public void resetWarehouse()
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 com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider;
SnowflakeProvider.isConstruct(java.lang.Object x)
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: java.lang.Object
Any object.
import com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider;
SnowflakeProvider.isTerraformElement(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider;
SnowflakeProvider.isTerraformProvider(java.lang.Object x)
- Type: java.lang.Object
import com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProvider;
SnowflakeProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),SnowflakeProvider.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)
Generates CDKTF code for importing a SnowflakeProvider resource upon running "cdktf plan ".
- Type: software.constructs.Construct
The scope in which to define this construct.
- Type: java.lang.String
The construct id used in the generated config for the SnowflakeProvider to import.
- Type: java.lang.String
The id of the existing SnowflakeProvider that should be imported.
Refer to the {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#import import section} in the documentation of this resource for the id to use
- Type: com.hashicorp.cdktf.TerraformProvider
? Optional instance of the provider where the SnowflakeProvider to import is found.
Name | Type | Description |
---|---|---|
node |
software.constructs.Node |
The tree node. |
cdktfStack |
com.hashicorp.cdktf.TerraformStack |
No description. |
fqn |
java.lang.String |
No description. |
friendlyUniqueId |
java.lang.String |
No description. |
metaAttributes |
java.util.Map<java.lang.String, java.lang.Object> |
No description. |
terraformResourceType |
java.lang.String |
No description. |
terraformGeneratorMetadata |
com.hashicorp.cdktf.TerraformProviderGeneratorMetadata |
No description. |
terraformProviderSource |
java.lang.String |
No description. |
alias |
java.lang.String |
No description. |
accountInput |
java.lang.String |
No description. |
accountNameInput |
java.lang.String |
No description. |
aliasInput |
java.lang.String |
No description. |
authenticatorInput |
java.lang.String |
No description. |
browserAuthInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
clientIpInput |
java.lang.String |
No description. |
clientRequestMfaTokenInput |
java.lang.String |
No description. |
clientStoreTemporaryCredentialInput |
java.lang.String |
No description. |
clientTimeoutInput |
java.lang.Number |
No description. |
disableConsoleLoginInput |
java.lang.String |
No description. |
disableQueryContextCacheInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
disableTelemetryInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
driverTracingInput |
java.lang.String |
No description. |
externalBrowserTimeoutInput |
java.lang.Number |
No description. |
hostInput |
java.lang.String |
No description. |
includeRetryReasonInput |
java.lang.String |
No description. |
insecureModeInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
jwtClientTimeoutInput |
java.lang.Number |
No description. |
jwtExpireTimeoutInput |
java.lang.Number |
No description. |
keepSessionAliveInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
loginTimeoutInput |
java.lang.Number |
No description. |
maxRetryCountInput |
java.lang.Number |
No description. |
oauthAccessTokenInput |
java.lang.String |
No description. |
oauthClientIdInput |
java.lang.String |
No description. |
oauthClientSecretInput |
java.lang.String |
No description. |
oauthEndpointInput |
java.lang.String |
No description. |
oauthRedirectUrlInput |
java.lang.String |
No description. |
oauthRefreshTokenInput |
java.lang.String |
No description. |
ocspFailOpenInput |
java.lang.String |
No description. |
oktaUrlInput |
java.lang.String |
No description. |
organizationNameInput |
java.lang.String |
No description. |
paramsInput |
java.util.Map<java.lang.String, java.lang.String> |
No description. |
passcodeInPasswordInput |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
passcodeInput |
java.lang.String |
No description. |
passwordInput |
java.lang.String |
No description. |
portInput |
java.lang.Number |
No description. |
privateKeyInput |
java.lang.String |
No description. |
privateKeyPassphraseInput |
java.lang.String |
No description. |
privateKeyPathInput |
java.lang.String |
No description. |
profileInput |
java.lang.String |
No description. |
protocolInput |
java.lang.String |
No description. |
regionInput |
java.lang.String |
No description. |
requestTimeoutInput |
java.lang.Number |
No description. |
roleInput |
java.lang.String |
No description. |
sessionParamsInput |
java.util.Map<java.lang.String, java.lang.String> |
No description. |
tmpDirectoryPathInput |
java.lang.String |
No description. |
tokenAccessorInput |
SnowflakeProviderTokenAccessor |
No description. |
tokenInput |
java.lang.String |
No description. |
userInput |
java.lang.String |
No description. |
usernameInput |
java.lang.String |
No description. |
validateDefaultParametersInput |
java.lang.String |
No description. |
warehouseInput |
java.lang.String |
No description. |
account |
java.lang.String |
No description. |
accountName |
java.lang.String |
No description. |
authenticator |
java.lang.String |
No description. |
browserAuth |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
clientIp |
java.lang.String |
No description. |
clientRequestMfaToken |
java.lang.String |
No description. |
clientStoreTemporaryCredential |
java.lang.String |
No description. |
clientTimeout |
java.lang.Number |
No description. |
disableConsoleLogin |
java.lang.String |
No description. |
disableQueryContextCache |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
disableTelemetry |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
driverTracing |
java.lang.String |
No description. |
externalBrowserTimeout |
java.lang.Number |
No description. |
host |
java.lang.String |
No description. |
includeRetryReason |
java.lang.String |
No description. |
insecureMode |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
jwtClientTimeout |
java.lang.Number |
No description. |
jwtExpireTimeout |
java.lang.Number |
No description. |
keepSessionAlive |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
loginTimeout |
java.lang.Number |
No description. |
maxRetryCount |
java.lang.Number |
No description. |
oauthAccessToken |
java.lang.String |
No description. |
oauthClientId |
java.lang.String |
No description. |
oauthClientSecret |
java.lang.String |
No description. |
oauthEndpoint |
java.lang.String |
No description. |
oauthRedirectUrl |
java.lang.String |
No description. |
oauthRefreshToken |
java.lang.String |
No description. |
ocspFailOpen |
java.lang.String |
No description. |
oktaUrl |
java.lang.String |
No description. |
organizationName |
java.lang.String |
No description. |
params |
java.util.Map<java.lang.String, java.lang.String> |
No description. |
passcode |
java.lang.String |
No description. |
passcodeInPassword |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
No description. |
password |
java.lang.String |
No description. |
port |
java.lang.Number |
No description. |
privateKey |
java.lang.String |
No description. |
privateKeyPassphrase |
java.lang.String |
No description. |
privateKeyPath |
java.lang.String |
No description. |
profile |
java.lang.String |
No description. |
protocol |
java.lang.String |
No description. |
region |
java.lang.String |
No description. |
requestTimeout |
java.lang.Number |
No description. |
role |
java.lang.String |
No description. |
sessionParams |
java.util.Map<java.lang.String, java.lang.String> |
No description. |
tmpDirectoryPath |
java.lang.String |
No description. |
token |
java.lang.String |
No description. |
tokenAccessor |
SnowflakeProviderTokenAccessor |
No description. |
user |
java.lang.String |
No description. |
username |
java.lang.String |
No description. |
validateDefaultParameters |
java.lang.String |
No description. |
warehouse |
java.lang.String |
No description. |
public Node getNode();
- Type: software.constructs.Node
The tree node.
public TerraformStack getCdktfStack();
- Type: com.hashicorp.cdktf.TerraformStack
public java.lang.String getFqn();
- Type: java.lang.String
public java.lang.String getFriendlyUniqueId();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.Object> getMetaAttributes();
- Type: java.util.Map<java.lang.String, java.lang.Object>
public java.lang.String getTerraformResourceType();
- Type: java.lang.String
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
- Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata
public java.lang.String getTerraformProviderSource();
- Type: java.lang.String
public java.lang.String getAlias();
- Type: java.lang.String
public java.lang.String getAccountInput();
- Type: java.lang.String
public java.lang.String getAccountNameInput();
- Type: java.lang.String
public java.lang.String getAliasInput();
- Type: java.lang.String
public java.lang.String getAuthenticatorInput();
- Type: java.lang.String
public java.lang.Object getBrowserAuthInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getClientIpInput();
- Type: java.lang.String
public java.lang.String getClientRequestMfaTokenInput();
- Type: java.lang.String
public java.lang.String getClientStoreTemporaryCredentialInput();
- Type: java.lang.String
public java.lang.Number getClientTimeoutInput();
- Type: java.lang.Number
public java.lang.String getDisableConsoleLoginInput();
- Type: java.lang.String
public java.lang.Object getDisableQueryContextCacheInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getDisableTelemetryInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getDriverTracingInput();
- Type: java.lang.String
public java.lang.Number getExternalBrowserTimeoutInput();
- Type: java.lang.Number
public java.lang.String getHostInput();
- Type: java.lang.String
public java.lang.String getIncludeRetryReasonInput();
- Type: java.lang.String
public java.lang.Object getInsecureModeInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Number getJwtClientTimeoutInput();
- Type: java.lang.Number
public java.lang.Number getJwtExpireTimeoutInput();
- Type: java.lang.Number
public java.lang.Object getKeepSessionAliveInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Number getLoginTimeoutInput();
- Type: java.lang.Number
public java.lang.Number getMaxRetryCountInput();
- Type: java.lang.Number
public java.lang.String getOauthAccessTokenInput();
- Type: java.lang.String
public java.lang.String getOauthClientIdInput();
- Type: java.lang.String
public java.lang.String getOauthClientSecretInput();
- Type: java.lang.String
public java.lang.String getOauthEndpointInput();
- Type: java.lang.String
public java.lang.String getOauthRedirectUrlInput();
- Type: java.lang.String
public java.lang.String getOauthRefreshTokenInput();
- Type: java.lang.String
public java.lang.String getOcspFailOpenInput();
- Type: java.lang.String
public java.lang.String getOktaUrlInput();
- Type: java.lang.String
public java.lang.String getOrganizationNameInput();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getParamsInput();
- Type: java.util.Map<java.lang.String, java.lang.String>
public java.lang.Object getPasscodeInPasswordInput();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getPasscodeInput();
- Type: java.lang.String
public java.lang.String getPasswordInput();
- Type: java.lang.String
public java.lang.Number getPortInput();
- Type: java.lang.Number
public java.lang.String getPrivateKeyInput();
- Type: java.lang.String
public java.lang.String getPrivateKeyPassphraseInput();
- Type: java.lang.String
public java.lang.String getPrivateKeyPathInput();
- Type: java.lang.String
public java.lang.String getProfileInput();
- Type: java.lang.String
public java.lang.String getProtocolInput();
- Type: java.lang.String
public java.lang.String getRegionInput();
- Type: java.lang.String
public java.lang.Number getRequestTimeoutInput();
- Type: java.lang.Number
public java.lang.String getRoleInput();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getSessionParamsInput();
- Type: java.util.Map<java.lang.String, java.lang.String>
public java.lang.String getTmpDirectoryPathInput();
- Type: java.lang.String
public SnowflakeProviderTokenAccessor getTokenAccessorInput();
public java.lang.String getTokenInput();
- Type: java.lang.String
public java.lang.String getUserInput();
- Type: java.lang.String
public java.lang.String getUsernameInput();
- Type: java.lang.String
public java.lang.String getValidateDefaultParametersInput();
- Type: java.lang.String
public java.lang.String getWarehouseInput();
- Type: java.lang.String
public java.lang.String getAccount();
- Type: java.lang.String
public java.lang.String getAccountName();
- Type: java.lang.String
public java.lang.String getAuthenticator();
- Type: java.lang.String
public java.lang.Object getBrowserAuth();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getClientIp();
- Type: java.lang.String
public java.lang.String getClientRequestMfaToken();
- Type: java.lang.String
public java.lang.String getClientStoreTemporaryCredential();
- Type: java.lang.String
public java.lang.Number getClientTimeout();
- Type: java.lang.Number
public java.lang.String getDisableConsoleLogin();
- Type: java.lang.String
public java.lang.Object getDisableQueryContextCache();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Object getDisableTelemetry();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getDriverTracing();
- Type: java.lang.String
public java.lang.Number getExternalBrowserTimeout();
- Type: java.lang.Number
public java.lang.String getHost();
- Type: java.lang.String
public java.lang.String getIncludeRetryReason();
- Type: java.lang.String
public java.lang.Object getInsecureMode();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Number getJwtClientTimeout();
- Type: java.lang.Number
public java.lang.Number getJwtExpireTimeout();
- Type: java.lang.Number
public java.lang.Object getKeepSessionAlive();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.Number getLoginTimeout();
- Type: java.lang.Number
public java.lang.Number getMaxRetryCount();
- Type: java.lang.Number
public java.lang.String getOauthAccessToken();
- Type: java.lang.String
public java.lang.String getOauthClientId();
- Type: java.lang.String
public java.lang.String getOauthClientSecret();
- Type: java.lang.String
public java.lang.String getOauthEndpoint();
- Type: java.lang.String
public java.lang.String getOauthRedirectUrl();
- Type: java.lang.String
public java.lang.String getOauthRefreshToken();
- Type: java.lang.String
public java.lang.String getOcspFailOpen();
- Type: java.lang.String
public java.lang.String getOktaUrl();
- Type: java.lang.String
public java.lang.String getOrganizationName();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getParams();
- Type: java.util.Map<java.lang.String, java.lang.String>
public java.lang.String getPasscode();
- Type: java.lang.String
public java.lang.Object getPasscodeInPassword();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
public java.lang.String getPassword();
- Type: java.lang.String
public java.lang.Number getPort();
- Type: java.lang.Number
public java.lang.String getPrivateKey();
- Type: java.lang.String
public java.lang.String getPrivateKeyPassphrase();
- Type: java.lang.String
public java.lang.String getPrivateKeyPath();
- Type: java.lang.String
public java.lang.String getProfile();
- Type: java.lang.String
public java.lang.String getProtocol();
- Type: java.lang.String
public java.lang.String getRegion();
- Type: java.lang.String
public java.lang.Number getRequestTimeout();
- Type: java.lang.Number
public java.lang.String getRole();
- Type: java.lang.String
public java.util.Map<java.lang.String, java.lang.String> getSessionParams();
- Type: java.util.Map<java.lang.String, java.lang.String>
public java.lang.String getTmpDirectoryPath();
- Type: java.lang.String
public java.lang.String getToken();
- Type: java.lang.String
public SnowflakeProviderTokenAccessor getTokenAccessor();
public java.lang.String getUser();
- Type: java.lang.String
public java.lang.String getUsername();
- Type: java.lang.String
public java.lang.String getValidateDefaultParameters();
- Type: java.lang.String
public java.lang.String getWarehouse();
- Type: java.lang.String
Name | Type | Description |
---|---|---|
tfResourceType |
java.lang.String |
No description. |
public java.lang.String getTfResourceType();
- Type: java.lang.String
import com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderConfig;
SnowflakeProviderConfig.builder()
// .account(java.lang.String)
// .accountName(java.lang.String)
// .alias(java.lang.String)
// .authenticator(java.lang.String)
// .browserAuth(java.lang.Boolean)
// .browserAuth(IResolvable)
// .clientIp(java.lang.String)
// .clientRequestMfaToken(java.lang.String)
// .clientStoreTemporaryCredential(java.lang.String)
// .clientTimeout(java.lang.Number)
// .disableConsoleLogin(java.lang.String)
// .disableQueryContextCache(java.lang.Boolean)
// .disableQueryContextCache(IResolvable)
// .disableTelemetry(java.lang.Boolean)
// .disableTelemetry(IResolvable)
// .driverTracing(java.lang.String)
// .externalBrowserTimeout(java.lang.Number)
// .host(java.lang.String)
// .includeRetryReason(java.lang.String)
// .insecureMode(java.lang.Boolean)
// .insecureMode(IResolvable)
// .jwtClientTimeout(java.lang.Number)
// .jwtExpireTimeout(java.lang.Number)
// .keepSessionAlive(java.lang.Boolean)
// .keepSessionAlive(IResolvable)
// .loginTimeout(java.lang.Number)
// .maxRetryCount(java.lang.Number)
// .oauthAccessToken(java.lang.String)
// .oauthClientId(java.lang.String)
// .oauthClientSecret(java.lang.String)
// .oauthEndpoint(java.lang.String)
// .oauthRedirectUrl(java.lang.String)
// .oauthRefreshToken(java.lang.String)
// .ocspFailOpen(java.lang.String)
// .oktaUrl(java.lang.String)
// .organizationName(java.lang.String)
// .params(java.util.Map<java.lang.String, java.lang.String>)
// .passcode(java.lang.String)
// .passcodeInPassword(java.lang.Boolean)
// .passcodeInPassword(IResolvable)
// .password(java.lang.String)
// .port(java.lang.Number)
// .privateKey(java.lang.String)
// .privateKeyPassphrase(java.lang.String)
// .privateKeyPath(java.lang.String)
// .profile(java.lang.String)
// .protocol(java.lang.String)
// .region(java.lang.String)
// .requestTimeout(java.lang.Number)
// .role(java.lang.String)
// .sessionParams(java.util.Map<java.lang.String, java.lang.String>)
// .tmpDirectoryPath(java.lang.String)
// .token(java.lang.String)
// .tokenAccessor(SnowflakeProviderTokenAccessor)
// .user(java.lang.String)
// .username(java.lang.String)
// .validateDefaultParameters(java.lang.String)
// .warehouse(java.lang.String)
.build();
Name | Type | Description |
---|---|---|
account |
java.lang.String |
Use account_name and organization_name instead. |
accountName |
java.lang.String |
Specifies your Snowflake account name assigned by Snowflake. |
alias |
java.lang.String |
Alias name. |
authenticator |
java.lang.String |
Specifies the authentication type to use when connecting to Snowflake. Valid options are: SNOWFLAKE | OAUTH | EXTERNALBROWSER | OKTA | JWT | SNOWFLAKE_JWT | TOKENACCESSOR | USERNAMEPASSWORDMFA . Value JWT is deprecated and will be removed in future releases. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR environment variable. |
browserAuth |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH environment variable. |
clientIp |
java.lang.String |
IP address for network checks. Can also be sourced from the SNOWFLAKE_CLIENT_IP environment variable. |
clientRequestMfaToken |
java.lang.String |
When true the MFA token is cached in the credential manager. |
clientStoreTemporaryCredential |
java.lang.String |
When true the ID token is cached in the credential manager. |
clientTimeout |
java.lang.Number |
The timeout in seconds for the client to complete the authentication. |
disableConsoleLogin |
java.lang.String |
Indicates whether console login should be disabled in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_CONSOLE_LOGIN environment variable. |
disableQueryContextCache |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Disables HTAP query context cache in the driver. Can also be sourced from the SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE environment variable. |
disableTelemetry |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Disables telemetry in the driver. Can also be sourced from the DISABLE_TELEMETRY environment variable. |
driverTracing |
java.lang.String |
Specifies the logging level to be used by the driver. |
externalBrowserTimeout |
java.lang.Number |
The timeout in seconds for the external browser to complete the authentication. |
host |
java.lang.String |
Specifies a custom host value used by the driver for privatelink connections. |
includeRetryReason |
java.lang.String |
Should retried request contain retry reason. Can also be sourced from the SNOWFLAKE_INCLUDE_RETRY_REASON environment variable. |
insecureMode |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. |
jwtClientTimeout |
java.lang.Number |
The timeout in seconds for the JWT client to complete the authentication. |
jwtExpireTimeout |
java.lang.Number |
JWT expire after timeout in seconds. Can also be sourced from the SNOWFLAKE_JWT_EXPIRE_TIMEOUT environment variable. |
keepSessionAlive |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
Enables the session to persist even after the connection is closed. |
loginTimeout |
java.lang.Number |
Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. |
maxRetryCount |
java.lang.Number |
Specifies how many times non-periodic HTTP request can be retried by the driver. |
oauthAccessToken |
java.lang.String |
Token for use with OAuth. |
oauthClientId |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_ID environment variable. |
oauthClientSecret |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET environment variable. |
oauthEndpoint |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_ENDPOINT environment variable. |
oauthRedirectUrl |
java.lang.String |
Required when oauth_refresh_token is used. Can also be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL environment variable. |
oauthRefreshToken |
java.lang.String |
Token for use with OAuth. |
ocspFailOpen |
java.lang.String |
True represents OCSP fail open mode. |
oktaUrl |
java.lang.String |
The URL of the Okta server. |
organizationName |
java.lang.String |
Specifies your Snowflake organization name assigned by Snowflake. |
params |
java.util.Map<java.lang.String, java.lang.String> |
Sets other connection (i.e. session) parameters. Parameters. This field can not be set with environmental variables. |
passcode |
java.lang.String |
Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. |
passcodeInPassword |
java.lang.Boolean OR com.hashicorp.cdktf.IResolvable |
False by default. |
password |
java.lang.String |
Password for user + password auth. |
port |
java.lang.Number |
Specifies a custom port value used by the driver for privatelink connections. |
privateKey |
java.lang.String |
Private Key for username+private-key auth. |
privateKeyPassphrase |
java.lang.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. |
privateKeyPath |
java.lang.String |
Path to a private key for using keypair authentication. |
profile |
java.lang.String |
Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the SNOWFLAKE_PROFILE environment variable. |
protocol |
java.lang.String |
A protocol used in the connection. |
region |
java.lang.String |
Snowflake region, such as "eu-central-1", with this parameter. |
requestTimeout |
java.lang.Number |
request retry timeout in seconds EXCLUDING network roundtrip and read out http response. |
role |
java.lang.String |
Specifies the role to use by default for accessing Snowflake objects in the client session. |
sessionParams |
java.util.Map<java.lang.String, java.lang.String> |
Sets session parameters. Parameters. |
tmpDirectoryPath |
java.lang.String |
Sets temporary directory used by the driver for operations like encrypting, compressing etc. |
token |
java.lang.String |
Token to use for OAuth and other forms of token based auth. |
tokenAccessor |
SnowflakeProviderTokenAccessor |
token_accessor block. |
user |
java.lang.String |
Username. Required unless using profile . Can also be sourced from the SNOWFLAKE_USER environment variable. |
username |
java.lang.String |
Username for user + password authentication. Required unless using profile . Can also be sourced from the SNOWFLAKE_USERNAME environment variable. |
validateDefaultParameters |
java.lang.String |
True by default. |
warehouse |
java.lang.String |
Specifies the virtual warehouse to use by default for queries, loading, etc. |
public java.lang.String getAccount();
- Type: java.lang.String
Use account_name
and organization_name
instead.
Specifies your Snowflake account identifier assigned, by Snowflake. The account locator format is not supported. For information about account identifiers, see the Snowflake documentation. Required unless using profile
. Can also be sourced from the SNOWFLAKE_ACCOUNT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#account SnowflakeProvider#account}
public java.lang.String getAccountName();
- Type: java.lang.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/0.98.0/docs#account_name SnowflakeProvider#account_name}
public java.lang.String getAlias();
- Type: java.lang.String
Alias name.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#alias SnowflakeProvider#alias}
public java.lang.String getAuthenticator();
- Type: java.lang.String
Specifies the authentication type to use when connecting to Snowflake. Valid options are: SNOWFLAKE
| OAUTH
| EXTERNALBROWSER
| OKTA
| JWT
| SNOWFLAKE_JWT
| TOKENACCESSOR
| USERNAMEPASSWORDMFA
. Value JWT
is deprecated and will be removed in future releases. Can also be sourced from the SNOWFLAKE_AUTHENTICATOR
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#authenticator SnowflakeProvider#authenticator}
public java.lang.Object getBrowserAuth();
- Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_USE_BROWSER_AUTH
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#browser_auth SnowflakeProvider#browser_auth}
public java.lang.String getClientIp();
- Type: java.lang.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/0.98.0/docs#client_ip SnowflakeProvider#client_ip}
public java.lang.String getClientRequestMfaToken();
- Type: java.lang.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/0.98.0/docs#client_request_mfa_token SnowflakeProvider#client_request_mfa_token}
public java.lang.String getClientStoreTemporaryCredential();
- Type: java.lang.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/0.98.0/docs#client_store_temporary_credential SnowflakeProvider#client_store_temporary_credential}
public java.lang.Number getClientTimeout();
- Type: java.lang.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/0.98.0/docs#client_timeout SnowflakeProvider#client_timeout}
public java.lang.String getDisableConsoleLogin();
- Type: java.lang.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/0.98.0/docs#disable_console_login SnowflakeProvider#disable_console_login}
public java.lang.Object getDisableQueryContextCache();
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#disable_query_context_cache SnowflakeProvider#disable_query_context_cache}
public java.lang.Object getDisableTelemetry();
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#disable_telemetry SnowflakeProvider#disable_telemetry}
public java.lang.String getDriverTracing();
- Type: java.lang.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/0.98.0/docs#driver_tracing SnowflakeProvider#driver_tracing}
public java.lang.Number getExternalBrowserTimeout();
- Type: java.lang.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/0.98.0/docs#external_browser_timeout SnowflakeProvider#external_browser_timeout}
public java.lang.String getHost();
- Type: java.lang.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/0.98.0/docs#host SnowflakeProvider#host}
public java.lang.String getIncludeRetryReason();
- Type: java.lang.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/0.98.0/docs#include_retry_reason SnowflakeProvider#include_retry_reason}
public java.lang.Object getInsecureMode();
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#insecure_mode SnowflakeProvider#insecure_mode}
public java.lang.Number getJwtClientTimeout();
- Type: java.lang.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/0.98.0/docs#jwt_client_timeout SnowflakeProvider#jwt_client_timeout}
public java.lang.Number getJwtExpireTimeout();
- Type: java.lang.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/0.98.0/docs#jwt_expire_timeout SnowflakeProvider#jwt_expire_timeout}
public java.lang.Object getKeepSessionAlive();
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#keep_session_alive SnowflakeProvider#keep_session_alive}
public java.lang.Number getLoginTimeout();
- Type: java.lang.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/0.98.0/docs#login_timeout SnowflakeProvider#login_timeout}
public java.lang.Number getMaxRetryCount();
- Type: java.lang.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/0.98.0/docs#max_retry_count SnowflakeProvider#max_retry_count}
public java.lang.String getOauthAccessToken();
- Type: java.lang.String
Token for use with OAuth.
Generating the token is left to other tools. Cannot be used with browser_auth
, private_key_path
, oauth_refresh_token
or password
. Can also be sourced from SNOWFLAKE_OAUTH_ACCESS_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_access_token SnowflakeProvider#oauth_access_token}
public java.lang.String getOauthClientId();
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_ID
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_client_id SnowflakeProvider#oauth_client_id}
public java.lang.String getOauthClientSecret();
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_CLIENT_SECRET
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_client_secret SnowflakeProvider#oauth_client_secret}
public java.lang.String getOauthEndpoint();
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_ENDPOINT
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_endpoint SnowflakeProvider#oauth_endpoint}
public java.lang.String getOauthRedirectUrl();
- Type: java.lang.String
Required when oauth_refresh_token
is used. Can also be sourced from SNOWFLAKE_OAUTH_REDIRECT_URL
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_redirect_url SnowflakeProvider#oauth_redirect_url}
public java.lang.String getOauthRefreshToken();
- Type: java.lang.String
Token for use with OAuth.
Setup and generation of the token is left to other tools. Should be used in conjunction with oauth_client_id
, oauth_client_secret
, oauth_endpoint
, oauth_redirect_url
. Cannot be used with browser_auth
, private_key_path
, oauth_access_token
or password
. Can also be sourced from SNOWFLAKE_OAUTH_REFRESH_TOKEN
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#oauth_refresh_token SnowflakeProvider#oauth_refresh_token}
public java.lang.String getOcspFailOpen();
- Type: java.lang.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/0.98.0/docs#ocsp_fail_open SnowflakeProvider#ocsp_fail_open}
public java.lang.String getOktaUrl();
- Type: java.lang.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/0.98.0/docs#okta_url SnowflakeProvider#okta_url}
public java.lang.String getOrganizationName();
- Type: java.lang.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/0.98.0/docs#organization_name SnowflakeProvider#organization_name}
public java.util.Map<java.lang.String, java.lang.String> getParams();
- Type: java.util.Map<java.lang.String, java.lang.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/0.98.0/docs#params SnowflakeProvider#params}
public java.lang.String getPasscode();
- Type: java.lang.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/0.98.0/docs#passcode SnowflakeProvider#passcode}
public java.lang.Object getPasscodeInPassword();
- Type: java.lang.Boolean OR com.hashicorp.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/0.98.0/docs#passcode_in_password SnowflakeProvider#passcode_in_password}
public java.lang.String getPassword();
- Type: java.lang.String
Password for user + password auth.
Cannot be used with browser_auth
or private_key_path
. Can also be sourced from the SNOWFLAKE_PASSWORD
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#password SnowflakeProvider#password}
public java.lang.Number getPort();
- Type: java.lang.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/0.98.0/docs#port SnowflakeProvider#port}
public java.lang.String getPrivateKey();
- Type: java.lang.String
Private Key for username+private-key auth.
Cannot be used with browser_auth
or 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/0.98.0/docs#private_key SnowflakeProvider#private_key}
public java.lang.String getPrivateKeyPassphrase();
- Type: java.lang.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/0.98.0/docs#private_key_passphrase SnowflakeProvider#private_key_passphrase}
public java.lang.String getPrivateKeyPath();
- Type: java.lang.String
Path to a private key for using keypair authentication.
Cannot be used with browser_auth
, oauth_access_token
or password
. Can also be sourced from SNOWFLAKE_PRIVATE_KEY_PATH
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#private_key_path SnowflakeProvider#private_key_path}
public java.lang.String getProfile();
- Type: java.lang.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/0.98.0/docs#profile SnowflakeProvider#profile}
public java.lang.String getProtocol();
- Type: java.lang.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/0.98.0/docs#protocol SnowflakeProvider#protocol}
public java.lang.String getRegion();
- Type: java.lang.String
Snowflake region, such as "eu-central-1", with this parameter.
However, since this parameter is deprecated, it is best to specify the region as part of the account parameter. For details, see the description of the account parameter. Snowflake region to use. Required if using the legacy format for the account
identifier in the form of <cloud_region_id>.<cloud>
. Can also be sourced from the SNOWFLAKE_REGION
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#region SnowflakeProvider#region}
public java.lang.Number getRequestTimeout();
- Type: java.lang.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/0.98.0/docs#request_timeout SnowflakeProvider#request_timeout}
public java.lang.String getRole();
- Type: java.lang.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/0.98.0/docs#role SnowflakeProvider#role}
public java.util.Map<java.lang.String, java.lang.String> getSessionParams();
- Type: java.util.Map<java.lang.String, java.lang.String>
Sets session parameters. Parameters.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#session_params SnowflakeProvider#session_params}
public java.lang.String getTmpDirectoryPath();
- Type: java.lang.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/0.98.0/docs#tmp_directory_path SnowflakeProvider#tmp_directory_path}
public java.lang.String getToken();
- Type: java.lang.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/0.98.0/docs#token SnowflakeProvider#token}
public SnowflakeProviderTokenAccessor getTokenAccessor();
token_accessor block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#token_accessor SnowflakeProvider#token_accessor}
public java.lang.String getUser();
- Type: java.lang.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/0.98.0/docs#user SnowflakeProvider#user}
public java.lang.String getUsername();
- Type: java.lang.String
Username for user + password authentication. Required unless using profile
. Can also be sourced from the SNOWFLAKE_USERNAME
environment variable.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/snowflake-labs/snowflake/0.98.0/docs#username SnowflakeProvider#username}
public java.lang.String getValidateDefaultParameters();
- Type: java.lang.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/0.98.0/docs#validate_default_parameters SnowflakeProvider#validate_default_parameters}
public java.lang.String getWarehouse();
- Type: java.lang.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/0.98.0/docs#warehouse SnowflakeProvider#warehouse}
import com.hashicorp.cdktf.providers.snowflake.provider.SnowflakeProviderTokenAccessor;
SnowflakeProviderTokenAccessor.builder()
.clientId(java.lang.String)
.clientSecret(java.lang.String)
.redirectUri(java.lang.String)
.refreshToken(java.lang.String)
.tokenEndpoint(java.lang.String)
.build();
Name | Type | Description |
---|---|---|
clientId |
java.lang.String |
The client ID for the OAuth provider when using a refresh token to renew access token. |
clientSecret |
java.lang.String |
The client secret for the OAuth provider when using a refresh token to renew access token. |
redirectUri |
java.lang.String |
The redirect URI for the OAuth provider when using a refresh token to renew access token. |
refreshToken |
java.lang.String |
The refresh token for the OAuth provider when using a refresh token to renew access token. |
tokenEndpoint |
java.lang.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 java.lang.String getClientId();
- Type: java.lang.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/0.98.0/docs#client_id SnowflakeProvider#client_id}
public java.lang.String getClientSecret();
- Type: java.lang.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/0.98.0/docs#client_secret SnowflakeProvider#client_secret}
public java.lang.String getRedirectUri();
- Type: java.lang.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/0.98.0/docs#redirect_uri SnowflakeProvider#redirect_uri}
public java.lang.String getRefreshToken();
- Type: java.lang.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/0.98.0/docs#refresh_token SnowflakeProvider#refresh_token}
public java.lang.String getTokenEndpoint();
- Type: java.lang.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/0.98.0/docs#token_endpoint SnowflakeProvider#token_endpoint}