postman-cs/Postman Onboarding: AWS Spec Discovery

Discover AWS-hosted API specs and expose a spec path for Postman onboarding. Part of the Postman API Onboarding suite.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
aws-regionAWS region used to resolve API Gateway, AppSync, SNS, EventBridge, Lambda, and other discovery providers.yes
gateway-idOptional known API Gateway ID for this service. Use this when you want to bypass broader account discovery.no""
stageOptional API Gateway stage override (for example prod or staging).no""
expected-account-idOptional AWS account ID that must match sts:GetCallerIdentity before export. Mismatch fails closed with a sanitized error.no""
expected-partitionOptional AWS partition (aws, aws-us-gov, or aws-cn) that must match the caller identity ARN before export. Mismatch fails closed with a sanitized error.no""
expected-regionOptional AWS region that must exactly match aws-region before discovery or export. Mismatch fails closed.no""
spec-pathOptional explicit path to a repository specification relative to repo-root. When set, resolution uses this contract and skips same-tier auto-selection.no""
service-rootOptional monorepo service root relative to repo-root. Scopes Backstage entities and repository contract inventory to that directory.no""
remote-fetch-allowlist-jsonOptional JSON array of exact remote-fetch allowlist entries ({"hostname","pathPrefix"} or {"host","path"}). Absent or empty denies all remote spec fetches (Backstage, SSM, SNS).no""
terraform-state-paths-jsonOptional JSON array of repo-relative local Terraform state/output artifact paths (for example terraform.tfstate). Default []. .tfstate is never auto-discovered; only listed paths are read. Remote Terraform state remains forbidden.no[]
output-dirDirectory under the repository root where generated specs are written.nodiscovered-specs
postman-api-keyOptional service-account PMAK used to mint or re-mint a postman-access-token for telemetry enrichment (account_type). Not used for any AWS or Postman asset operation.no""
postman-access-tokenOptional Postman service-account access token, used only to enrich anonymous telemetry with the session account_type. When omitted, postman-api-key alone can mint one for the same purpose. Not used for any AWS or Postman asset operation.no""
namedescription
resolution-jsonJSON resolution result describing status, source type, confidence, and evidence.
resolution-statusResolution status: resolved or unresolved.
source-typeResolved source type: repo-spec, gateway-export, appsync-schema, appsync-event-api, eventbridge-schema, eventbridge-surface, cfn-embedded, glue-schema, bedrock-action-group, alb-listener-rule, sns-contract, ssm-registry, lambda-url-export, lambda-event-source, verified-permissions-schema, step-functions-asl, manual-review, or discover-many.
mapping-confidenceNumeric confidence score for selected service candidate.
spec-pathPath to resolved or generated specification when available.
spec-files-jsonOptional single-line JSON inventory of authoritative multi-file definition members (schemaVersion 1). Empty for single-file results, unresolved runs, discover-many top-level outputs, derived OpenAPI, and deterministic GraphQL/Smithy composition.
gateway-idResolved API Gateway ID when available.
service-nameResolved service name.
services-jsonLegacy discover-many output: JSON array of exported services.
service-countLegacy discover-many output: number of exported services.
export-summary-jsondiscover-many summary JSON with attempted/exported/failed/skipped counts.
candidates-jsonJSON array of top candidates when resolution is ambiguous.
provider-typeProvider that resolved the spec: api-gateway, appsync, appsync-events, eventbridge-schemas, eventbridge, cloudformation, glue, bedrock-action-group, alb-listener-rule, sns, ssm, lambda-url, lambda-event-source, verified-permissions, or step-functions.
spec-formatFormat of the resolved spec: openapi-yaml, openapi-json, graphql-sdl, graphql-introspection-json, asyncapi-yaml, asyncapi-json, json-schema, postman-collection, smithy, avro, protobuf, wsdl, or mcp-json.
contract-originSNS contract provenance when available: repo-asyncapi, repo-json-schema, generated-asyncapi, ssm-content, ssm-url, catalog-url, eventbridge-derived, code-derived, or manual-review.
contract-metadata-pathPath to SNS resolution metadata sidecar when available.
variant-countNumber of SNS delivery variants discovered when available.
derived-openapi-pathPath to the canonical derived OpenAPI JSON sidecar when available.
derived-openapi-versionOpenAPI version of the derived sidecar when available.
derived-openapi-completenessDerived OpenAPI completeness: full or partial.
derived-openapi-formatFormat of the derived OpenAPI sidecar, currently openapi-json.
derived-openapi-evidence-jsonJSON array of evidence entries explaining derived OpenAPI quality and limitations.
narrowing-strategyProgressive narrowing tier applied to API Gateway candidates (iac-fingerprint, cfn-correlation, tag-prefilter, naming-heuristic), or none when no tier matched.