Class: Aws::Glue::Types::TestConnectionInput

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

Overview

A structure that is used to specify testing a connection to a service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_configurationTypes::AuthenticationConfigurationInput

A structure containing the authentication configuration in the TestConnection request. Required for a connection to Salesforce using OAuth authentication.



23067
23068
23069
23070
23071
23072
23073
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23067

class TestConnectionInput < Struct.new(
  :connection_type,
  :connection_properties,
  :authentication_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#connection_propertiesHash<String,String>

The key-value pairs that define parameters for the connection.

JDBC connections use the following connection properties:

  • Required: All of (HOST, PORT, JDBC_ENGINE) or JDBC_CONNECTION_URL.

  • Required: All of (USERNAME, PASSWORD) or SECRET_ID.

  • Optional: JDBC_ENFORCE_SSL, CUSTOM_JDBC_CERT, CUSTOM_JDBC_CERT_STRING, SKIP_CUSTOM_JDBC_CERT_VALIDATION. These parameters are used to configure SSL with JDBC.

SALESFORCE connections require the AuthenticationConfiguration member to be configured.

Returns:

  • (Hash<String,String>)


23067
23068
23069
23070
23071
23072
23073
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23067

class TestConnectionInput < Struct.new(
  :connection_type,
  :connection_properties,
  :authentication_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#connection_typeString

The type of connection to test. This operation is only available for the JDBC or SALESFORCE connection types.

Returns:

  • (String)


23067
23068
23069
23070
23071
23072
23073
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 23067

class TestConnectionInput < Struct.new(
  :connection_type,
  :connection_properties,
  :authentication_configuration)
  SENSITIVE = []
  include Aws::Structure
end