[][src]Struct rusoto_glue::Connection

pub struct Connection {
    pub connection_properties: Option<HashMap<String, String>>,
    pub connection_type: Option<String>,
    pub creation_time: Option<f64>,
    pub description: Option<String>,
    pub last_updated_by: Option<String>,
    pub last_updated_time: Option<f64>,
    pub match_criteria: Option<Vec<String>>,
    pub name: Option<String>,
    pub physical_connection_requirements: Option<PhysicalConnectionRequirements>,
}

Defines a connection to a data source.

Fields

connection_properties: Option<HashMap<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.

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

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

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

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

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

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

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

  • CONFIGFILES - (Reserved for future use.)

  • INSTANCEID - The instance ID to use.

  • JDBCCONNECTIONURL - The URL for connecting to a JDBC data source.

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

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

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

  • CUSTOMJDBCCERTSTRING - 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 SSLSERVERCERTDN; in Microsoft SQL Server, this is used as the hostNameInCertificate.

  • CONNECTIONURL - The URL for connecting to a general (non-JDBC) data source.

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

  • KAFKASSLENABLED - Whether to enable or disable SSL on an Apache Kafka connection. Default value is "true".

  • KAFKACUSTOMCERT - The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.

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

  • SECRETID - The secret ID used for the secret manager of credentials.

  • CONNECTORURL - The connector URL for a MARKETPLACE or CUSTOM connection.

  • CONNECTORTYPE - The connector type for a MARKETPLACE or CUSTOM connection.

  • CONNECTORCLASSNAME - The connector class name for a MARKETPLACE or CUSTOM connection.

connection_type: Option<String>

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

creation_time: Option<f64>

The time that this connection definition was created.

description: Option<String>

The description of the connection.

last_updated_by: Option<String>

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

last_updated_time: Option<f64>

The last time that this connection definition was updated.

match_criteria: Option<Vec<String>>

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

name: Option<String>

The name of the connection definition.

physical_connection_requirements: Option<PhysicalConnectionRequirements>

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

Trait Implementations

impl Clone for Connection[src]

impl Debug for Connection[src]

impl Default for Connection[src]

impl<'de> Deserialize<'de> for Connection[src]

impl PartialEq<Connection> for Connection[src]

impl StructuralPartialEq for Connection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.