Skip to content

Commit

Permalink
chore(glue): add missing connection types
Browse files Browse the repository at this point in the history
  • Loading branch information
mazyu36 committed Dec 20, 2024
1 parent cbacf4d commit ea2fdd7
Showing 1 changed file with 112 additions and 2 deletions.
114 changes: 112 additions & 2 deletions packages/@aws-cdk/aws-glue-alpha/lib/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ export class ConnectionType {
*/
public static readonly MONGODB = new ConnectionType('MONGODB');

/**
* Designates a connection used for view validation by Amazon Redshift.
*/
public static readonly VIEW_VALIDATION_REDSHIFT = new ConnectionType('VIEW_VALIDATION_REDSHIFT');

/**
* Designates a connection used for view validation by Amazon Athena.
*/
public static readonly VIEW_VALIDATION_ATHENA = new ConnectionType('VIEW_VALIDATION_ATHENA');

/**
* Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
*/
Expand All @@ -45,6 +55,106 @@ export class ConnectionType {
*/
public static readonly CUSTOM = new ConnectionType('CUSTOM');

/**
* Designates a connection to Facebook Ads.
*/
public static readonly FACEBOOKADS = new ConnectionType('FACEBOOKADS');

/**
* Designates a connection to Google Ads.
*/
public static readonly GOOGLEADS = new ConnectionType('GOOGLEADS');

/**
* Designates a connection to Google Sheets.
*/
public static readonly GOOGLESHEETS = new ConnectionType('GOOGLESHEETS');

/**
* Designates a connection to Google Analytics 4.
*/
public static readonly GOOGLEANALYTICS4 = new ConnectionType('GOOGLEANALYTICS4');

/**
* Designates a connection to HubSpot.
*/
public static readonly HUBSPOT = new ConnectionType('HUBSPOT');

/**
* Designates a connection to Instagram Ads.
*/
public static readonly INSTAGRAMADS = new ConnectionType('INSTAGRAMADS');

/**
* Designates a connection to Intercom.
*/
public static readonly INTERCOM = new ConnectionType('INTERCOM');

/**
* Designates a connection to Jira Cloud.
*/
public static readonly JIRACLOUD = new ConnectionType('JIRACLOUD');

/**
* Designates a connection to Adobe Marketo Engage.
*/
public static readonly MARKETO = new ConnectionType('MARKETO');

/**
* Designates a connection to Oracle NetSuite.
*/
public static readonly NETSUITEERP = new ConnectionType('NETSUITEERP');

/**
* Designates a connection to Salesforce using OAuth authentication.
*/
public static readonly SALESFORCE = new ConnectionType('SALESFORCE');

/**
* Designates a connection to Salesforce Marketing Cloud.
*/
public static readonly SALESFORCEMARKETINGCLOUD = new ConnectionType('SALESFORCEMARKETINGCLOUD');

/**
* Designates a connection to Salesforce Marketing Cloud Account Engagement (MCAE).
*/
public static readonly SALESFORCEPARDOT = new ConnectionType('SALESFORCEPARDOT');

/**
* Designates a connection to SAP OData.
*/
public static readonly SAPODATA = new ConnectionType('SAPODATA');

/**
* Designates a connection to ServiceNow.
*/
public static readonly SERVICENOW = new ConnectionType('SERVICENOW');

/**
* Designates a connection to Slack.
*/
public static readonly SLACK = new ConnectionType('SLACK');

/**
* Designates a connection to Snapchat Ads.
*/
public static readonly SNAPCHATADS = new ConnectionType('SNAPCHATADS');

/**
* Designates a connection to Stripe.
*/
public static readonly STRIPE = new ConnectionType('STRIPE');

/**
* Designates a connection to Zendesk.
*/
public static readonly ZENDESK = new ConnectionType('ZENDESK');

/**
* Designates a connection to Zoho CRM.
*/
public static readonly ZOHOCRM = new ConnectionType('ZOHOCRM');

/**
* The name of this ConnectionType, as expected by Connection resource.
*/
Expand Down Expand Up @@ -169,7 +279,7 @@ export class Connection extends cdk.Resource implements IConnection {
return new Import(scope, id);
}

private static buildConnectionArn(scope: constructs.Construct, connectionName: string) : string {
private static buildConnectionArn(scope: constructs.Construct, connectionName: string): string {
return cdk.Stack.of(scope).formatArn({
service: 'glue',
resource: 'connection',
Expand All @@ -187,7 +297,7 @@ export class Connection extends cdk.Resource implements IConnection {
*/
public readonly connectionName: string;

private readonly properties: {[key: string]: string};
private readonly properties: { [key: string]: string };

constructor(scope: constructs.Construct, id: string, props: ConnectionProps) {
super(scope, id, {
Expand Down

0 comments on commit ea2fdd7

Please sign in to comment.