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-alpha): backfill missing enums for glue-alpha #33631

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-glue-alpha/lib/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ export class ConnectionType {
* Designates a connection to Zoho CRM.
*/
public static readonly ZOHOCRM = new ConnectionType('ZOHOCRM');

/**
* Designates a connection to SFTP.
*/
public static readonly SFTP = new ConnectionType('SFTP');
/**
* The name of this ConnectionType, as expected by Connection resource.
*/
Expand Down
23 changes: 23 additions & 0 deletions packages/@aws-cdk/aws-glue-alpha/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,21 @@ export enum JobState {
* State indicating job stopped
*/
STOPPED = 'STOPPED',

/**
* State indicating job has encountered an error
*/
ERROR = 'ERROR',

/**
* State indicating job is waiting
*/
WAITING = 'WAITING',

/**
* State indicating job has expired
*/
EXPIRED = 'EXPIRED',
}

/**
Expand Down Expand Up @@ -286,6 +301,14 @@ export enum PredicateLogical {
export enum ConditionLogicalOperator {
/** The condition is true if the values are equal. */
EQUALS = 'EQUALS',
/** The condition is true if the first value is greater than the second. */
GREATER_THAN = 'GREATER_THAN',
/** The condition is true if the first value is less than the second. */
LESS_THAN = 'LESS_THAN',
/** The condition is true if the first value is greater than or equal to the second. */
GREATER_THAN_EQUALS = 'GREATER_THAN_EQUALS',
/** The condition is true if the first value is less than or equal to the second. */
LESS_THAN_EQUALS = 'LESS_THAN_EQUALS',
}

/**
Expand Down