Contact Us 1-800-596-4880

Adding a Scanner for Amazon API Gateway

Add a scanner to discover, import, and sync APIs from Amazon API Gateway into Anypoint Exchange. Once imported, you can apply governance rulesets and publish them to your developer portal.

Before You Begin

Before adding the scanner, verify that you have the permission, context, and these Amazon API Gateway credentials:

  • Exchange Administrator permission

  • IAM policy with read-only permissions for Amazon API Gateway

  • Knowledge about the Amazon Web Services region where the services are deployed

  • AWS access key ID

  • AWS secret access key

Example custom IAM policy for read-only access:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": ["apigateway:GET"],
      "Resource": "*"
    }
  ]
}

Add a Scanner for Amazon API Gateway

  1. Verify that you are in the business group where you want to add the scanner.

  2. From the sidebar in Exchange, click Scanners.

  3. Enter a name for the scanner.

  4. From Scanner Run Configuration, complete these fields or options:

    Field/Option Value

    Run Schedule

    Select a frequency and local time.

    Sync Review

    Select an option: Auto-resolve or Ask to review.

  5. From Connection Configuration, complete these fields:

    Field Value

    Provider

    Select Amazon.

    Platform

    Select API Gateway.

    Service Type

    REST APIs selected by default.

    Authentication Method

    Access key selected by default.

    AWS Access Key ID

    Enter the access key ID.

    AWS Secret Access Key

    Enter the secret access key.

    AWS Region

    Select a region.

  6. Click Test Connection.

    If the connection fails, review the Connection Configuration settings. Update the settings, and then test the connection again.

  7. To send email notifications:

    1. Select Advanced Settings and turn on Send Email Notifications.

    2. Enter an email address.

  8. Click Add Scanner.