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