diff --git a/packages/@aws-cdk/aws-glue-alpha/lib/connection.ts b/packages/@aws-cdk/aws-glue-alpha/lib/connection.ts index 3d8b4738f3d57..e999eb58d11e5 100644 --- a/packages/@aws-cdk/aws-glue-alpha/lib/connection.ts +++ b/packages/@aws-cdk/aws-glue-alpha/lib/connection.ts @@ -8,6 +8,8 @@ import { CfnConnection } from 'aws-cdk-lib/aws-glue'; * * 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')`. + * + * @see https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-glue-connection-connectioninput.html#cfn-glue-connection-connectioninput-connectiontype */ export class ConnectionType { @@ -31,6 +33,18 @@ export class ConnectionType { */ public static readonly NETWORK = new ConnectionType('NETWORK'); + /** + * Uses configuration settings contained in a connector purchased from AWS Marketplace + * to read from and write to data stores that are not natively supported by AWS Glue. + */ + public static readonly MARKETPLACE = new ConnectionType('MARKETPLACE'); + + /** + * Uses configuration settings contained in a custom connector to read from and write to data stores + * that are not natively supported by AWS Glue. + */ + public static readonly CUSTOM = new ConnectionType('CUSTOM'); + /** * The name of this ConnectionType, as expected by Connection resource. */