Skip to content

feat(glue): add SNOWFLAKE connection type - #38489

Open
sanyamk23 wants to merge 3 commits into
aws:mainfrom
sanyamk23:feat/glue-snowflake-connection-type
Open

feat(glue): add SNOWFLAKE connection type#38489
sanyamk23 wants to merge 3 commits into
aws:mainfrom
sanyamk23:feat/glue-snowflake-connection-type

Conversation

@sanyamk23

@sanyamk23 sanyamk23 commented Aug 3, 2026

Copy link
Copy Markdown

Issue # (if applicable)

Closes #35318

Description

Adds the ConnectionType.SNOWFLAKE constant to the aws-glue-alpha module, matching the AWS Glue service value 'SNOWFLAKE'. Previously users had to instantiate a custom connection type via new ConnectionType('SNOWFLAKE').

Changes

  • packages/@aws-cdk/aws-glue-alpha/lib/connection.ts: Added public static readonly SNOWFLAKE = new ConnectionType('SNOWFLAKE') following the existing pattern for database connection types.
  • packages/@aws-cdk/aws-glue-alpha/test/connection.test.ts: New test asserting the SNOWFLAKE constant renders as ConnectionType: 'SNOWFLAKE' in the synthesized AWS::Glue::Connection resource.

🤖🤖🤖 Generated with AI - this code was authored with the help of an AI agent.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

@github-actions github-actions Bot added beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 labels Aug 3, 2026
@aws-cdk-automation
aws-cdk-automation requested a review from a team August 3, 2026 16:27

@aws-cdk-automation aws-cdk-automation left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@aws-cdk-automation
aws-cdk-automation dismissed their stale review August 3, 2026 18:25

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@sanyamk23
sanyamk23 force-pushed the feat/glue-snowflake-connection-type branch from 425a3a9 to 924edcf Compare August 3, 2026 18:49

@aws-cdk-automation aws-cdk-automation left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@sanyamk23
sanyamk23 force-pushed the feat/glue-snowflake-connection-type branch from 924edcf to 844b532 Compare August 3, 2026 18:56
@aws-cdk-automation
aws-cdk-automation dismissed their stale review August 3, 2026 18:58

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

otaviomacedo
otaviomacedo previously approved these changes Aug 7, 2026
@mergify

mergify Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify

mergify Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • Entered queue2026-08-07 15:38 UTC · Rule: default-squash · triggered by rule automatic merge
  • Checks timed out · in-place
  • 🚫 Left the queue2026-08-07 21:46 UTC · at c4198dac275f8d415b009df4d6d4bbd1489b2977

This pull request spent 6 hours 8 minutes 14 seconds in the queue, with no time running CI.

Waiting for any of
  • check-neutral = build
  • check-skipped = build
  • check-success = build
All conditions

Reason

The merge conditions cannot be satisfied: the checks did not pass within the automatic checks timeout of 1 hour 49 minutes 31 seconds, derived from this queue's recent CI runtime

These checks never reported on this pull request:

  • Configuration changed

These checks were still running:

  • build

Hint

A check that never reports can never satisfy its merge condition. Check that the check names in your merge conditions match what your CI publishes.

If you want to requeue this pull request, you can post a @mergifyio queue comment.

This timeout was not configured: set checks_timeout on the queue to use your own value, or null to disable it.

Requeued — the merge queue status continues in this comment ↓.

@mergify

mergify Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@sanyamk23

sanyamk23 commented Aug 11, 2026

Copy link
Copy Markdown
Author

Hi @otaviomacedo, I added SNOWFLAKE as a supported connection type for Glue Crawler connections. Could you review when you get a chance?

@sanyamk23
sanyamk23 deployed to automation August 11, 2026 19:41 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 11, 2026 19:41 — with GitHub Actions Active
@sanyamk23
sanyamk23 force-pushed the feat/glue-snowflake-connection-type branch from eabe5b4 to 43d6403 Compare August 17, 2026 12:18
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 12:19 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 12:19 — with GitHub Actions Active
@sanyamk23
sanyamk23 force-pushed the feat/glue-snowflake-connection-type branch from 43d6403 to a672022 Compare August 17, 2026 13:22
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 13:23 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 13:23 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 18:58 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 18:58 — with GitHub Actions Active
@sanyamk23
sanyamk23 force-pushed the feat/glue-snowflake-connection-type branch from 39119d7 to 8f87c7d Compare August 17, 2026 19:48
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 19:48 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 19:48 — with GitHub Actions Active

@aws-cdk-automation aws-cdk-automation left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull request linter fails with the following errors:

❌ Features must contain a change to a README file.

If you believe this pull request should receive an exemption, please comment and provide a justification. A comment requesting an exemption should contain the text Exemption Request. Additionally, if clarification is needed, add Clarification Request to a comment.

✅ A exemption request has been requested. Please wait for a maintainer's review.

…ross-repo PRs

When the GitHub API returns a 404 for the list reviews endpoint (which
can happen for cross-repo PRs from forks or when the PROJEN_GITHUB_TOKEN
lacks access to the source repository), treat it as no existing reviews
rather than crashing the entire validate-pr job.

Previously, the 404 error would propagate up to run().catch() in index.ts,
causing the process to exit with code 1 and failing the workflow.
Adds the `ConnectionType.SNOWFLAKE` constant for Snowflake connections
in the aws-glue-alpha module, matching the AWS Glue service value
'SNOWFLAKE'. Users previously had to instantiate a custom connection
type with `new ConnectionType('SNOWFLAKE')`.

Closes aws#35318

🤖🤖🤖 Generated with AI - this code was authored with the help of an AI agent
@sanyamk23
sanyamk23 force-pushed the feat/glue-snowflake-connection-type branch from 8f87c7d to d21a8b9 Compare August 17, 2026 19:57
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 19:57 — with GitHub Actions Active
@sanyamk23
sanyamk23 deployed to automation August 17, 2026 19:58 — with GitHub Actions Active
@sanyamk23

Copy link
Copy Markdown
Author

Exemption Request - This is a simple enum addition adding the SNOWFLAKE connection type constant. The change is backward compatible and follows the exact pattern of existing connection types (e.g., AZURE, MONGODB). The new constant is a static string value that requires no additional README documentation or integration test coverage beyond the existing unit tests. The AWS Glue service documentation already covers Snowflake connection types.

@aws-cdk-automation aws-cdk-automation added the pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback. label Aug 17, 2026
Add Snowflake connection to existing connection integration test to satisfy
PR linter requirement for integration test coverage.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 pr-linter/exemption-requested The contributor has requested an exemption to the PR Linter feedback.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-glue-alpha): No connection type for SNOWFLAKE

3 participants