Skip to main content

sandboxes

Creates, updates, deletes, gets or lists a sandboxes resource.

Overview

Namesandboxes
TypeResource
Idaws.codebuild.sandboxes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
sandboxesarrayInformation about the requested sandboxes.
sandboxes_not_foundarrayThe IDs of sandboxes for which information could not be found.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_sandboxesselectregionGets information about the sandbox status.
list_sandboxesselectregionGets a list of sandboxes.
start_command_executionexecregion, sandboxId, commandStarts a command execution.
start_sandbox_connectionexecregion, sandboxIdStarts a sandbox connection.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets information about the sandbox status.

SELECT
sandboxes,
sandboxes_not_found
FROM aws.codebuild.sandboxes
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods

Starts a command execution.

EXEC aws.codebuild.sandboxes.start_command_execution
@region='{{ region }}' --required
@@json=
'{
"sandboxId": "{{ sandboxId }}",
"command": "{{ command }}",
"type": "{{ type }}"
}'
;