AWS Fundamentals Logo
AWS Fundamentals
AWS::CodeBuild::Sandbox

CodeBuild Sandbox

Represents a CodeBuild sandbox, an ephemeral compute environment started from a CodeBuild project.

Properties

1 configurable property. Click a row to see details.

Filter:
PropertyTypeFlags
ProjectName
string
Create-only

Return Values

Values returned after the resource is created. Access these with Fn::GetAtt.

AttributeTypeDescription
ArnstringThe ARN of the sandbox.
EncryptionKeystringThe KMS key used for encrypting the sandbox output artifacts.
IdstringThe ID of the sandbox.
QueuedTimeoutInMinutesintegerThe number of minutes a sandbox is allowed to be queued before it times out.
RequestTimestringWhen the sandbox process was initially requested, expressed in ISO 8601 format.
ServiceRolestringThe name of a service role used for this sandbox.
StartTimestringWhen the sandbox process started, expressed in ISO 8601 format.
StatusstringThe status of the sandbox.
TimeoutInMinutesintegerHow long, in minutes, for CodeBuild to wait before timing out this sandbox.

Sample CloudFormation Template

A minimal template with required properties and common optional ones.

template.yaml
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::CodeBuild::Sandbox

Resources:
  MyResource:
    Type: AWS::CodeBuild::Sandbox
    Properties:

Required IAM Permissions

Permissions CloudFormation needs in your IAM role to manage this resource.

read

codebuild:BatchGetSandboxes

list

codebuild:ListSandboxes

Get the CodeBuild Cheat Sheet

Everything you need to know about CodeBuild on one page. HD quality, print-friendly.

Download Free Infographic

Quick Facts

ServiceCodeBuild
Properties10
Required0
TaggingNot supported
Primary IDArn

Supported Operations

ReadList

Immutable After Creation

These properties cannot be changed after the resource is created. Updating them triggers a replacement.

ProjectName

External Links