Create user-defined Amazon Glue connections - Amazon SageMaker AI
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Create user-defined Amazon Glue connections

Note

All Amazon Glue connections created by users via the SQL extension UI are automatically tagged with the following:

  • UserProfile: user-profile-name

  • AppType: "JL"

Those tags applied to the Amazon Glue connections created via the SQL extension UI serve two purposes. The "UserProfile": user-profile-name tag allows the identification of the specific user profile that created the Amazon Glue connection, providing visibility into the user responsible for the connection. The "AppType": "JL" tag categorizes the provenance of the connection, associating it with the JupyterLab application. This allows these connections to be differentiated from those that may have been created through other means, such as the Amazon CLI.

Prerequisites

Before creating a Amazon Glue connection using the SQL extension UI, ensure that you have completed the following tasks:

User workflow

The following steps provide the user workflow when creating user connections:

  1. Select the data source type: Upon choosing the Add new connection icon, a form opens, prompting the user to select the type of data source they want to connect to, such as Amazon Redshift, Athena, or Snowflake.

  2. Provide connection properties: Based on the selected data source, the relevant connection properties are dynamically loaded. The form indicates which fields are mandatory or optional for the chosen data source. To learn about the available properties for your data source, see Connection parameters.

  3. Select your Amazon Secrets Manager ARN: For Amazon Redshift and Snowflake data sources, the user is prompted to select the Amazon Secrets Manager ARN that stores sensitive information such as the username and password. To learn about the creation of a secret for your data source, see Create secrets for database access credentials in Secrets Manager.

  4. Save your connection details: Upon clicking Create, the provided connection properties are saved as a Amazon Glue connection.

  5. Test your connection: If the connection is successful, the associated databases and tables become visible in the explorer. If the connection fails, an error message is displayed, prompting the user to review and correct the connection details.

  6. Familiarize with SQL extension features: To learn about the capabilities of the extension, see the SQL extension features and usage.

  7. (Optional) Update or delete user-created connections: Provided that the user has been granted the necessary permissions, they can update or delete the connections they have created. To learn more about the required permissions, see User-defined connections required IAM permissions.