/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines a connection to a data source.See Also:
AWS API
* Reference
The name of the connection definition.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the connection definition.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the connection definition.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the connection definition.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the connection definition.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the connection definition.
*/ inline Connection& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the connection definition.
*/ inline Connection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the connection definition.
*/ inline Connection& WithName(const char* value) { SetName(value); return *this;} /** *The description of the connection.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the connection.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the connection.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the connection.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the connection.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the connection.
*/ inline Connection& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the connection.
*/ inline Connection& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the connection.
*/ inline Connection& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The type of the connection. Currently, SFTP is not supported.
*/ inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } /** *The type of the connection. Currently, SFTP is not supported.
*/ inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } /** *The type of the connection. Currently, SFTP is not supported.
*/ inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } /** *The type of the connection. Currently, SFTP is not supported.
*/ inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } /** *The type of the connection. Currently, SFTP is not supported.
*/ inline Connection& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} /** *The type of the connection. Currently, SFTP is not supported.
*/ inline Connection& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} /** *A list of criteria that can be used in selecting this connection.
*/ inline const Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline bool MatchCriteriaHasBeenSet() const { return m_matchCriteriaHasBeenSet; } /** *A list of criteria that can be used in selecting this connection.
*/ inline void SetMatchCriteria(const Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline void SetMatchCriteria(Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline Connection& WithMatchCriteria(const Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline Connection& WithMatchCriteria(Aws::VectorA list of criteria that can be used in selecting this connection.
*/ inline Connection& AddMatchCriteria(const Aws::String& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } /** *A list of criteria that can be used in selecting this connection.
*/ inline Connection& AddMatchCriteria(Aws::String&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(std::move(value)); return *this; } /** *A list of criteria that can be used in selecting this connection.
*/ inline Connection& AddMatchCriteria(const char* value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } /** *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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
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 connecting to a JDBC data source.
* 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.
* CUSTOM_JDBC_CERT - An Amazon S3 location specifying the customer's
* root certificate. AWS Glue uses this root certificate to validate the customer’s
* certificate when connecting to the customer database. AWS Glue only handles
* X.509 certificates. The certificate provided must be DER-encoded and supplied in
* Base64 encoding PEM format.
* SKIP_CUSTOM_JDBC_CERT_VALIDATION - By default, this is
* false. AWS Glue validates the Signature algorithm and Subject
* Public Key Algorithm for the customer certificate. The only permitted algorithms
* for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA.
* For the Subject Public Key Algorithm, the key length must be at least 2048. You
* can set the value of this property to true to skip AWS Glue’s
* validation of the customer certificate.
* CUSTOM_JDBC_CERT_STRING - A custom JDBC certificate string which is
* used for domain match or distinguished name match to prevent a man-in-the-middle
* attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN;
* in Microsoft SQL Server, this is used as the
* hostNameInCertificate.
* CONNECTION_URL - The URL for connecting to a general (non-JDBC)
* data source.
KAFKA_BOOTSTRAP_SERVERS - A
* comma-separated list of host and port pairs that are the addresses of the Apache
* Kafka brokers in a Kafka cluster to which a Kafka client will connect to and
* bootstrap itself.
KAFKA_SSL_ENABLED - Whether to
* enable or disable SSL on an Apache Kafka connection. Default value is
* "true".
KAFKA_CUSTOM_CERT - The Amazon S3 URL
* for the private CA cert file (.pem format). The default is an empty string.
KAFKA_SKIP_CUSTOM_CERT_VALIDATION - Whether to skip
* the validation of the CA cert file or not. AWS Glue validates for three
* algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is
* "false".
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to make this connection
* successfully.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to make this connection
* successfully.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to make this connection
* successfully.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to make this connection
* successfully.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to make this connection
* successfully.
A map of physical connection requirements, such as virtual private cloud
* (VPC) and SecurityGroup, that are needed to make this connection
* successfully.
The time that this connection definition was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The time that this connection definition was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The time that this connection definition was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The time that this connection definition was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The time that this connection definition was created.
*/ inline Connection& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time that this connection definition was created.
*/ inline Connection& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time that this connection definition was updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The last time that this connection definition was updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The last time that this connection definition was updated.
*/ inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The last time that this connection definition was updated.
*/ inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The last time that this connection definition was updated.
*/ inline Connection& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;} /** *The last time that this connection definition was updated.
*/ inline Connection& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The user, group, or role that last updated this connection definition.
*/ inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; } /** *The user, group, or role that last updated this connection definition.
*/ inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; } /** *The user, group, or role that last updated this connection definition.
*/ inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; } /** *The user, group, or role that last updated this connection definition.
*/ inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); } /** *The user, group, or role that last updated this connection definition.
*/ inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); } /** *The user, group, or role that last updated this connection definition.
*/ inline Connection& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;} /** *The user, group, or role that last updated this connection definition.
*/ inline Connection& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;} /** *The user, group, or role that last updated this connection definition.
*/ inline Connection& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; ConnectionType m_connectionType; bool m_connectionTypeHasBeenSet; Aws::Vector