/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

A structure that is used to specify a connection to create or * update.

See Also:

AWS * API Reference

*/ class ConnectionInput { public: AWS_GLUE_API ConnectionInput(); AWS_GLUE_API ConnectionInput(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API ConnectionInput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline ConnectionInput& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline ConnectionInput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the connection. Connection will not function as expected without * a name.

*/ inline ConnectionInput& 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 ConnectionInput& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the connection.

*/ inline ConnectionInput& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the connection.

*/ inline ConnectionInput& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The type of the connection. Currently, these types are supported:

    *
  • JDBC - Designates a connection to a database through Java * Database Connectivity (JDBC).

    JDBC Connections use the * following ConnectionParameters.

    • 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.

  • KAFKA - * Designates a connection to an Apache Kafka streaming platform.

    * KAFKA Connections use the following ConnectionParameters.

      *
    • Required: KAFKA_BOOTSTRAP_SERVERS.

    • *

      Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, * KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to * configure SSL with KAFKA.

    • Optional: * KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, * KAFKA_CLIENT_KEY_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to * configure TLS client configuration with SSL in KAFKA.

    • *
    • Optional: KAFKA_SASL_MECHANISM. Can be specified as * SCRAM-SHA-512, GSSAPI, or * AWS_MSK_IAM.

    • Optional: * KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to * configure SASL/SCRAM-SHA-512 authentication with KAFKA.

    • *
    • Optional: KAFKA_SASL_GSSAPI_KEYTAB, * KAFKA_SASL_GSSAPI_KRB5_CONF, * KAFKA_SASL_GSSAPI_SERVICE, * KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure * SASL/GSSAPI authentication with KAFKA.

  • *

    MONGODB - Designates a connection to a MongoDB document * database.

    MONGODB Connections use the following * ConnectionParameters.

    • Required: * CONNECTION_URL.

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

      *
  • NETWORK - Designates a network * connection to a data source within an Amazon Virtual Private Cloud environment * (Amazon VPC).

    NETWORK Connections do not require * ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    *
  • MARKETPLACE - Uses configuration settings contained * in a connector purchased from Amazon Web Services Marketplace to read from and * write to data stores that are not natively supported by Glue.

    * MARKETPLACE Connections use the following ConnectionParameters.

    *
    • Required: CONNECTOR_TYPE, CONNECTOR_URL, * CONNECTOR_CLASS_NAME, CONNECTION_URL.

    • *

      Required for JDBC CONNECTOR_TYPE connections: All * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are * not natively supported by Glue.

SFTP is not * supported.

For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue * connection properties.

For more information about how optional * ConnectionProperties are used to configure features in Glue Studio, consult Using * connectors and connections.

*/ inline const ConnectionType& GetConnectionType() const{ return m_connectionType; } /** *

The type of the connection. Currently, these types are supported:

    *
  • JDBC - Designates a connection to a database through Java * Database Connectivity (JDBC).

    JDBC Connections use the * following ConnectionParameters.

    • 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.

  • KAFKA - * Designates a connection to an Apache Kafka streaming platform.

    * KAFKA Connections use the following ConnectionParameters.

      *
    • Required: KAFKA_BOOTSTRAP_SERVERS.

    • *

      Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, * KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to * configure SSL with KAFKA.

    • Optional: * KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, * KAFKA_CLIENT_KEY_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to * configure TLS client configuration with SSL in KAFKA.

    • *
    • Optional: KAFKA_SASL_MECHANISM. Can be specified as * SCRAM-SHA-512, GSSAPI, or * AWS_MSK_IAM.

    • Optional: * KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to * configure SASL/SCRAM-SHA-512 authentication with KAFKA.

    • *
    • Optional: KAFKA_SASL_GSSAPI_KEYTAB, * KAFKA_SASL_GSSAPI_KRB5_CONF, * KAFKA_SASL_GSSAPI_SERVICE, * KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure * SASL/GSSAPI authentication with KAFKA.

  • *

    MONGODB - Designates a connection to a MongoDB document * database.

    MONGODB Connections use the following * ConnectionParameters.

    • Required: * CONNECTION_URL.

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

      *
  • NETWORK - Designates a network * connection to a data source within an Amazon Virtual Private Cloud environment * (Amazon VPC).

    NETWORK Connections do not require * ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    *
  • MARKETPLACE - Uses configuration settings contained * in a connector purchased from Amazon Web Services Marketplace to read from and * write to data stores that are not natively supported by Glue.

    * MARKETPLACE Connections use the following ConnectionParameters.

    *
    • Required: CONNECTOR_TYPE, CONNECTOR_URL, * CONNECTOR_CLASS_NAME, CONNECTION_URL.

    • *

      Required for JDBC CONNECTOR_TYPE connections: All * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are * not natively supported by Glue.

SFTP is not * supported.

For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue * connection properties.

For more information about how optional * ConnectionProperties are used to configure features in Glue Studio, consult Using * connectors and connections.

*/ inline bool ConnectionTypeHasBeenSet() const { return m_connectionTypeHasBeenSet; } /** *

The type of the connection. Currently, these types are supported:

    *
  • JDBC - Designates a connection to a database through Java * Database Connectivity (JDBC).

    JDBC Connections use the * following ConnectionParameters.

    • 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.

  • KAFKA - * Designates a connection to an Apache Kafka streaming platform.

    * KAFKA Connections use the following ConnectionParameters.

      *
    • Required: KAFKA_BOOTSTRAP_SERVERS.

    • *

      Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, * KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to * configure SSL with KAFKA.

    • Optional: * KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, * KAFKA_CLIENT_KEY_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to * configure TLS client configuration with SSL in KAFKA.

    • *
    • Optional: KAFKA_SASL_MECHANISM. Can be specified as * SCRAM-SHA-512, GSSAPI, or * AWS_MSK_IAM.

    • Optional: * KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to * configure SASL/SCRAM-SHA-512 authentication with KAFKA.

    • *
    • Optional: KAFKA_SASL_GSSAPI_KEYTAB, * KAFKA_SASL_GSSAPI_KRB5_CONF, * KAFKA_SASL_GSSAPI_SERVICE, * KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure * SASL/GSSAPI authentication with KAFKA.

  • *

    MONGODB - Designates a connection to a MongoDB document * database.

    MONGODB Connections use the following * ConnectionParameters.

    • Required: * CONNECTION_URL.

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

      *
  • NETWORK - Designates a network * connection to a data source within an Amazon Virtual Private Cloud environment * (Amazon VPC).

    NETWORK Connections do not require * ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    *
  • MARKETPLACE - Uses configuration settings contained * in a connector purchased from Amazon Web Services Marketplace to read from and * write to data stores that are not natively supported by Glue.

    * MARKETPLACE Connections use the following ConnectionParameters.

    *
    • Required: CONNECTOR_TYPE, CONNECTOR_URL, * CONNECTOR_CLASS_NAME, CONNECTION_URL.

    • *

      Required for JDBC CONNECTOR_TYPE connections: All * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are * not natively supported by Glue.

SFTP is not * supported.

For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue * connection properties.

For more information about how optional * ConnectionProperties are used to configure features in Glue Studio, consult Using * connectors and connections.

*/ inline void SetConnectionType(const ConnectionType& value) { m_connectionTypeHasBeenSet = true; m_connectionType = value; } /** *

The type of the connection. Currently, these types are supported:

    *
  • JDBC - Designates a connection to a database through Java * Database Connectivity (JDBC).

    JDBC Connections use the * following ConnectionParameters.

    • 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.

  • KAFKA - * Designates a connection to an Apache Kafka streaming platform.

    * KAFKA Connections use the following ConnectionParameters.

      *
    • Required: KAFKA_BOOTSTRAP_SERVERS.

    • *

      Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, * KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to * configure SSL with KAFKA.

    • Optional: * KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, * KAFKA_CLIENT_KEY_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to * configure TLS client configuration with SSL in KAFKA.

    • *
    • Optional: KAFKA_SASL_MECHANISM. Can be specified as * SCRAM-SHA-512, GSSAPI, or * AWS_MSK_IAM.

    • Optional: * KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to * configure SASL/SCRAM-SHA-512 authentication with KAFKA.

    • *
    • Optional: KAFKA_SASL_GSSAPI_KEYTAB, * KAFKA_SASL_GSSAPI_KRB5_CONF, * KAFKA_SASL_GSSAPI_SERVICE, * KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure * SASL/GSSAPI authentication with KAFKA.

  • *

    MONGODB - Designates a connection to a MongoDB document * database.

    MONGODB Connections use the following * ConnectionParameters.

    • Required: * CONNECTION_URL.

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

      *
  • NETWORK - Designates a network * connection to a data source within an Amazon Virtual Private Cloud environment * (Amazon VPC).

    NETWORK Connections do not require * ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    *
  • MARKETPLACE - Uses configuration settings contained * in a connector purchased from Amazon Web Services Marketplace to read from and * write to data stores that are not natively supported by Glue.

    * MARKETPLACE Connections use the following ConnectionParameters.

    *
    • Required: CONNECTOR_TYPE, CONNECTOR_URL, * CONNECTOR_CLASS_NAME, CONNECTION_URL.

    • *

      Required for JDBC CONNECTOR_TYPE connections: All * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are * not natively supported by Glue.

SFTP is not * supported.

For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue * connection properties.

For more information about how optional * ConnectionProperties are used to configure features in Glue Studio, consult Using * connectors and connections.

*/ inline void SetConnectionType(ConnectionType&& value) { m_connectionTypeHasBeenSet = true; m_connectionType = std::move(value); } /** *

The type of the connection. Currently, these types are supported:

    *
  • JDBC - Designates a connection to a database through Java * Database Connectivity (JDBC).

    JDBC Connections use the * following ConnectionParameters.

    • 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.

  • KAFKA - * Designates a connection to an Apache Kafka streaming platform.

    * KAFKA Connections use the following ConnectionParameters.

      *
    • Required: KAFKA_BOOTSTRAP_SERVERS.

    • *

      Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, * KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to * configure SSL with KAFKA.

    • Optional: * KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, * KAFKA_CLIENT_KEY_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to * configure TLS client configuration with SSL in KAFKA.

    • *
    • Optional: KAFKA_SASL_MECHANISM. Can be specified as * SCRAM-SHA-512, GSSAPI, or * AWS_MSK_IAM.

    • Optional: * KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to * configure SASL/SCRAM-SHA-512 authentication with KAFKA.

    • *
    • Optional: KAFKA_SASL_GSSAPI_KEYTAB, * KAFKA_SASL_GSSAPI_KRB5_CONF, * KAFKA_SASL_GSSAPI_SERVICE, * KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure * SASL/GSSAPI authentication with KAFKA.

  • *

    MONGODB - Designates a connection to a MongoDB document * database.

    MONGODB Connections use the following * ConnectionParameters.

    • Required: * CONNECTION_URL.

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

      *
  • NETWORK - Designates a network * connection to a data source within an Amazon Virtual Private Cloud environment * (Amazon VPC).

    NETWORK Connections do not require * ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    *
  • MARKETPLACE - Uses configuration settings contained * in a connector purchased from Amazon Web Services Marketplace to read from and * write to data stores that are not natively supported by Glue.

    * MARKETPLACE Connections use the following ConnectionParameters.

    *
    • Required: CONNECTOR_TYPE, CONNECTOR_URL, * CONNECTOR_CLASS_NAME, CONNECTION_URL.

    • *

      Required for JDBC CONNECTOR_TYPE connections: All * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are * not natively supported by Glue.

SFTP is not * supported.

For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue * connection properties.

For more information about how optional * ConnectionProperties are used to configure features in Glue Studio, consult Using * connectors and connections.

*/ inline ConnectionInput& WithConnectionType(const ConnectionType& value) { SetConnectionType(value); return *this;} /** *

The type of the connection. Currently, these types are supported:

    *
  • JDBC - Designates a connection to a database through Java * Database Connectivity (JDBC).

    JDBC Connections use the * following ConnectionParameters.

    • 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.

  • KAFKA - * Designates a connection to an Apache Kafka streaming platform.

    * KAFKA Connections use the following ConnectionParameters.

      *
    • Required: KAFKA_BOOTSTRAP_SERVERS.

    • *

      Optional: KAFKA_SSL_ENABLED, KAFKA_CUSTOM_CERT, * KAFKA_SKIP_CUSTOM_CERT_VALIDATION. These parameters are used to * configure SSL with KAFKA.

    • Optional: * KAFKA_CLIENT_KEYSTORE, KAFKA_CLIENT_KEYSTORE_PASSWORD, * KAFKA_CLIENT_KEY_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD, * ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD. These parameters are used to * configure TLS client configuration with SSL in KAFKA.

    • *
    • Optional: KAFKA_SASL_MECHANISM. Can be specified as * SCRAM-SHA-512, GSSAPI, or * AWS_MSK_IAM.

    • Optional: * KAFKA_SASL_SCRAM_USERNAME, KAFKA_SASL_SCRAM_PASSWORD, * ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD. These parameters are used to * configure SASL/SCRAM-SHA-512 authentication with KAFKA.

    • *
    • Optional: KAFKA_SASL_GSSAPI_KEYTAB, * KAFKA_SASL_GSSAPI_KRB5_CONF, * KAFKA_SASL_GSSAPI_SERVICE, * KAFKA_SASL_GSSAPI_PRINCIPAL. These parameters are used to configure * SASL/GSSAPI authentication with KAFKA.

  • *

    MONGODB - Designates a connection to a MongoDB document * database.

    MONGODB Connections use the following * ConnectionParameters.

    • Required: * CONNECTION_URL.

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

      *
  • NETWORK - Designates a network * connection to a data source within an Amazon Virtual Private Cloud environment * (Amazon VPC).

    NETWORK Connections do not require * ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.

    *
  • MARKETPLACE - Uses configuration settings contained * in a connector purchased from Amazon Web Services Marketplace to read from and * write to data stores that are not natively supported by Glue.

    * MARKETPLACE Connections use the following ConnectionParameters.

    *
    • Required: CONNECTOR_TYPE, CONNECTOR_URL, * CONNECTOR_CLASS_NAME, CONNECTION_URL.

    • *

      Required for JDBC CONNECTOR_TYPE connections: All * of (USERNAME, PASSWORD) or SECRET_ID.

      *
  • CUSTOM - Uses configuration settings * contained in a custom connector to read from and write to data stores that are * not natively supported by Glue.

SFTP is not * supported.

For more information about how optional ConnectionProperties * are used to configure features in Glue, consult Glue * connection properties.

For more information about how optional * ConnectionProperties are used to configure features in Glue Studio, consult Using * connectors and connections.

*/ inline ConnectionInput& WithConnectionType(ConnectionType&& value) { SetConnectionType(std::move(value)); return *this;} /** *

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

*/ inline const Aws::Vector& GetMatchCriteria() const{ return m_matchCriteria; } /** *

A 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::Vector& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = value; } /** *

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

*/ inline void SetMatchCriteria(Aws::Vector&& value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria = std::move(value); } /** *

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

*/ inline ConnectionInput& WithMatchCriteria(const Aws::Vector& value) { SetMatchCriteria(value); return *this;} /** *

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

*/ inline ConnectionInput& WithMatchCriteria(Aws::Vector&& value) { SetMatchCriteria(std::move(value)); return *this;} /** *

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

*/ inline ConnectionInput& 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 ConnectionInput& 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 ConnectionInput& AddMatchCriteria(const char* value) { m_matchCriteriaHasBeenSet = true; m_matchCriteria.push_back(value); return *this; } /** *

These key-value pairs define parameters for the connection.

*/ inline const Aws::Map& GetConnectionProperties() const{ return m_connectionProperties; } /** *

These key-value pairs define parameters for the connection.

*/ inline bool ConnectionPropertiesHasBeenSet() const { return m_connectionPropertiesHasBeenSet; } /** *

These key-value pairs define parameters for the connection.

*/ inline void SetConnectionProperties(const Aws::Map& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = value; } /** *

These key-value pairs define parameters for the connection.

*/ inline void SetConnectionProperties(Aws::Map&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties = std::move(value); } /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& WithConnectionProperties(const Aws::Map& value) { SetConnectionProperties(value); return *this;} /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& WithConnectionProperties(Aws::Map&& value) { SetConnectionProperties(std::move(value)); return *this;} /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const Aws::String& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, std::move(value)); return *this; } /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, Aws::String&& value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), std::move(value)); return *this; } /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& AddConnectionProperties(ConnectionPropertyKey&& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(std::move(key), value); return *this; } /** *

These key-value pairs define parameters for the connection.

*/ inline ConnectionInput& AddConnectionProperties(const ConnectionPropertyKey& key, const char* value) { m_connectionPropertiesHasBeenSet = true; m_connectionProperties.emplace(key, value); return *this; } /** *

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

*/ inline const PhysicalConnectionRequirements& GetPhysicalConnectionRequirements() const{ return m_physicalConnectionRequirements; } /** *

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

*/ inline bool PhysicalConnectionRequirementsHasBeenSet() const { return m_physicalConnectionRequirementsHasBeenSet; } /** *

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

*/ inline void SetPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = value; } /** *

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

*/ inline void SetPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { m_physicalConnectionRequirementsHasBeenSet = true; m_physicalConnectionRequirements = std::move(value); } /** *

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

*/ inline ConnectionInput& WithPhysicalConnectionRequirements(const PhysicalConnectionRequirements& value) { SetPhysicalConnectionRequirements(value); return *this;} /** *

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

*/ inline ConnectionInput& WithPhysicalConnectionRequirements(PhysicalConnectionRequirements&& value) { SetPhysicalConnectionRequirements(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; ConnectionType m_connectionType; bool m_connectionTypeHasBeenSet = false; Aws::Vector m_matchCriteria; bool m_matchCriteriaHasBeenSet = false; Aws::Map m_connectionProperties; bool m_connectionPropertiesHasBeenSet = false; PhysicalConnectionRequirements m_physicalConnectionRequirements; bool m_physicalConnectionRequirementsHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws