You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Establishes a :class:`Connection` to an Amazon Redshift cluster. This function validates user input, optionally authenticates using an identity provider plugin, then constructs a :class:`Connection` object.
@@ -275,6 +278,12 @@ def connect(
275
278
Scope for BrowserAzureOauth2CredentialsProvider authentication.
276
279
numeric_to_float: Optional[str]
277
280
Specifies if NUMERIC datatype values will be converted from ``decimal.Decimal`` to ``float``. By default NUMERIC values are received as ``decimal.Decimal``.
281
+
is_serverless: Optional[bool]
282
+
Redshift end-point is serverless or provisional. Default value false.
283
+
serverless_acct_id: Optional[str]
284
+
The account ID of the serverless. Default value None
285
+
serverless_work_group: Optional[str]
286
+
The name of work group for serverless end point. Default value None.
278
287
Returns
279
288
-------
280
289
A Connection object associated with the specified Amazon Redshift cluster: :class:`Connection`
Copy file name to clipboardExpand all lines: tutorials/001 - Connecting to Amazon Redshift.ipynb
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -495,7 +495,7 @@
495
495
"source": [
496
496
"# Connecting to a Redshift Serverless Endpoint\n",
497
497
"\n",
498
-
"Authentication methods discussed below are supported for Redshift serverless endpoints.\n",
498
+
"Authentication methods discussed below are supported for Redshift serverless endpoints. If connecting using a network load balancer (NLB) or Redshift-managed VPC endpoint please set ``is_serverless=True`` and specify workgroup and serverless account id information using ``serverless_acct_id`` and ``serverless_work_group``, respectively.\n",
499
499
"\n",
500
500
"### Using Database credentials (Native authentication)\n",
0 commit comments