--- title: Test patterns for discovering AWS API Gateway and AWS Lambda description: Run the horizontal and top-down discovery using Amazon AWS API Gateway \[cmdb\_ci\_cloud\_gateway\] and Amazon AWS Lambda \[cmdb\_ci\_cloud\_function\] patterns. Verify that the result is as expected. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/discovery-and-service-mapping-patterns/test-patterns-for-discovering-aws-api-and-aws-lambda.html release: australia product: Discovery and Service Mapping Patterns classification: discovery-and-service-mapping-patterns topic_type: task last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Amazon API Gateways, AWS discovery, Available cloud discovery patterns, Discovery patterns used by ITOM Visibility, ITOM Visibility, IT Operations Management] --- # Test patterns for discovering AWS API Gateway and AWS Lambda Run the horizontal and top-down discovery using Amazon AWS API Gateway \[cmdb\_ci\_cloud\_gateway\] and Amazon AWS Lambda \[cmdb\_ci\_cloud\_function\] patterns. Verify that the result is as expected. ## Before you begin Make sure that your deployment complies with all the prerequisites for [Amazon API Gateway discovery with Patterns](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/aws-api-gateway-discovery.md) and [AWS Lambda discovery with Patterns](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/discovery-and-service-mapping-patterns/aws-lambda-discovery.md). Role required: admin ## Procedure 1. Create an application service using the following properties for its entry point.
| Field | Description |
|---|---|
| CI type | HTTPS |
| URL | The URL for invoking the API Gateway. Typically, the API GW has the following format: https://\{restapi\_id\}.execute-api.\{region\}.amazonaws.com/\{stage\_name\}/ For example, https://k40o0l3af6.execute-api.us-east-1.amazonaws.com/prod/. For information about the URL format, see [https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-call-api.html](https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-call-api.html). **Note:** The default stage\_name parameter is **prod**. |