@pulumi/snowflake 2.14.0-alpha.1775838340 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accountParameter.d.ts +3 -3
- package/authenticationPolicy.d.ts +12 -0
- package/authenticationPolicy.js +2 -0
- package/authenticationPolicy.js.map +1 -1
- package/catalogIntegrationAwsGlue.d.ts +200 -0
- package/catalogIntegrationAwsGlue.js +120 -0
- package/catalogIntegrationAwsGlue.js.map +1 -0
- package/catalogIntegrationIcebergRest.d.ts +252 -0
- package/catalogIntegrationIcebergRest.js +159 -0
- package/catalogIntegrationIcebergRest.js.map +1 -0
- package/catalogIntegrationObjectStorage.d.ts +160 -0
- package/catalogIntegrationObjectStorage.js +107 -0
- package/catalogIntegrationObjectStorage.js.map +1 -0
- package/catalogIntegrationOpenCatalog.d.ts +204 -0
- package/catalogIntegrationOpenCatalog.js +134 -0
- package/catalogIntegrationOpenCatalog.js.map +1 -0
- package/config/vars.d.ts +6 -6
- package/externalVolume.d.ts +97 -2
- package/externalVolume.js +95 -0
- package/externalVolume.js.map +1 -1
- package/failoverGroup.d.ts +0 -2
- package/failoverGroup.js +0 -2
- package/failoverGroup.js.map +1 -1
- package/getCatalogIntegrations.d.ts +61 -0
- package/getCatalogIntegrations.js +36 -0
- package/getCatalogIntegrations.js.map +1 -0
- package/getExternalVolumes.d.ts +61 -0
- package/getExternalVolumes.js +36 -0
- package/getExternalVolumes.js.map +1 -0
- package/imageRepository.d.ts +14 -0
- package/imageRepository.js +4 -0
- package/imageRepository.js.map +1 -1
- package/index.d.ts +21 -0
- package/index.js +36 -5
- package/index.js.map +1 -1
- package/notificationIntegration.d.ts +35 -6
- package/notificationIntegration.js +35 -6
- package/notificationIntegration.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +15 -9
- package/provider.js.map +1 -1
- package/semanticView.d.ts +3 -0
- package/semanticView.js +3 -0
- package/semanticView.js.map +1 -1
- package/table.d.ts +0 -4
- package/table.js +0 -4
- package/table.js.map +1 -1
- package/tableConstraint.d.ts +0 -3
- package/tableConstraint.js +0 -3
- package/tableConstraint.js.map +1 -1
- package/tag.d.ts +60 -4
- package/tag.js +11 -1
- package/tag.js.map +1 -1
- package/types/input.d.ts +341 -12
- package/types/output.d.ts +453 -13
- package/warehouseAdaptive.d.ts +176 -0
- package/warehouseAdaptive.js +101 -0
- package/warehouseAdaptive.js.map +1 -0
package/accountParameter.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare class AccountParameter extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
static isInstance(obj: any): obj is AccountParameter;
|
|
51
51
|
/**
|
|
52
|
-
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `CORTEX_ENABLED_CROSS_REGION` | `DISABLE_USER_PRIVILEGE_GRANTS` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `ENABLE_UNHANDLED_EXCEPTIONS_REPORTING` | `ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `ACTIVE_PYTHON_PROFILER` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_ENABLE_LOG_INFO_STATEMENT_PARAMETERS` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `CSV_TIMESTAMP_FORMAT` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `HYBRID_TABLE_LOCK_TIMEOUT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `JS_TREAT_INTEGER_AS_BIGINT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `PYTHON_PROFILER_MODULES` | `PYTHON_PROFILER_TARGET_STAGE` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR` | `ENABLE_PERSONAL_DATABASE`. Deprecated parameters are not supported in the provider.
|
|
52
|
+
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `CORTEX_ENABLED_CROSS_REGION` | `CORTEX_MODELS_ALLOWLIST` | `DISABLE_USER_PRIVILEGE_GRANTS` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `ENABLE_UNHANDLED_EXCEPTIONS_REPORTING` | `ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `ACTIVE_PYTHON_PROFILER` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_ENABLE_LOG_INFO_STATEMENT_PARAMETERS` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `CSV_TIMESTAMP_FORMAT` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `HYBRID_TABLE_LOCK_TIMEOUT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `JS_TREAT_INTEGER_AS_BIGINT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `PYTHON_PROFILER_MODULES` | `PYTHON_PROFILER_TARGET_STAGE` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR` | `ENABLE_PERSONAL_DATABASE` | `ALLOW_BIND_VALUES_ACCESS` | `ALLOWED_SPCS_WORKLOAD_TYPES` | `DATA_METRIC_SCHEDULE` | `DEFAULT_DBT_VERSION` | `DISALLOWED_SPCS_WORKLOAD_TYPES` | `ENABLE_BUDGET_EVENT_LOGGING` | `ENABLE_CORTEX_ANALYST` | `ENABLE_DATA_COMPACTION` | `ENABLE_GET_DDL_USE_DATA_TYPE_ALIAS` | `ENABLE_ICEBERG_MERGE_ON_READ` | `ENABLE_NOTEBOOK_CREATION_IN_PERSONAL_DB` | `ENABLE_SPCS_BLOCK_STORAGE_SNOWFLAKE_FULL_ENCRYPTION_ENFORCEMENT` | `ENABLE_TAG_PROPAGATION_EVENT_LOGGING` | `ICEBERG_VERSION_DEFAULT` | `READ_CONSISTENCY_MODE` | `ROW_TIMESTAMP_DEFAULT` | `SQL_TRACE_QUERY_TEXT` | `USE_WORKSPACES_FOR_SQL`. Deprecated parameters are not supported in the provider.
|
|
53
53
|
*/
|
|
54
54
|
readonly key: pulumi.Output<string>;
|
|
55
55
|
/**
|
|
@@ -70,7 +70,7 @@ export declare class AccountParameter extends pulumi.CustomResource {
|
|
|
70
70
|
*/
|
|
71
71
|
export interface AccountParameterState {
|
|
72
72
|
/**
|
|
73
|
-
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `CORTEX_ENABLED_CROSS_REGION` | `DISABLE_USER_PRIVILEGE_GRANTS` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `ENABLE_UNHANDLED_EXCEPTIONS_REPORTING` | `ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `ACTIVE_PYTHON_PROFILER` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_ENABLE_LOG_INFO_STATEMENT_PARAMETERS` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `CSV_TIMESTAMP_FORMAT` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `HYBRID_TABLE_LOCK_TIMEOUT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `JS_TREAT_INTEGER_AS_BIGINT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `PYTHON_PROFILER_MODULES` | `PYTHON_PROFILER_TARGET_STAGE` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR` | `ENABLE_PERSONAL_DATABASE`. Deprecated parameters are not supported in the provider.
|
|
73
|
+
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `CORTEX_ENABLED_CROSS_REGION` | `CORTEX_MODELS_ALLOWLIST` | `DISABLE_USER_PRIVILEGE_GRANTS` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `ENABLE_UNHANDLED_EXCEPTIONS_REPORTING` | `ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `ACTIVE_PYTHON_PROFILER` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_ENABLE_LOG_INFO_STATEMENT_PARAMETERS` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `CSV_TIMESTAMP_FORMAT` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `HYBRID_TABLE_LOCK_TIMEOUT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `JS_TREAT_INTEGER_AS_BIGINT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `PYTHON_PROFILER_MODULES` | `PYTHON_PROFILER_TARGET_STAGE` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR` | `ENABLE_PERSONAL_DATABASE` | `ALLOW_BIND_VALUES_ACCESS` | `ALLOWED_SPCS_WORKLOAD_TYPES` | `DATA_METRIC_SCHEDULE` | `DEFAULT_DBT_VERSION` | `DISALLOWED_SPCS_WORKLOAD_TYPES` | `ENABLE_BUDGET_EVENT_LOGGING` | `ENABLE_CORTEX_ANALYST` | `ENABLE_DATA_COMPACTION` | `ENABLE_GET_DDL_USE_DATA_TYPE_ALIAS` | `ENABLE_ICEBERG_MERGE_ON_READ` | `ENABLE_NOTEBOOK_CREATION_IN_PERSONAL_DB` | `ENABLE_SPCS_BLOCK_STORAGE_SNOWFLAKE_FULL_ENCRYPTION_ENFORCEMENT` | `ENABLE_TAG_PROPAGATION_EVENT_LOGGING` | `ICEBERG_VERSION_DEFAULT` | `READ_CONSISTENCY_MODE` | `ROW_TIMESTAMP_DEFAULT` | `SQL_TRACE_QUERY_TEXT` | `USE_WORKSPACES_FOR_SQL`. Deprecated parameters are not supported in the provider.
|
|
74
74
|
*/
|
|
75
75
|
key?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
@@ -83,7 +83,7 @@ export interface AccountParameterState {
|
|
|
83
83
|
*/
|
|
84
84
|
export interface AccountParameterArgs {
|
|
85
85
|
/**
|
|
86
|
-
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `CORTEX_ENABLED_CROSS_REGION` | `DISABLE_USER_PRIVILEGE_GRANTS` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `ENABLE_UNHANDLED_EXCEPTIONS_REPORTING` | `ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `ACTIVE_PYTHON_PROFILER` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_ENABLE_LOG_INFO_STATEMENT_PARAMETERS` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `CSV_TIMESTAMP_FORMAT` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `HYBRID_TABLE_LOCK_TIMEOUT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `JS_TREAT_INTEGER_AS_BIGINT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `PYTHON_PROFILER_MODULES` | `PYTHON_PROFILER_TARGET_STAGE` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR` | `ENABLE_PERSONAL_DATABASE`. Deprecated parameters are not supported in the provider.
|
|
86
|
+
* Name of account parameter. Valid values are (case-insensitive): `ALLOW_CLIENT_MFA_CACHING` | `ALLOW_ID_TOKEN` | `CLIENT_ENCRYPTION_KEY_SIZE` | `CORTEX_ENABLED_CROSS_REGION` | `CORTEX_MODELS_ALLOWLIST` | `DISABLE_USER_PRIVILEGE_GRANTS` | `ENABLE_IDENTIFIER_FIRST_LOGIN` | `ENABLE_INTERNAL_STAGES_PRIVATELINK` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_IMAGE_REPOSITORY` | `ENABLE_TRI_SECRET_AND_REKEY_OPT_OUT_FOR_SPCS_BLOCK_STORAGE` | `ENABLE_UNHANDLED_EXCEPTIONS_REPORTING` | `ENFORCE_NETWORK_RULES_FOR_INTERNAL_STAGES` | `EVENT_TABLE` | `EXTERNAL_OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `INITIAL_REPLICATION_SIZE_LIMIT_IN_TB` | `MIN_DATA_RETENTION_TIME_IN_DAYS` | `NETWORK_POLICY` | `OAUTH_ADD_PRIVILEGED_ROLES_TO_BLOCKED_LIST` | `PERIODIC_DATA_REKEYING` | `PREVENT_LOAD_FROM_INLINE_URL` | `PREVENT_UNLOAD_TO_INLINE_URL` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION` | `REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION` | `SSO_LOGIN_PAGE` | `ABORT_DETACHED_QUERY` | `ACTIVE_PYTHON_PROFILER` | `AUTOCOMMIT` | `BINARY_INPUT_FORMAT` | `BINARY_OUTPUT_FORMAT` | `CLIENT_ENABLE_LOG_INFO_STATEMENT_PARAMETERS` | `CLIENT_MEMORY_LIMIT` | `CLIENT_METADATA_REQUEST_USE_CONNECTION_CTX` | `CLIENT_METADATA_USE_SESSION_DATABASE` | `CLIENT_PREFETCH_THREADS` | `CLIENT_RESULT_CHUNK_SIZE` | `CLIENT_SESSION_KEEP_ALIVE` | `CLIENT_SESSION_KEEP_ALIVE_HEARTBEAT_FREQUENCY` | `CLIENT_TIMESTAMP_TYPE_MAPPING` | `ENABLE_UNLOAD_PHYSICAL_TYPE_OPTIMIZATION` | `CLIENT_RESULT_COLUMN_CASE_INSENSITIVE` | `CSV_TIMESTAMP_FORMAT` | `DATE_INPUT_FORMAT` | `DATE_OUTPUT_FORMAT` | `ERROR_ON_NONDETERMINISTIC_MERGE` | `ERROR_ON_NONDETERMINISTIC_UPDATE` | `GEOGRAPHY_OUTPUT_FORMAT` | `GEOMETRY_OUTPUT_FORMAT` | `HYBRID_TABLE_LOCK_TIMEOUT` | `JDBC_TREAT_DECIMAL_AS_INT` | `JDBC_TREAT_TIMESTAMP_NTZ_AS_UTC` | `JDBC_USE_SESSION_TIMEZONE` | `JSON_INDENT` | `JS_TREAT_INTEGER_AS_BIGINT` | `LOCK_TIMEOUT` | `MULTI_STATEMENT_COUNT` | `NOORDER_SEQUENCE_AS_DEFAULT` | `ODBC_TREAT_DECIMAL_AS_INT` | `PYTHON_PROFILER_MODULES` | `PYTHON_PROFILER_TARGET_STAGE` | `QUERY_TAG` | `QUOTED_IDENTIFIERS_IGNORE_CASE` | `ROWS_PER_RESULTSET` | `S3_STAGE_VPCE_DNS_NAME` | `SEARCH_PATH` | `SIMULATED_DATA_SHARING_CONSUMER` | `STATEMENT_TIMEOUT_IN_SECONDS` | `STRICT_JSON_OUTPUT` | `TIME_INPUT_FORMAT` | `TIME_OUTPUT_FORMAT` | `TIMESTAMP_DAY_IS_ALWAYS_24H` | `TIMESTAMP_INPUT_FORMAT` | `TIMESTAMP_LTZ_OUTPUT_FORMAT` | `TIMESTAMP_NTZ_OUTPUT_FORMAT` | `TIMESTAMP_OUTPUT_FORMAT` | `TIMESTAMP_TYPE_MAPPING` | `TIMESTAMP_TZ_OUTPUT_FORMAT` | `TIMEZONE` | `TRANSACTION_ABORT_ON_ERROR` | `TRANSACTION_DEFAULT_ISOLATION_LEVEL` | `TWO_DIGIT_CENTURY_START` | `UNSUPPORTED_DDL_ACTION` | `USE_CACHED_RESULT` | `WEEK_OF_YEAR_POLICY` | `WEEK_START` | `CATALOG` | `DATA_RETENTION_TIME_IN_DAYS` | `DEFAULT_DDL_COLLATION` | `EXTERNAL_VOLUME` | `LOG_LEVEL` | `MAX_CONCURRENCY_LEVEL` | `MAX_DATA_EXTENSION_TIME_IN_DAYS` | `PIPE_EXECUTION_PAUSED` | `PREVENT_UNLOAD_TO_INTERNAL_STAGES` | `REPLACE_INVALID_CHARACTERS` | `STATEMENT_QUEUED_TIMEOUT_IN_SECONDS` | `STORAGE_SERIALIZATION_POLICY` | `SHARE_RESTRICTIONS` | `SUSPEND_TASK_AFTER_NUM_FAILURES` | `TRACE_LEVEL` | `USER_TASK_MANAGED_INITIAL_WAREHOUSE_SIZE` | `USER_TASK_TIMEOUT_MS` | `TASK_AUTO_RETRY_ATTEMPTS` | `USER_TASK_MINIMUM_TRIGGER_INTERVAL_IN_SECONDS` | `METRIC_LEVEL` | `ENABLE_CONSOLE_OUTPUT` | `ENABLE_UNREDACTED_QUERY_SYNTAX_ERROR` | `ENABLE_PERSONAL_DATABASE` | `ALLOW_BIND_VALUES_ACCESS` | `ALLOWED_SPCS_WORKLOAD_TYPES` | `DATA_METRIC_SCHEDULE` | `DEFAULT_DBT_VERSION` | `DISALLOWED_SPCS_WORKLOAD_TYPES` | `ENABLE_BUDGET_EVENT_LOGGING` | `ENABLE_CORTEX_ANALYST` | `ENABLE_DATA_COMPACTION` | `ENABLE_GET_DDL_USE_DATA_TYPE_ALIAS` | `ENABLE_ICEBERG_MERGE_ON_READ` | `ENABLE_NOTEBOOK_CREATION_IN_PERSONAL_DB` | `ENABLE_SPCS_BLOCK_STORAGE_SNOWFLAKE_FULL_ENCRYPTION_ENFORCEMENT` | `ENABLE_TAG_PROPAGATION_EVENT_LOGGING` | `ICEBERG_VERSION_DEFAULT` | `READ_CONSISTENCY_MODE` | `ROW_TIMESTAMP_DEFAULT` | `SQL_TRACE_QUERY_TEXT` | `USE_WORKSPACES_FOR_SQL`. Deprecated parameters are not supported in the provider.
|
|
87
87
|
*/
|
|
88
88
|
key: pulumi.Input<string>;
|
|
89
89
|
/**
|
|
@@ -86,6 +86,10 @@ export declare class AuthenticationPolicy extends pulumi.CustomResource {
|
|
|
86
86
|
* A list of authentication methods that are allowed during login. Valid values are (case-insensitive): `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR` | `PROGRAMMATIC_ACCESS_TOKEN` | `WORKLOAD_IDENTITY`.
|
|
87
87
|
*/
|
|
88
88
|
readonly authenticationMethods: pulumi.Output<string[] | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Allows to set policies per-client type. Only valid when `clientTypes` is empty, contains ALL, or contains DRIVERS.
|
|
91
|
+
*/
|
|
92
|
+
readonly clientPolicies: pulumi.Output<outputs.AuthenticationPolicyClientPolicy[] | undefined>;
|
|
89
93
|
/**
|
|
90
94
|
* A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid `clientTypes`, then the login attempt fails. Valid values are (case-insensitive): `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL` | `SNOWFLAKE_CLI`. The `clientTypes` property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
91
95
|
*/
|
|
@@ -161,6 +165,10 @@ export interface AuthenticationPolicyState {
|
|
|
161
165
|
* A list of authentication methods that are allowed during login. Valid values are (case-insensitive): `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR` | `PROGRAMMATIC_ACCESS_TOKEN` | `WORKLOAD_IDENTITY`.
|
|
162
166
|
*/
|
|
163
167
|
authenticationMethods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
168
|
+
/**
|
|
169
|
+
* Allows to set policies per-client type. Only valid when `clientTypes` is empty, contains ALL, or contains DRIVERS.
|
|
170
|
+
*/
|
|
171
|
+
clientPolicies?: pulumi.Input<pulumi.Input<inputs.AuthenticationPolicyClientPolicy>[]>;
|
|
164
172
|
/**
|
|
165
173
|
* A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid `clientTypes`, then the login attempt fails. Valid values are (case-insensitive): `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL` | `SNOWFLAKE_CLI`. The `clientTypes` property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
166
174
|
*/
|
|
@@ -228,6 +236,10 @@ export interface AuthenticationPolicyArgs {
|
|
|
228
236
|
* A list of authentication methods that are allowed during login. Valid values are (case-insensitive): `ALL` | `SAML` | `PASSWORD` | `OAUTH` | `KEYPAIR` | `PROGRAMMATIC_ACCESS_TOKEN` | `WORKLOAD_IDENTITY`.
|
|
229
237
|
*/
|
|
230
238
|
authenticationMethods?: pulumi.Input<pulumi.Input<string>[]>;
|
|
239
|
+
/**
|
|
240
|
+
* Allows to set policies per-client type. Only valid when `clientTypes` is empty, contains ALL, or contains DRIVERS.
|
|
241
|
+
*/
|
|
242
|
+
clientPolicies?: pulumi.Input<pulumi.Input<inputs.AuthenticationPolicyClientPolicy>[]>;
|
|
231
243
|
/**
|
|
232
244
|
* A list of clients that can authenticate with Snowflake. If a client tries to connect, and the client is not one of the valid `clientTypes`, then the login attempt fails. Valid values are (case-insensitive): `ALL` | `SNOWFLAKE_UI` | `DRIVERS` | `SNOWSQL` | `SNOWFLAKE_CLI`. The `clientTypes` property of an authentication policy is a best effort method to block user logins based on specific clients. It should not be used as the sole control to establish a security boundary.
|
|
233
245
|
*/
|
package/authenticationPolicy.js
CHANGED
|
@@ -99,6 +99,7 @@ class AuthenticationPolicy extends pulumi.CustomResource {
|
|
|
99
99
|
if (opts.id) {
|
|
100
100
|
const state = argsOrState;
|
|
101
101
|
resourceInputs["authenticationMethods"] = state?.authenticationMethods;
|
|
102
|
+
resourceInputs["clientPolicies"] = state?.clientPolicies;
|
|
102
103
|
resourceInputs["clientTypes"] = state?.clientTypes;
|
|
103
104
|
resourceInputs["comment"] = state?.comment;
|
|
104
105
|
resourceInputs["database"] = state?.database;
|
|
@@ -123,6 +124,7 @@ class AuthenticationPolicy extends pulumi.CustomResource {
|
|
|
123
124
|
throw new Error("Missing required property 'schema'");
|
|
124
125
|
}
|
|
125
126
|
resourceInputs["authenticationMethods"] = args?.authenticationMethods;
|
|
127
|
+
resourceInputs["clientPolicies"] = args?.clientPolicies;
|
|
126
128
|
resourceInputs["clientTypes"] = args?.clientTypes;
|
|
127
129
|
resourceInputs["comment"] = args?.comment;
|
|
128
130
|
resourceInputs["database"] = args?.database;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authenticationPolicy.js","sourceRoot":"","sources":["../authenticationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK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AI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAvJL,oDAwJC;AA1IG,gBAAgB;AACO,iCAAY,GAAG,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
6
|
+
*
|
|
7
|
+
* Resource used to manage AWS Glue catalog integration objects. For more information, check [catalog integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-catalog-integration-glue).
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
12
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
17
|
+
*
|
|
18
|
+
* // basic resource
|
|
19
|
+
* const basic = new snowflake.CatalogIntegrationAwsGlue("basic", {
|
|
20
|
+
* name: "example",
|
|
21
|
+
* enabled: false,
|
|
22
|
+
* glueAwsRoleArn: "arn:aws:iam::123456789012:role/testRole",
|
|
23
|
+
* glueCatalogId: "123456789012",
|
|
24
|
+
* });
|
|
25
|
+
* // complete resource
|
|
26
|
+
* const complete = new snowflake.CatalogIntegrationAwsGlue("complete", {
|
|
27
|
+
* name: "example_complete",
|
|
28
|
+
* enabled: true,
|
|
29
|
+
* refreshIntervalSeconds: 60,
|
|
30
|
+
* comment: "Lorem ipsum",
|
|
31
|
+
* glueAwsRoleArn: "arn:aws:iam::123456789012:role/testRole",
|
|
32
|
+
* glueCatalogId: "123456789012",
|
|
33
|
+
* glueRegion: "us-east-1",
|
|
34
|
+
* catalogNamespace: "myNamespace",
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
39
|
+
*
|
|
40
|
+
* ## Import
|
|
41
|
+
*
|
|
42
|
+
* ```sh
|
|
43
|
+
* $ pulumi import snowflake:index/catalogIntegrationAwsGlue:CatalogIntegrationAwsGlue example '"<name>"'
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export declare class CatalogIntegrationAwsGlue extends pulumi.CustomResource {
|
|
47
|
+
/**
|
|
48
|
+
* Get an existing CatalogIntegrationAwsGlue resource's state with the given name, ID, and optional extra
|
|
49
|
+
* properties used to qualify the lookup.
|
|
50
|
+
*
|
|
51
|
+
* @param name The _unique_ name of the resulting resource.
|
|
52
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
53
|
+
* @param state Any extra arguments used during the lookup.
|
|
54
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
55
|
+
*/
|
|
56
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CatalogIntegrationAwsGlueState, opts?: pulumi.CustomResourceOptions): CatalogIntegrationAwsGlue;
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of CatalogIntegrationAwsGlue. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj: any): obj is CatalogIntegrationAwsGlue;
|
|
62
|
+
/**
|
|
63
|
+
* Specifies the default AWS Glue Data Catalog namespace for all Iceberg tables that you associate with the catalog integration.
|
|
64
|
+
*/
|
|
65
|
+
readonly catalogNamespace: pulumi.Output<string | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* (Default: ``) Specifies a comment for the catalog integration.
|
|
68
|
+
*/
|
|
69
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Outputs the result of `DESCRIBE CATALOG INTEGRATION` for the given catalog integration.
|
|
72
|
+
*/
|
|
73
|
+
readonly describeOutputs: pulumi.Output<outputs.CatalogIntegrationAwsGlueDescribeOutput[]>;
|
|
74
|
+
/**
|
|
75
|
+
* Specifies whether the catalog integration is available for use for Iceberg tables. `true` allows users to create new Iceberg tables that reference this integration. Existing Iceberg tables that reference this integration function normally. `false` prevents users from creating new Iceberg tables that reference this integration. Existing Iceberg tables that reference this integration cannot access the catalog in the table definition.
|
|
76
|
+
*/
|
|
77
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
78
|
+
/**
|
|
79
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
80
|
+
*/
|
|
81
|
+
readonly fullyQualifiedName: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to assume.
|
|
84
|
+
*/
|
|
85
|
+
readonly glueAwsRoleArn: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies the ID of your AWS account.
|
|
88
|
+
*/
|
|
89
|
+
readonly glueCatalogId: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Specifies the AWS region of your AWS Glue Data Catalog. You must specify a value for this attribute if your Snowflake account is not hosted on AWS. Otherwise, the default region is the Snowflake deployment region for the account.
|
|
92
|
+
*/
|
|
93
|
+
readonly glueRegion: pulumi.Output<string | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Specifies the identifier (i.e. name) of the catalog integration; must be unique in your account.
|
|
96
|
+
*/
|
|
97
|
+
readonly name: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the number of seconds to wait between attempts to poll the external Iceberg catalog for metadata updates for automated refresh. For Delta-based tables, specifies the number of seconds to wait between attempts to poll your external cloud storage for new metadata.
|
|
100
|
+
*/
|
|
101
|
+
readonly refreshIntervalSeconds: pulumi.Output<number | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Outputs the result of `SHOW CATALOG INTEGRATIONS` for the given catalog integration.
|
|
104
|
+
*/
|
|
105
|
+
readonly showOutputs: pulumi.Output<outputs.CatalogIntegrationAwsGlueShowOutput[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a CatalogIntegrationAwsGlue resource with the given unique name, arguments, and options.
|
|
108
|
+
*
|
|
109
|
+
* @param name The _unique_ name of the resource.
|
|
110
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
111
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
112
|
+
*/
|
|
113
|
+
constructor(name: string, args: CatalogIntegrationAwsGlueArgs, opts?: pulumi.CustomResourceOptions);
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Input properties used for looking up and filtering CatalogIntegrationAwsGlue resources.
|
|
117
|
+
*/
|
|
118
|
+
export interface CatalogIntegrationAwsGlueState {
|
|
119
|
+
/**
|
|
120
|
+
* Specifies the default AWS Glue Data Catalog namespace for all Iceberg tables that you associate with the catalog integration.
|
|
121
|
+
*/
|
|
122
|
+
catalogNamespace?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* (Default: ``) Specifies a comment for the catalog integration.
|
|
125
|
+
*/
|
|
126
|
+
comment?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Outputs the result of `DESCRIBE CATALOG INTEGRATION` for the given catalog integration.
|
|
129
|
+
*/
|
|
130
|
+
describeOutputs?: pulumi.Input<pulumi.Input<inputs.CatalogIntegrationAwsGlueDescribeOutput>[]>;
|
|
131
|
+
/**
|
|
132
|
+
* Specifies whether the catalog integration is available for use for Iceberg tables. `true` allows users to create new Iceberg tables that reference this integration. Existing Iceberg tables that reference this integration function normally. `false` prevents users from creating new Iceberg tables that reference this integration. Existing Iceberg tables that reference this integration cannot access the catalog in the table definition.
|
|
133
|
+
*/
|
|
134
|
+
enabled?: pulumi.Input<boolean>;
|
|
135
|
+
/**
|
|
136
|
+
* Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
|
|
137
|
+
*/
|
|
138
|
+
fullyQualifiedName?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to assume.
|
|
141
|
+
*/
|
|
142
|
+
glueAwsRoleArn?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Specifies the ID of your AWS account.
|
|
145
|
+
*/
|
|
146
|
+
glueCatalogId?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Specifies the AWS region of your AWS Glue Data Catalog. You must specify a value for this attribute if your Snowflake account is not hosted on AWS. Otherwise, the default region is the Snowflake deployment region for the account.
|
|
149
|
+
*/
|
|
150
|
+
glueRegion?: pulumi.Input<string>;
|
|
151
|
+
/**
|
|
152
|
+
* Specifies the identifier (i.e. name) of the catalog integration; must be unique in your account.
|
|
153
|
+
*/
|
|
154
|
+
name?: pulumi.Input<string>;
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the number of seconds to wait between attempts to poll the external Iceberg catalog for metadata updates for automated refresh. For Delta-based tables, specifies the number of seconds to wait between attempts to poll your external cloud storage for new metadata.
|
|
157
|
+
*/
|
|
158
|
+
refreshIntervalSeconds?: pulumi.Input<number>;
|
|
159
|
+
/**
|
|
160
|
+
* Outputs the result of `SHOW CATALOG INTEGRATIONS` for the given catalog integration.
|
|
161
|
+
*/
|
|
162
|
+
showOutputs?: pulumi.Input<pulumi.Input<inputs.CatalogIntegrationAwsGlueShowOutput>[]>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* The set of arguments for constructing a CatalogIntegrationAwsGlue resource.
|
|
166
|
+
*/
|
|
167
|
+
export interface CatalogIntegrationAwsGlueArgs {
|
|
168
|
+
/**
|
|
169
|
+
* Specifies the default AWS Glue Data Catalog namespace for all Iceberg tables that you associate with the catalog integration.
|
|
170
|
+
*/
|
|
171
|
+
catalogNamespace?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* (Default: ``) Specifies a comment for the catalog integration.
|
|
174
|
+
*/
|
|
175
|
+
comment?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Specifies whether the catalog integration is available for use for Iceberg tables. `true` allows users to create new Iceberg tables that reference this integration. Existing Iceberg tables that reference this integration function normally. `false` prevents users from creating new Iceberg tables that reference this integration. Existing Iceberg tables that reference this integration cannot access the catalog in the table definition.
|
|
178
|
+
*/
|
|
179
|
+
enabled: pulumi.Input<boolean>;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to assume.
|
|
182
|
+
*/
|
|
183
|
+
glueAwsRoleArn: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* Specifies the ID of your AWS account.
|
|
186
|
+
*/
|
|
187
|
+
glueCatalogId: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Specifies the AWS region of your AWS Glue Data Catalog. You must specify a value for this attribute if your Snowflake account is not hosted on AWS. Otherwise, the default region is the Snowflake deployment region for the account.
|
|
190
|
+
*/
|
|
191
|
+
glueRegion?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Specifies the identifier (i.e. name) of the catalog integration; must be unique in your account.
|
|
194
|
+
*/
|
|
195
|
+
name?: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Specifies the number of seconds to wait between attempts to poll the external Iceberg catalog for metadata updates for automated refresh. For Delta-based tables, specifies the number of seconds to wait between attempts to poll your external cloud storage for new metadata.
|
|
198
|
+
*/
|
|
199
|
+
refreshIntervalSeconds?: pulumi.Input<number>;
|
|
200
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CatalogIntegrationAwsGlue = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* !> **Caution: Preview Feature** This feature is considered a preview feature in the provider, regardless of the state of the resource in Snowflake. We do not guarantee its stability. It will be reworked and marked as a stable feature in future releases. Breaking changes are expected, even without bumping the major version. To use this feature, add the relevant feature name to `previewFeaturesEnabled` field in the provider configuration. Please always refer to the Getting Help section in our Github repo to best determine how to get help for your questions.
|
|
10
|
+
*
|
|
11
|
+
* Resource used to manage AWS Glue catalog integration objects. For more information, check [catalog integration documentation](https://docs.snowflake.com/en/sql-reference/sql/create-catalog-integration-glue).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* > **Note** Instead of using fully_qualified_name, you can reference objects managed outside Terraform by constructing a correct ID, consult identifiers guide.
|
|
16
|
+
* <!-- TODO(SNOW-1634854): include an example showing both methods-->
|
|
17
|
+
*
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as snowflake from "@pulumi/snowflake";
|
|
21
|
+
*
|
|
22
|
+
* // basic resource
|
|
23
|
+
* const basic = new snowflake.CatalogIntegrationAwsGlue("basic", {
|
|
24
|
+
* name: "example",
|
|
25
|
+
* enabled: false,
|
|
26
|
+
* glueAwsRoleArn: "arn:aws:iam::123456789012:role/testRole",
|
|
27
|
+
* glueCatalogId: "123456789012",
|
|
28
|
+
* });
|
|
29
|
+
* // complete resource
|
|
30
|
+
* const complete = new snowflake.CatalogIntegrationAwsGlue("complete", {
|
|
31
|
+
* name: "example_complete",
|
|
32
|
+
* enabled: true,
|
|
33
|
+
* refreshIntervalSeconds: 60,
|
|
34
|
+
* comment: "Lorem ipsum",
|
|
35
|
+
* glueAwsRoleArn: "arn:aws:iam::123456789012:role/testRole",
|
|
36
|
+
* glueCatalogId: "123456789012",
|
|
37
|
+
* glueRegion: "us-east-1",
|
|
38
|
+
* catalogNamespace: "myNamespace",
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* > **Note** If a field has a default value, it is shown next to the type in the schema.
|
|
43
|
+
*
|
|
44
|
+
* ## Import
|
|
45
|
+
*
|
|
46
|
+
* ```sh
|
|
47
|
+
* $ pulumi import snowflake:index/catalogIntegrationAwsGlue:CatalogIntegrationAwsGlue example '"<name>"'
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
class CatalogIntegrationAwsGlue extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing CatalogIntegrationAwsGlue resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, state, opts) {
|
|
61
|
+
return new CatalogIntegrationAwsGlue(name, state, { ...opts, id: id });
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of CatalogIntegrationAwsGlue. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === CatalogIntegrationAwsGlue.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
constructor(name, argsOrState, opts) {
|
|
74
|
+
let resourceInputs = {};
|
|
75
|
+
opts = opts || {};
|
|
76
|
+
if (opts.id) {
|
|
77
|
+
const state = argsOrState;
|
|
78
|
+
resourceInputs["catalogNamespace"] = state?.catalogNamespace;
|
|
79
|
+
resourceInputs["comment"] = state?.comment;
|
|
80
|
+
resourceInputs["describeOutputs"] = state?.describeOutputs;
|
|
81
|
+
resourceInputs["enabled"] = state?.enabled;
|
|
82
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
83
|
+
resourceInputs["glueAwsRoleArn"] = state?.glueAwsRoleArn;
|
|
84
|
+
resourceInputs["glueCatalogId"] = state?.glueCatalogId;
|
|
85
|
+
resourceInputs["glueRegion"] = state?.glueRegion;
|
|
86
|
+
resourceInputs["name"] = state?.name;
|
|
87
|
+
resourceInputs["refreshIntervalSeconds"] = state?.refreshIntervalSeconds;
|
|
88
|
+
resourceInputs["showOutputs"] = state?.showOutputs;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const args = argsOrState;
|
|
92
|
+
if (args?.enabled === undefined && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'enabled'");
|
|
94
|
+
}
|
|
95
|
+
if (args?.glueAwsRoleArn === undefined && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'glueAwsRoleArn'");
|
|
97
|
+
}
|
|
98
|
+
if (args?.glueCatalogId === undefined && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'glueCatalogId'");
|
|
100
|
+
}
|
|
101
|
+
resourceInputs["catalogNamespace"] = args?.catalogNamespace;
|
|
102
|
+
resourceInputs["comment"] = args?.comment;
|
|
103
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
104
|
+
resourceInputs["glueAwsRoleArn"] = args?.glueAwsRoleArn;
|
|
105
|
+
resourceInputs["glueCatalogId"] = args?.glueCatalogId;
|
|
106
|
+
resourceInputs["glueRegion"] = args?.glueRegion;
|
|
107
|
+
resourceInputs["name"] = args?.name;
|
|
108
|
+
resourceInputs["refreshIntervalSeconds"] = args?.refreshIntervalSeconds;
|
|
109
|
+
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["showOutputs"] = undefined /*out*/;
|
|
112
|
+
}
|
|
113
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
114
|
+
super(CatalogIntegrationAwsGlue.__pulumiType, name, resourceInputs, opts);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
exports.CatalogIntegrationAwsGlue = CatalogIntegrationAwsGlue;
|
|
118
|
+
/** @internal */
|
|
119
|
+
CatalogIntegrationAwsGlue.__pulumiType = 'snowflake:index/catalogIntegrationAwsGlue:CatalogIntegrationAwsGlue';
|
|
120
|
+
//# sourceMappingURL=catalogIntegrationAwsGlue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogIntegrationAwsGlue.js","sourceRoot":"","sources":["../catalogIntegrationAwsGlue.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO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