aws glue get-connection
Retrieves a connection definition from the Data Catalog. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--apply-override-for-compute-environmentFor connections that may be used in multiple services, specifies returning properties for the specified compute environment.--catalog-idThe ID of the Data Catalog in which the connection resides.--hide-passwordAllows you to retrieve the connection metadata without returning the password.--nameThe name of the connection definition to retrieve.