Class ConnectionType
(experimental) The type of the glue connection.
Inheritance
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.AWS.Glue.dll
Syntax (csharp)
public class ConnectionType : DeputyBase
Syntax (vb)
Public Class ConnectionType
Inherits DeputyBase
Remarks
If you need to use a connection type that doesn't exist as a static member, you
can instantiate a ConnectionType
object, e.g: new ConnectionType('NEW_TYPE')
.
Stability: Experimental
ExampleMetadata: infused
Examples
SecurityGroup securityGroup;
Subnet subnet;
new Connection(this, "MyConnection", new ConnectionProps {
Type = ConnectionType.NETWORK,
// The security groups granting AWS Glue inbound access to the data source within the VPC
SecurityGroups = new [] { securityGroup },
// The VPC subnet which contains the data source
Subnet = subnet
});
Synopsis
Constructors
ConnectionType(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ConnectionType(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ConnectionType(String) |
Properties
JDBC | (experimental) Designates a connection to a database through Java Database Connectivity (JDBC). |
KAFKA | (experimental) Designates a connection to an Apache Kafka streaming platform. |
MONGODB | (experimental) Designates a connection to a MongoDB document database. |
Name | (experimental) The name of this ConnectionType, as expected by Connection resource. |
NETWORK | (experimental) Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC). |
Methods
ToString() | (experimental) The connection type name as expected by Connection resource. |
Constructors
ConnectionType(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ConnectionType(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ConnectionType(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ConnectionType(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ConnectionType(String)
public ConnectionType(string name)
Parameters
- name System.String
Remarks
Stability: Experimental
Properties
JDBC
(experimental) Designates a connection to a database through Java Database Connectivity (JDBC).
public static ConnectionType JDBC { get; }
Property Value
Remarks
Stability: Experimental
KAFKA
(experimental) Designates a connection to an Apache Kafka streaming platform.
public static ConnectionType KAFKA { get; }
Property Value
Remarks
Stability: Experimental
MONGODB
(experimental) Designates a connection to a MongoDB document database.
public static ConnectionType MONGODB { get; }
Property Value
Remarks
Stability: Experimental
Name
(experimental) The name of this ConnectionType, as expected by Connection resource.
public virtual string Name { get; }
Property Value
System.String
Remarks
Stability: Experimental
NETWORK
(experimental) Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
public static ConnectionType NETWORK { get; }
Property Value
Remarks
Stability: Experimental
Methods
ToString()
(experimental) The connection type name as expected by Connection resource.
public override string ToString()
Returns
System.String
Remarks
Stability: Experimental