CloudSparkTrigger AWS Lambda functions, AWS Batch jobs, and AWS CodeBuild builds from the VS Code sidebar. Declare them in JSON config files; CloudSpark lists them and runs them on click. CredentialsCloudSpark reads your AWS credentials automatically, in order:
Config filesDefault per-user location (available in every window):
Open the CloudSpark view in the Activity Bar and click Create Config File to
scaffold a template. To use a workspace-specific file, set
Lambda
Batch
Multi-container ECS jobs (
|
| Container field | Required | Notes |
|---|---|---|
name.value |
yes | Container name to target (must match one in the job definition). |
name.override |
no | When true, prompts to edit the name before each run. |
command.value |
no | Command for that container (JSON array of strings). |
command.override |
no | When true, prompts to edit the command before each run. |
Parameters (parameters)
AWS Batch parameters fill Ref::name placeholders defined in the job
definition's command. Each value is either a plain string (static) or a
{ "value": …, "override": true } object that prompts you to edit it at trigger
time. Parameters work alongside command or container (they are a separate
SubmitJob field).
{
"jobName": "nightly-etl",
"jobQueue": "my-job-queue",
"jobDefinition": "my-job-def:1",
"region": "us-east-1",
"parameters": {
"mode": "full",
"runDate": { "value": "2026-01-01", "override": true }
}
}
CodeBuild
Start a build for a CodeBuild project, optionally choosing the branch and overriding environment variables. Every CodeBuild build asks for confirmation before it starts.
{
"projects": [
{
"label": "Deploy web app",
"projectName": "my-app-build",
"region": "us-east-1",
"branch": { "value": "master", "override": true },
"environment": {
"ENV": { "value": "dev", "override": true }
}
}
]
}
| Field | Required | Notes |
|---|---|---|
projectName |
yes | The CodeBuild project to start a build for. |
region |
yes | The AWS region the project lives in (e.g. us-east-1). |
label |
no | Display name in the tree (defaults to projectName). |
branch |
no | { "value": …, "override": true\|false } — the branch/tag/commit to build (AWS sourceVersion). Defaults to master when omitted; override: true prompts before each run. |
environment |
no | Map of NAME → value overriding the project's environment variables (AWS environmentVariablesOverride, sent as PLAINTEXT). Each value is a plain string (static) or { "value": …, "override": true } to prompt at trigger time. |
project |
no | Groups projects sharing the value under a folder row. |
Notes
- Every entry carries its own
region— there is no file-level region. A block missing one is flagged as an error in the tree. - In a row's description,
O↑marks an override entry (prompts to edit before running) and⚠marks an entry that asks for confirmation (adestructiveLambda/Batch entry, or any CodeBuild build). Hover for details. - Results and errors stream to the CloudSpark output channel.