CloudWatch Logs
Protocol: JSON 1.1 (X-Amz-Target: Logs.*)Endpoint:
POST http://localhost:4566/
CloudWatch Logs supports log groups, log streams, event ingestion, retention policies, filtering, and tagging.
CloudWatch Logs operations (14)
CloudWatch Logs operations (14)
| Action | Description |
|---|---|
CreateLogGroup | Create a log group |
DeleteLogGroup | Delete a log group |
DescribeLogGroups | List log groups |
CreateLogStream | Create a log stream inside a log group |
DeleteLogStream | Delete a log stream |
DescribeLogStreams | List log streams in a group |
PutLogEvents | Write log events to a stream |
GetLogEvents | Read log events from a stream |
FilterLogEvents | Search log events with a filter pattern |
PutRetentionPolicy | Set log retention (days) |
DeleteRetentionPolicy | Remove log retention policy |
TagLogGroup | Tag a log group |
UntagLogGroup | Remove tags |
ListTagsLogGroup | List tags |
Configuration
Examples
CloudWatch Metrics
Protocol: Query (XML) and JSON 1.1 (both supported)Endpoint:
POST http://localhost:4566/
CloudWatch Metrics supports publishing custom metrics, querying statistics, and managing alarms.
CloudWatch Metrics operations (8)
CloudWatch Metrics operations (8)
| Action | Description |
|---|---|
PutMetricData | Publish custom metrics |
ListMetrics | List available metrics |
GetMetricStatistics | Get metric statistics (Average, Sum, etc.) |
GetMetricData | Query metrics with math expressions |
PutMetricAlarm | Create a metric alarm |
DescribeAlarms | List alarms |
DeleteAlarms | Delete alarms |
SetAlarmState | Manually set alarm state |
Examples
Step Functions
Protocol: JSON 1.1 (X-Amz-Target: AmazonStatesService.*)Endpoint:
POST http://localhost:4566/
Step Functions supports Standard and Express state machines with full ASL execution, task token callbacks, and execution history.
Step Functions operations (12)
Step Functions operations (12)
| Action | Description |
|---|---|
CreateStateMachine | Create a state machine (Standard or Express) |
DescribeStateMachine | Get state machine definition and metadata |
ListStateMachines | List all state machines |
DeleteStateMachine | Delete a state machine |
StartExecution | Start a new execution |
DescribeExecution | Get execution status and output |
ListExecutions | List executions for a state machine |
StopExecution | Stop a running execution |
GetExecutionHistory | Get the full event history of an execution |
SendTaskSuccess | Report task success (for .waitForTaskToken tasks) |
SendTaskFailure | Report task failure |
SendTaskHeartbeat | Send a heartbeat for long-running tasks |
Examples
CloudFormation
Protocol: Query (XML) —POST http://localhost:4566/ with Action= parameter
CloudFormation supports stacks, change sets, resource provisioning, stack sets, and stack policies.
CloudFormation operations (20+)
CloudFormation operations (20+)
| Action | Description |
|---|---|
CreateStack | Deploy a CloudFormation template |
UpdateStack | Update an existing stack |
DeleteStack | Delete a stack and its resources |
DescribeStacks | Get stack status and outputs |
ListStacks | List stacks by status |
DescribeStackEvents | Get stack creation/update event history |
DescribeStackResources | Get all resources in a stack |
DescribeStackResource | Get a specific stack resource |
ListStackResources | List resource summaries |
GetTemplate | Retrieve the template body |
ValidateTemplate | Validate a template without deploying |
CreateChangeSet | Create a change set |
DescribeChangeSet | Get change set details |
ExecuteChangeSet | Apply a change set |
ListChangeSets | List change sets for a stack |
DeleteChangeSet | Delete a change set |
SetStackPolicy | Set a stack policy |
GetStackPolicy | Retrieve the current stack policy |
ListStackSets | List StackSets |
DescribeStackSet | Get StackSet details |
CreateStackSet | Create a new StackSet |