@aws-cdk_aws-glue-alpha.ConnectionType

class ConnectionType ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Glue.Alpha.ConnectionType
Gogithub.com/aws/aws-cdk-go/awscdkgluealpha/v2#ConnectionType
Javasoftware.amazon.awscdk.services.glue.alpha.ConnectionType
Pythonaws_cdk.aws_glue_alpha.ConnectionType
TypeScript (source)@aws-cdk/aws-glue-alpha ยป ConnectionType

The type of the glue connection.

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').

Example

declare const securityGroup: ec2.SecurityGroup;
declare const subnet: ec2.Subnet;
new glue.Connection(this, 'MyConnection', {
  type: glue.ConnectionType.NETWORK,
  // The security groups granting AWS Glue inbound access to the data source within the VPC
  securityGroups: [securityGroup],
  // The VPC subnet which contains the data source
  subnet,
});

Initializer

new ConnectionType(name: string)

Parameters

  • name string

Properties

NameTypeDescription
name๐Ÿ”นstringThe name of this ConnectionType, as expected by Connection resource.
static JDBC๐Ÿ”นConnectionTypeDesignates a connection to a database through Java Database Connectivity (JDBC).
static KAFKA๐Ÿ”นConnectionTypeDesignates a connection to an Apache Kafka streaming platform.
static MONGODB๐Ÿ”นConnectionTypeDesignates a connection to a MongoDB document database.
static NETWORK๐Ÿ”นConnectionTypeDesignates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).

name๐Ÿ”น

Type: string

The name of this ConnectionType, as expected by Connection resource.


static JDBC๐Ÿ”น

Type: ConnectionType

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


static KAFKA๐Ÿ”น

Type: ConnectionType

Designates a connection to an Apache Kafka streaming platform.


static MONGODB๐Ÿ”น

Type: ConnectionType

Designates a connection to a MongoDB document database.


static NETWORK๐Ÿ”น

Type: ConnectionType

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

Methods

NameDescription
toString()๐Ÿ”นThe connection type name as expected by Connection resource.

toString()๐Ÿ”น

public toString(): string

Returns

  • string

The connection type name as expected by Connection resource.