You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Glue::Types::Connection

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb

Overview

Defines a connection to a data source.

Instance Attribute Summary collapse

Instance Attribute Details

#connection_propertiesHash<String,String>

These key-value pairs define parameters for the connection:

  • HOST - The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host.

  • PORT - The port number, between 1024 and 65535, of the port on which the database host is listening for database connections.

  • USER_NAME - The name under which to log in to the database. The value string for USER_NAME is "USERNAME".

  • PASSWORD - A password, if one is used, for the user name.

  • ENCRYPTED_PASSWORD - When you enable connection password protection by setting ConnectionPasswordEncryption in the Data Catalog encryption settings, this field stores the encrypted password.

  • JDBC_DRIVER_JAR_URI - The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use.

  • JDBC_DRIVER_CLASS_NAME - The class name of the JDBC driver to use.

  • JDBC_ENGINE - The name of the JDBC engine to use.

  • JDBC_ENGINE_VERSION - The version of the JDBC engine to use.

  • CONFIG_FILES - (Reserved for future use.)

  • INSTANCE_ID - The instance ID to use.

  • JDBC_CONNECTION_URL - The URL for the JDBC connection.

  • JDBC_ENFORCE_SSL - A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false.

Returns:

  • (Hash<String,String>)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#connection_typeString

The type of the connection. Currently, only JDBC is supported; SFTP is not supported.

Returns:

  • (String)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#creation_timeTime

The time that this connection definition was created.

Returns:

  • (Time)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#descriptionString

The description of the connection.

Returns:

  • (String)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#last_updated_byString

The user, group, or role that last updated this connection definition.

Returns:

  • (String)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#last_updated_timeTime

The last time that this connection definition was updated.

Returns:

  • (Time)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#match_criteriaArray<String>

A list of criteria that can be used in selecting this connection.

Returns:

  • (Array<String>)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#nameString

The name of the connection definition.

Returns:

  • (String)


1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end

#physical_connection_requirementsTypes::PhysicalConnectionRequirements

A map of physical connection requirements, such as virtual private cloud (VPC) and SecurityGroup, that are needed to make this connection successfully.



1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 1274

class Connection < Struct.new(
  :name,
  :description,
  :connection_type,
  :match_criteria,
  :connection_properties,
  :physical_connection_requirements,
  :creation_time,
  :last_updated_time,
  :last_updated_by)
  include Aws::Structure
end