Discover AWS Gateway APIs in Service Catalog with the Konnect UI
Install the AWS API Gateway integration in Konnect and authorize access with your Service Catalog role ARN, then link an API to your service.
Prerequisites
Kong Konnect
If you don’t have a Konnect account, you can get started quickly with our onboarding wizard.
- The following Konnect items are required to complete this tutorial:
- Personal access token (PAT): Create a new personal access token by opening the Konnect PAT page and selecting Generate Token.
-
Set the personal access token as an environment variable:
export KONNECT_TOKEN='YOUR KONNECT TOKEN'
Copied!
Konnect roles
You need the Integration Admin role in Konnect to install and authorize Service Catalog integrations.
AWS API Gateway
You need a REST API in AWS API Gateway to ingest and a correctly configured IAM role for this integration. You can name your AWS API Gateway API whatever you’d like. In this tutorial, we’ll refer to your AWS API Gateway API as aws-api
.
You can follow the setup instructions in the UI wizard when you add the AWS API Gateway instance or do the following:
Configure the AWS API Gateway integration
Before you can discover APIs in Service Catalog, you must configure the AWS API Gateway integration.
- In the Konnect sidebar, click Service Catalog.
- In the Service Catalog sidebar, click Integrations.
- Click AWS API Gateway.
- Click Add AWS API Gateway instance.
- From the AWS region dropdown, select “US East (Ohio)”. If you’re using a different region, select your region from the dropdown.
- In the IAM role ARN field, enter the IAM role you configured for Service Catalog.
- In the Display name field, enter
aws-api-gateway-test
. - In the Instance name field, enter
aws-api-gateway-test
. - Click Save.
Create a Service Catalog service and map the API resources
Now that your integration is configured, you can create a Service Catalog service to map the ingested APIs.
In this tutorial, we’ll refer to your ingested AWS API Gateway API as
aws-api
.
- In the Konnect sidebar, click Service Catalog.
- Click New service.
- In the Display Name field, enter
APIs
. - In the Name field, enter
apis
. - Click Create.
- Click Map Resources.
- Select
aws-api
. - Click Map 1 Resource.
Your integration APIs are now discoverable from one Service Catalog service.
You might need to manually sync your AWS API Gateway integration for resources to appear. From the Konnect UI by navigating to the AWS API Gateway integration you just installed and selecting Sync Now from the Actions dropdown menu.
Validate the mapping
To confirm that the AWS API Gateway resource is now mapped to the intended service, navigate to the service:
- In the Konnect sidebar, click Service Catalog.
- In the Service Catalog sidebar, click Services.
- Click the APIs service.
- Click the Resources tab.
You should see the aws-api
resource listed.