Class ConnectionType

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.glue.alpha.ConnectionType
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.94.0 (build b380f01)", date="2024-01-13T02:49:34.212Z") @Stability(Experimental) public class ConnectionType extends software.amazon.jsii.JsiiObject
(experimental) 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:

 SecurityGroup securityGroup;
 Subnet subnet;
 Connection.Builder.create(this, "MyConnection")
         .type(ConnectionType.NETWORK)
         // The security groups granting AWS Glue inbound access to the data source within the VPC
         .securityGroups(List.of(securityGroup))
         // The VPC subnet which contains the data source
         .subnet(subnet)
         .build();
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ConnectionType
    (experimental) Designates a connection to a database through Java Database Connectivity (JDBC).
    static final ConnectionType
    (experimental) Designates a connection to an Apache Kafka streaming platform.
    static final ConnectionType
    (experimental) Designates a connection to a MongoDB document database.
    static final ConnectionType
    (experimental) Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
    protected
    ConnectionType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ConnectionType(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The name of this ConnectionType, as expected by Connection resource.
    (experimental) The connection type name as expected by Connection resource.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • JDBC

      @Stability(Experimental) public static final ConnectionType JDBC
      (experimental) Designates a connection to a database through Java Database Connectivity (JDBC).
    • KAFKA

      @Stability(Experimental) public static final ConnectionType KAFKA
      (experimental) Designates a connection to an Apache Kafka streaming platform.
    • MONGODB

      @Stability(Experimental) public static final ConnectionType MONGODB
      (experimental) Designates a connection to a MongoDB document database.
    • NETWORK

      @Stability(Experimental) public static final ConnectionType NETWORK
      (experimental) Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
  • Constructor Details

    • ConnectionType

      protected ConnectionType(software.amazon.jsii.JsiiObjectRef objRef)
    • ConnectionType

      protected ConnectionType(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • ConnectionType

      @Stability(Experimental) public ConnectionType(@NotNull String name)
      Parameters:
      name - This parameter is required.
  • Method Details

    • toString

      @Stability(Experimental) @NotNull public String toString()
      (experimental) The connection type name as expected by Connection resource.
      Overrides:
      toString in class Object
    • getName

      @Stability(Experimental) @NotNull public String getName()
      (experimental) The name of this ConnectionType, as expected by Connection resource.