Skip to main content

connection_types

Creates, updates, deletes, gets or lists a connection_types resource.

Overview

Nameconnection_types
TypeResource
Idaws.glue.connection_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
athena_connection_propertiesobjectConnection properties specific to the Athena compute environment.
authentication_configurationobjectThe type of authentication used for the connection.
capabilitiesobjectThe supported authentication types, data interface types (compute environments), and data operations of the connector.
compute_environment_configurationsobjectThe compute environments that are supported by the connection.
connection_optionsobjectReturns properties that can be set when creating a connection in the ConnectionInput.ConnectionProperties. ConnectionOptions defines parameters that can be set in a Spark ETL script in the connection options map passed to a dataframe.
connection_propertiesobjectConnection properties which are common across compute environments.
connection_typestringThe name of the connection type. (pattern: <code>[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*</code>)
descriptionstringA description of the connection type.
physical_connection_requirementsobjectPhysical requirements for a connection, such as VPC, Subnet and Security Group specifications.
python_connection_propertiesobjectConnection properties specific to the Python compute environment.
rest_configurationobjectHTTP request and response configuration, validation endpoint, and entity configurations for REST based data source.
spark_connection_propertiesobjectConnection properties specific to the Spark compute environment.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_connection_typeselectregionThe DescribeConnectionType API provides full details of the supported options for a given connection type in Glue. The response includes authentication configuration details that show supported authentication types and properties, and RestConfiguration for custom REST-based connection types registered via RegisterConnectionType. See also: ListConnectionTypes, RegisterConnectionType, DeleteConnectionType
list_connection_typesselectregionThe ListConnectionTypes API provides a discovery mechanism to learn available connection types in Glue. The response contains a list of connection types with high-level details of what is supported for each connection type, including both built-in connection types and custom connection types registered via RegisterConnectionType. The connection types listed are the set of supported options for the ConnectionType value in the CreateConnection API. See also: DescribeConnectionType, RegisterConnectionType, DeleteConnectionType
register_connection_typeinsertregion, ConnectionType, IntegrationType, ConnectionProperties, ConnectorAuthenticationConfiguration, RestConfigurationRegisters a custom connection type in Glue based on the configuration provided. This operation enables customers to configure custom connectors for any data source with REST-based APIs, eliminating the need for building custom Lambda connectors. The registered connection type stores details about how requests and responses are interpreted by REST sources, including connection properties, authentication configuration, and REST configuration with entity definitions. Once registered, customers can create connections using this connection type and work with them the same way as natively supported Glue connectors. Supports multiple authentication types including Basic, OAuth2 (Client Credentials, JWT Bearer, Authorization Code), and Custom Auth configurations.
delete_connection_typedeleteregionDeletes a custom connection type in Glue. The connection type must exist and be registered before it can be deleted. This operation supports cleanup of connection type resources and helps maintain proper lifecycle management of custom connection types.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

The DescribeConnectionType API provides full details of the supported options for a given connection type in Glue. The response includes authentication configuration details that show supported authentication types and properties, and RestConfiguration for custom REST-based connection types registered via RegisterConnectionType. See also: ListConnectionTypes, RegisterConnectionType, DeleteConnectionType

SELECT
athena_connection_properties,
authentication_configuration,
capabilities,
compute_environment_configurations,
connection_options,
connection_properties,
connection_type,
description,
physical_connection_requirements,
python_connection_properties,
rest_configuration,
spark_connection_properties
FROM aws.glue.connection_types
WHERE region = '{{ region }}' -- required
;

INSERT examples

Registers a custom connection type in Glue based on the configuration provided. This operation enables customers to configure custom connectors for any data source with REST-based APIs, eliminating the need for building custom Lambda connectors. The registered connection type stores details about how requests and responses are interpreted by REST sources, including connection properties, authentication configuration, and REST configuration with entity definitions. Once registered, customers can create connections using this connection type and work with them the same way as natively supported Glue connectors. Supports multiple authentication types including Basic, OAuth2 (Client Credentials, JWT Bearer, Authorization Code), and Custom Auth configurations.

INSERT INTO aws.glue.connection_types (
ConnectionType,
IntegrationType,
Description,
ConnectionProperties,
ConnectorAuthenticationConfiguration,
RestConfiguration,
Tags,
region
)
SELECT
'{{ ConnectionType }}' /* required */,
'{{ IntegrationType }}' /* required */,
'{{ Description }}',
'{{ ConnectionProperties }}' /* required */,
'{{ ConnectorAuthenticationConfiguration }}' /* required */,
'{{ RestConfiguration }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
connection_type_arn
;

DELETE examples

Deletes a custom connection type in Glue. The connection type must exist and be registered before it can be deleted. This operation supports cleanup of connection type resources and helps maintain proper lifecycle management of custom connection types.

DELETE FROM aws.glue.connection_types
WHERE region = '{{ region }}' --required
;