Adding an Amazon Glue connection
You can connect to data sources in Amazon Glue for Spark programmatically. For more information, see Connection types and options for ETL in Amazon Glue for Spark
You can also use the Amazon Glue console to add, edit, delete, and test connections. For information about Amazon Glue connections, see Connecting to data.