Skip to main content

command_executions_for_sandboxes

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

Overview

Namecommand_executions_for_sandboxes
TypeResource
Idaws.codebuild.command_executions_for_sandboxes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the command execution.
commandstringThe command that needs to be executed.
end_timestring (date-time)When the command execution process ended, expressed in Unix time format.
exit_codestringThe exit code to return upon completion.
logsobjectInformation about build logs in CloudWatch Logs.
sandbox_arnstringA sandboxArn.
sandbox_idstringA sandboxId.
standard_err_contentstringThe text written by the command to stderr.
standard_output_contentstringThe text written by the command to stdout.
start_timestring (date-time)When the command execution process started, expressed in Unix time format.
statusstringThe status of the command execution.
submit_timestring (date-time)When the command execution process was initially submitted, expressed in Unix time format.
type_stringThe command type. (SHELL)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_command_executions_for_sandboxselectregionGets a list of command executions for a sandbox.

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 a list of command executions for a sandbox.

SELECT
id,
command,
end_time,
exit_code,
logs,
sandbox_arn,
sandbox_id,
standard_err_content,
standard_output_content,
start_time,
status,
submit_time,
type_
FROM aws.codebuild.command_executions_for_sandboxes
WHERE region = '{{ region }}' -- required
;