command_executions_for_sandboxes
Creates, updates, deletes, gets or lists a command_executions_for_sandboxes resource.
Overview
| Name | command_executions_for_sandboxes |
| Type | Resource |
| Id | aws.codebuild.command_executions_for_sandboxes |
Fields
The following fields are returned by SELECT queries:
- list_command_executions_for_sandbox
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the command execution. |
command | string | The command that needs to be executed. |
end_time | string (date-time) | When the command execution process ended, expressed in Unix time format. |
exit_code | string | The exit code to return upon completion. |
logs | object | Information about build logs in CloudWatch Logs. |
sandbox_arn | string | A sandboxArn. |
sandbox_id | string | A sandboxId. |
standard_err_content | string | The text written by the command to stderr. |
standard_output_content | string | The text written by the command to stdout. |
start_time | string (date-time) | When the command execution process started, expressed in Unix time format. |
status | string | The status of the command execution. |
submit_time | string (date-time) | When the command execution process was initially submitted, expressed in Unix time format. |
type_ | string | The command type. (SHELL) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_command_executions_for_sandbox | select | region | Gets 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_command_executions_for_sandbox
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
;