Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(glue): support ConnectionType.MARKETPLACE and ConnectionType.CUSTOM #30395

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions packages/@aws-cdk/aws-glue-alpha/lib/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand All @@ -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.
*/
Expand Down
Loading