Introspection endpoints

Every /_fakecloud/* endpoint for test assertions, simulation, and state control.

fakecloud exposes /_fakecloud/* endpoints for testing behaviors that AWS runs asynchronously (TTL expiration, scheduled rotation, lifecycle, etc.) and for asserting on state from within tests. The first-party SDKs wrap these into ergonomic helpers -- see SDK setup -- but the raw endpoints are documented here as the source of truth.

This page lists every /_fakecloud/* endpoint shipped today: 85 routes across 27 service areas. Endpoints marked NEW were added in the last two weeks. This page lists every /_fakecloud/* endpoint shipped today: 84 routes across 27 service areas. Endpoints marked NEW were added in the last two weeks.

Health and reset

EndpointMethodDescription
/_fakecloud/healthGETReturns {"status":"ok","version":"<v>","services":[...]}.
/_fakecloud/reset/{service}POSTReset all state for a single service.
/_fakecloud/reset/{service}/{account_id}POSTReset a single service for one account (multi-account setups).
curl http://localhost:4566/_fakecloud/health
{
  "status": "ok",
  "version": "0.13.3",
  "services": [
    "apigatewayv2", "bedrock", "cloudformation", "cognito-idp",
    "dynamodb", "elasticache", "events", "iam", "kinesis", "kms",
    "lambda", "logs", "rds", "s3", "secretsmanager", "ses", "sns",
    "sqs", "ssm", "states", "sts"
  ]
}

ACM

EndpointMethodDescription
/_fakecloud/acm/certificates/{arn_or_id}/statusPOSTChange a certificate's status.
/_fakecloud/acm/certificates/{arn_or_id}/approvePOSTApprove a pending certificate.
/_fakecloud/acm/certificates/{arn_or_id}/chain-infoGETNEW -- Inspect issued chain (subject, issuer, SANs, validity).

API Gateway v2

EndpointMethodDescription
/_fakecloud/apigatewayv2/requestsGETList captured HTTP API requests.
/_fakecloud/apigatewayv2/connectionsGETList active WebSocket connections.
/_fakecloud/apigatewayv2/ws/{api_id}WSWebSocket upgrade endpoint backing a deployed WebSocket API.
/_fakecloud/apigatewayv2/domain-names/{name}/mtls-infoGETNEW -- Inspect attached mTLS trust store and client-CA bundle.

Application Auto Scaling

EndpointMethodDescription
/_fakecloud/application-autoscaling/tickPOSTTrigger one policy-evaluation tick.
/_fakecloud/application-autoscaling/scheduled-tickPOSTRun scheduled scaling actions that are due.

Athena

EndpointMethodDescription
/_fakecloud/athena/named-queriesGETNEW -- List every named query across workgroups with lastUsedAt bumped each time StartQueryExecution resolves the query by id.

Bedrock

EndpointMethodDescription
/_fakecloud/bedrock/invocationsGETList model invocations captured by the runtime.
/_fakecloud/bedrock/models/{model_id}/responsePOSTSet a single canned response for a model.
/_fakecloud/bedrock/models/{model_id}/responsesPOSTSet prompt-conditional response rules.
/_fakecloud/bedrock/faultsPOSTInject faults (throttle, timeout, error) into the next N invocations.

Bedrock Agent

EndpointMethodDescription
/_fakecloud/bedrock-agent/agentsGETNEW -- List agents flattened with aliases, versions, knowledge bases, and collaborators.

Bedrock Agent Runtime

EndpointMethodDescription
/_fakecloud/bedrock-agent-runtime/invocationsGETNEW -- List InvokeAgent / InvokeInlineAgent / InvokeFlow / Retrieve / RetrieveAndGenerate / CreateInvocation calls.

CloudFront

EndpointMethodDescription
/_fakecloud/cloudfront/distributions/{id}/statusPOSTChange a distribution's status (deployed / in-progress / failed).

CloudWatch

EndpointMethodDescription
/_fakecloud/cloudwatch/alarmsGETNEW -- Every metric and composite alarm across all accounts and regions, with current state, actions, and (metric alarms) namespace/metric/threshold/comparison or (composite alarms) the alarm rule. Sorted by account, region, name.
/_fakecloud/cloudwatch/metricsGETNEW -- Every unique metric series (account, region, namespace, metric, dimensions) with its datapoint count and latest datapoint. Sorted by account, region, namespace, metric.

GET /_fakecloud/cloudwatch/alarms response:

{
  "alarms": [
    {
      "accountId": "123456789012",
      "region": "us-east-1",
      "name": "HighErrors",
      "type": "metric",
      "state": "INSUFFICIENT_DATA",
      "stateReason": "Unchecked: Initial alarm creation",
      "stateUpdatedTimestamp": "2026-05-29T00:00:00+00:00",
      "actionsEnabled": true,
      "alarmActions": ["arn:aws:sns:us-east-1:123456789012:ops"],
      "okActions": [],
      "insufficientDataActions": [],
      "namespace": "MyApp",
      "metricName": "Errors",
      "threshold": 10.0,
      "comparisonOperator": "GreaterThanThreshold"
    },
    {
      "accountId": "123456789012",
      "region": "us-east-1",
      "name": "comp",
      "type": "composite",
      "state": "INSUFFICIENT_DATA",
      "stateReason": "",
      "stateUpdatedTimestamp": "2026-05-29T00:00:00+00:00",
      "actionsEnabled": true,
      "alarmActions": [],
      "okActions": [],
      "insufficientDataActions": [],
      "alarmRule": "ALARM(HighErrors)"
    }
  ]
}

GET /_fakecloud/cloudwatch/metrics response:

{
  "metrics": [
    {
      "accountId": "123456789012",
      "region": "us-east-1",
      "namespace": "MyApp",
      "metricName": "Requests",
      "dimensions": [{ "name": "Service", "value": "api" }],
      "datapointCount": 2,
      "latest": { "timestamp": "2026-05-29T00:00:00+00:00", "value": 42.0, "unit": "Count" }
    }
  ]
}

Cognito

EndpointMethodDescription
/_fakecloud/cognito/confirmation-codesGETList all pending sign-up/forgot-password codes.
/_fakecloud/cognito/confirmation-codes/{pool_id}/{username}GETCodes for a specific user.
/_fakecloud/cognito/confirm-userPOSTForce-confirm a user without code entry.
/_fakecloud/cognito/tokensGETList currently active access/ID/refresh tokens.
/_fakecloud/cognito/expire-tokensPOSTForcibly expire tokens.
/_fakecloud/cognito/auth-eventsGETList authentication events recorded by adaptive auth.
/_fakecloud/cognito/authorization-codesPOSTMint an OAuth2 authorization code (for hosted-UI flow simulation).
/_fakecloud/cognito/compromised-passwordsPOSTNEW -- Mark a password as compromised so the next AdminInitiateAuth surfaces the advisory.
/_fakecloud/cognito/webauthn-credentialsGETNEW -- List registered WebAuthn credentials with their attestation details.
/_fakecloud/cognito/pretokengen/invocationsGETNEW -- List PreTokenGeneration Lambda trigger invocations with parsed claim overrides, suppressed claims, and group overrides.

DynamoDB

EndpointMethodDescription
/_fakecloud/dynamodb/ttl-processor/tickPOSTExpire TTL items that are due.

ECR

EndpointMethodDescription
/_fakecloud/ecr/repositoriesGETList all repositories with image counts.
/_fakecloud/ecr/imagesGETList images across repositories.
/_fakecloud/ecr/pull-through-rulesGETList configured pull-through cache rules.

ECS

EndpointMethodDescription
/_fakecloud/ecs/clustersGETList clusters and their service/task counts.
/_fakecloud/ecs/tasksGETList tasks across clusters.
/_fakecloud/ecs/tasks/{task_id}GETFull task details (container state, exit codes, network).
/_fakecloud/ecs/tasks/{task_id}/logsGETCaptured stdout/stderr for task containers.
/_fakecloud/ecs/tasks/{task_id}/force-stopPOSTForce-stop a running task.
/_fakecloud/ecs/tasks/{task_id}/mark-failedPOSTMark a task as failed for testing failure handling.
/_fakecloud/ecs/eventsGETList ECS service/task lifecycle events.
/_fakecloud/ecs/creds/{task_id}GETTask IAM credentials (used by the ECS Exec data plane).
/_fakecloud/ecs/v3/{task_id}GETNEW -- ECS metadata v3 endpoint exposed to task containers.
/_fakecloud/ecs/v4/{task_id}GETNEW -- ECS metadata v4 endpoint exposed to task containers.
/_fakecloud/ecs/metadata/{task_arn}GETAggregated v4 metadata dump keyed by full task ARN (URL-encoded). Same shape as ECS_CONTAINER_METADATA_URI_V4, addressable from tests holding a RunTask response.

ElastiCache

EndpointMethodDescription
/_fakecloud/elasticache/clustersGETList cache clusters and node state.
/_fakecloud/elasticache/replication-groupsGETList replication groups with primary/replica layout.
/_fakecloud/elasticache/serverless-cachesGETList serverless cache resources.
/_fakecloud/elasticache/aclsGETList ACL state (users + user groups) for replication groups with user groups attached.

ELBv2

EndpointMethodDescription
/_fakecloud/elbv2/load-balancersGETList ALB/NLB/GWLB load balancers.
/_fakecloud/elbv2/target-groupsGETList target groups and target health.
/_fakecloud/elbv2/listenersGETList listeners across load balancers.
/_fakecloud/elbv2/rulesGETList listener rules.
/_fakecloud/elbv2/access-logs/flushPOSTForce-flush buffered access logs to S3.
/_fakecloud/elbv2/waf-countsGETNEW -- Per-target-group WAF allow/block counters.

EventBridge

EndpointMethodDescription
/_fakecloud/events/historyGETAll events seen plus per-rule delivery results.
/_fakecloud/events/fire-rulePOSTManually fire a rule against the current bus state.

Firehose

EndpointMethodDescription
/_fakecloud/firehose/delivery-streamsGETNEW -- Every Firehose delivery stream across accounts and regions, with stream type, lifecycle status, encryption summary, destination count, and timestamps. Sorted by account, name.

GET /_fakecloud/firehose/delivery-streams response:

{
  "deliveryStreams": [
    {
      "accountId": "123456789012",
      "name": "fh-intro",
      "arn": "arn:aws:firehose:us-east-1:123456789012:deliverystream/fh-intro",
      "streamType": "DirectPut",
      "status": "ACTIVE",
      "encryption": { "status": "ENABLED", "keyType": "AWS_OWNED_CMK" },
      "destinationCount": 1,
      "createTimestamp": "2026-05-29T00:00:00+00:00",
      "lastUpdateTimestamp": "2026-05-29T00:00:00+00:00"
    }
  ]
}

When a stream has no encryption configured, encryption is { "status": "DISABLED" } (no keyType/keyArn).

Glue

EndpointMethodDescription
/_fakecloud/glue/jobsGETNEW -- All Glue Jobs (CreateJob ledger) across accounts.
/_fakecloud/glue/job-runsGETNEW -- All JobRun state across accounts. Optional ?job_name=foo filter.
/_fakecloud/glue/crawlersGETNEW -- All Glue crawlers across accounts with role, database, state, a target summary, and timestamps. Sorted by account, name.

IAM

EndpointMethodDescription
/_fakecloud/iam/create-adminPOSTBootstrap an admin user in a non-default account (multi-account setups).

KMS

EndpointMethodDescription
/_fakecloud/kms/usageGETPer-key usage records (op, principal, timestamp) for billing/audit simulation.

Lambda

EndpointMethodDescription
/_fakecloud/lambda/invocationsGETAll recorded invocations (function, payload, response, duration).
/_fakecloud/lambda/warm-containersGETCurrent warm execution environments.
/_fakecloud/lambda/{function_name}/evict-containerPOSTForce a cold start by evicting warm containers.
/_fakecloud/lambda/layer-content/{account_id}/{layer_name}/{file}GETServe a layer zip (used by the invoke runtime to mount /opt).

Logs

EndpointMethodDescription
/_fakecloud/logs/anomalies/injectPOSTInject anomaly findings against a log group/anomaly detector.
/_fakecloud/logs/delivery-configGETNEW -- Persisted delivery configurations: Delivery joined with its DeliverySource.logType, plus recordFields, fieldDelimiter, s3DeliveryConfiguration, createdAt.
/_fakecloud/logs/field-indexes/{log_group_name}GETNEW -- Parsed Fields from each index policy on a log group. 404 when the group does not exist.

Organizations

EndpointMethodDescription
/_fakecloud/organizations/accountsGETNEW -- List every member account with lifecycle state, parent OU, tags, and directly-attached SCPs.
/_fakecloud/organizations/responsibility-transfersGETNEW -- Every billing responsibility transfer in the org, with direction (INBOUND/OUTBOUND), lifecycle status, source/target management accounts, and the active handshake. Sorted by id.

GET /_fakecloud/organizations/responsibility-transfers response:

{
  "responsibilityTransfers": [
    {
      "id": "rt-0123456789abcdef0123456789abcdef",
      "arn": "arn:aws:organizations::111111111111:responsibilitytransfer/o-abc123/rt-0123456789abcdef0123456789abcdef",
      "name": "my-billing-transfer",
      "type": "BILLING",
      "status": "REQUESTED",
      "direction": "OUTBOUND",
      "sourceManagementAccountId": "111111111111",
      "sourceManagementAccountEmail": "admin@example.com",
      "targetManagementAccountId": "222222222222",
      "targetManagementAccountEmail": "222222222222@example.com",
      "startTimestamp": "2026-05-29T00:00:00+00:00",
      "endTimestamp": null,
      "activeHandshakeId": "h-0123456789abcdef0123456789abcdef"
    }
  ]
}

endTimestamp and activeHandshakeId are null when not set. The list is empty when no organization exists.

RDS

EndpointMethodDescription
/_fakecloud/rds/instancesGETList DB instances with engine, status, and lifecycle metadata.
/_fakecloud/rds/lambda-invokePOSTInvoke a Lambda from the RDS aws_lambda extension bridge.
/_fakecloud/rds/s3-importPOSTRun an aws_s3 import (S3 -> Postgres/MySQL).
/_fakecloud/rds/s3-exportPOSTRun an aws_s3 export (Postgres/MySQL -> S3).

Route53

EndpointMethodDescription
/_fakecloud/route53/health-checks/{id}/statusPOSTFlip a health check status (healthy / unhealthy).
/_fakecloud/route53/zones/{id}/dnssecGETNEW -- Inspect a zone's DNSSEC configuration.
/_fakecloud/route53/zones/{id}/dnssec/signPOSTNEW -- Sign a zone's DNSSEC records.

S3

EndpointMethodDescription
/_fakecloud/s3/notificationsGETAll bucket notification events captured.
/_fakecloud/s3/lifecycle-processor/tickPOSTRun one lifecycle evaluation tick.
/_fakecloud/s3/access-pointsGETNEW -- Registry of S3 access points across all accounts.
/_fakecloud/s3/object-lambda-responsesGETNEW -- Stored bodies from WriteGetObjectResponse calls (S3 Object Lambda).

Scheduler (EventBridge Scheduler)

EndpointMethodDescription
/_fakecloud/scheduler/schedulesGETList all schedules across groups.
/_fakecloud/scheduler/fire/{group}/{name}POSTManually fire a schedule's target.

Secrets Manager

EndpointMethodDescription
/_fakecloud/secretsmanager/rotation-scheduler/tickPOSTRotate any secrets whose rotation window is due.

SES

EndpointMethodDescription
/_fakecloud/ses/emailsGETList sent emails with full envelope and body.
/_fakecloud/ses/inboundPOSTSimulate an inbound email being received by a rule set.
/_fakecloud/ses/account/sandboxPOSTMove the account in or out of the SES sandbox.
/_fakecloud/ses/identities/{name}/mail-from-statusPOSTSet the custom MAIL FROM verification state.
/_fakecloud/ses/identities/{name}/dkim-public-keyGETFetch the published DKIM public key for an identity.
/_fakecloud/ses/metricsGETNEW -- Aggregate send metrics (sends, bounces, complaints, deliveries).
/_fakecloud/ses/bouncesGETList bounces queued via SendBounce with per-recipient DSN fields.
/_fakecloud/ses/messages/{message_id}/insightsGETPer-message delivery tracking (sends, deliveries, bounces, complaints).
/_fakecloud/ses/smtp/submissionsGETMessages accepted via the SMTP submission listener.
/_fakecloud/ses/event-destinations/deliveriesGETLog of every event dispatched to a configured event destination.

SNS

EndpointMethodDescription
/_fakecloud/sns/messagesGETAll Publish calls with per-subscriber delivery results.
/_fakecloud/sns/pending-confirmationsGETList subscriptions waiting on confirmation.
/_fakecloud/sns/confirm-subscriptionPOSTForce-confirm a pending subscription.
/_fakecloud/sns/smsGETList delivered SMS messages.
/_fakecloud/sns/cert.pemGETServe the SNS signing certificate (PEM) used to verify message signatures.

SQS

EndpointMethodDescription
/_fakecloud/sqs/messagesGETList messages across queues.
/_fakecloud/sqs/expiration-processor/tickPOSTExpire messages whose retention window has passed.
/_fakecloud/sqs/{queue_name}/force-dlqPOSTForce-move in-flight messages to the dead-letter queue.

SSM

EndpointMethodDescription
/_fakecloud/ssm/commands/{command_id}/statusPOSTChange a Run Command invocation status.
/_fakecloud/ssm/commands/{command_id}/failPOSTMark all invocations of a command as failed.
/_fakecloud/ssm/parameter-policy-eventsGETList Parameter Store policy events (Expiration/NoChangeNotification).
/_fakecloud/ssm/parameter-policy-eventsDELETEClear recorded policy events.
/_fakecloud/ssm/sessions/injectPOSTNEW -- Inject a fully-formed Session Manager session for testing.

Step Functions

EndpointMethodDescription
/_fakecloud/stepfunctions/executionsGETList state-machine executions and step history.
/_fakecloud/stepfunctions/enqueue-activity-taskPOSTEnqueue an activity task for a worker to pick up.

WAFv2

EndpointMethodDescription
/_fakecloud/wafv2/evaluatePOSTEvaluate an arbitrary request against a Web ACL's rules and return the verdict.

Conventions

  • All endpoints return JSON unless otherwise noted (the SNS cert.pem route returns application/x-pem-file, the Lambda layer-content route returns application/zip, the API Gateway v2 WebSocket route is an upgrade endpoint).
  • Path parameters use {snake_case} placeholders.
  • POST endpoints that mutate state always accept an empty body when no parameters are required.
  • All endpoints are gated behind the fakecloud server itself -- they are never exposed by the real AWS SDKs, so production traffic cannot reach them by accident.

NEW markers reflect endpoints added in the last two weeks (2026-04-27 through 2026-05-11). Older entries with no marker are stable parts of the introspection surface.