{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-codebuild/json-schema/aws-codebuild-batch-get-sandboxes-output-schema.json",
  "title": "BatchGetSandboxesOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-codebuild-sandboxe-api-openapi.yml#/components/schemas/BatchGetSandboxesOutput",
  "type": "object",
  "properties": {
    "sandboxes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Sandbox"
      },
      "description": "Information about the requested sandboxes."
    },
    "sandboxesNotFound": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of sandboxes for which information could not be found."
    }
  },
  "$defs": {
    "BuildStatusConfig": {
      "type": "object",
      "properties": {
        "context": {
          "type": "string",
          "description": "Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider. Bitbucket This parameter is used for the name parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. GitHub/GitHub Enterprise Server This parameter is used for the context parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide."
        },
        "targetUrl": {
          "type": "string",
          "description": "Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider. Bitbucket This parameter is used for the url parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. GitHub/GitHub Enterprise Server This parameter is used for the target_url parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide."
        }
      }
    },
    "CloudWatchLogsConfig": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The current status of the logs in CloudWatch Logs for a build project. Valid values are: ENABLED: CloudWatch Logs are enabled for this build project. DISABLED: CloudWatch Logs are not enabled for this build project."
        },
        "groupName": {
          "type": "string",
          "description": "The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams."
        },
        "streamName": {
          "type": "string",
          "description": "The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams."
        }
      },
      "required": [
        "status"
      ]
    },
    "ComputeConfiguration": {
      "type": "object",
      "properties": {
        "vCpu": {
          "type": "integer",
          "description": "The number of vCPUs of the instance type included in your fleet."
        },
        "memory": {
          "type": "integer",
          "description": "The amount of memory of the instance type included in your fleet."
        },
        "disk": {
          "type": "integer",
          "description": "The amount of disk space of the instance type included in your fleet."
        },
        "machineType": {
          "type": "string",
          "enum": [
            "GENERAL",
            "NVME"
          ],
          "description": "The machine type of the instance type included in your fleet."
        },
        "instanceType": {
          "type": "string",
          "description": "The EC2 instance type to be launched in your fleet."
        }
      }
    },
    "DockerServer": {
      "type": "object",
      "properties": {
        "computeType": {
          "type": "string",
          "enum": [
            "BUILD_GENERAL1_SMALL",
            "BUILD_GENERAL1_MEDIUM",
            "BUILD_GENERAL1_LARGE",
            "BUILD_GENERAL1_XLARGE",
            "BUILD_GENERAL1_2XLARGE",
            "BUILD_LAMBDA_1GB",
            "BUILD_LAMBDA_2GB",
            "BUILD_LAMBDA_4GB",
            "BUILD_LAMBDA_8GB",
            "BUILD_LAMBDA_10GB",
            "ATTRIBUTE_BASED_COMPUTE",
            "CUSTOM_INSTANCE_TYPE"
          ],
          "description": "Information about the compute resources the docker server uses. Available values include: BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server. BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server. BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server. BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server."
        },
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of one or more security groups IDs. Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876."
        },
        "status": {
          "$ref": "#/$defs/DockerServerStatus"
        }
      },
      "required": [
        "computeType"
      ]
    },
    "DockerServerStatus": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "description": "The status of the docker server."
        },
        "message": {
          "type": "string",
          "description": "A message associated with the status of a docker server."
        }
      }
    },
    "EnvironmentVariable": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name or key of the environment variable."
        },
        "value": {
          "type": "string",
          "description": "The value of the environment variable. We strongly discourage the use of PLAINTEXT environment variables to store sensitive values, especially Amazon Web Services secret key IDs. PLAINTEXT environment variables can be displayed in plain text using the CodeBuild console and the CLI. For sensitive values, we recommend you use an environment variable of type PARAMETER_STORE or SECRETS_MANAGER."
        },
        "type": {
          "type": "string",
          "enum": [
            "PLAINTEXT",
            "PARAMETER_STORE",
            "SECRETS_MANAGER"
          ],
          "description": "The type of environment variable. Valid values include: PARAMETER_STORE: An environment variable stored in Systems Manager Parameter Store. For environment variables of this type, specify the name of the parameter as the value of the EnvironmentVariable. The parameter value will be substituted for the name at runtime. You can also define Parameter Store environment variables in the buildspec. To learn how to do so, see env/parameter-store in the CodeBuild User Guide. PLAINTEXT: An environment variable in plain text format. This is the default value. SECRETS_MANAGER: An environment variable sto"
        }
      },
      "required": [
        "name",
        "value"
      ]
    },
    "GitSubmodulesConfig": {
      "type": "object",
      "properties": {
        "fetchSubmodules": {
          "type": "boolean",
          "description": "Set to true to fetch Git submodules for your CodeBuild build project."
        }
      },
      "required": [
        "fetchSubmodules"
      ]
    },
    "LogsConfig": {
      "type": "object",
      "properties": {
        "cloudWatchLogs": {
          "$ref": "#/$defs/CloudWatchLogsConfig"
        },
        "s3Logs": {
          "$ref": "#/$defs/S3LogsConfig"
        }
      }
    },
    "LogsLocation": {
      "type": "object",
      "properties": {
        "groupName": {
          "type": "string",
          "description": "The name of the CloudWatch Logs group for the build logs."
        },
        "streamName": {
          "type": "string",
          "description": "The name of the CloudWatch Logs stream for the build logs."
        },
        "deepLink": {
          "type": "string",
          "description": "The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink will not be valid until it is created."
        },
        "s3DeepLink": {
          "type": "string",
          "description": "The URL to a build log in an S3 bucket."
        },
        "cloudWatchLogsArn": {
          "type": "string",
          "description": "The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs."
        },
        "s3LogsArn": {
          "type": "string",
          "description": "The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}. For more information, see Resources Defined by Amazon S3."
        },
        "cloudWatchLogs": {
          "$ref": "#/$defs/CloudWatchLogsConfig"
        },
        "s3Logs": {
          "$ref": "#/$defs/S3LogsConfig"
        }
      }
    },
    "NetworkInterface": {
      "type": "object",
      "properties": {
        "subnetId": {
          "type": "string",
          "description": "The ID of the subnet."
        },
        "networkInterfaceId": {
          "type": "string",
          "description": "The ID of the network interface."
        }
      }
    },
    "PhaseContext": {
      "type": "object",
      "properties": {
        "statusCode": {
          "type": "string",
          "description": "The status code for the context of the build phase."
        },
        "message": {
          "type": "string",
          "description": "An explanation of the build phase's context. This might include a command ID and an exit code."
        }
      }
    },
    "ProjectEnvironment": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "WINDOWS_CONTAINER",
            "LINUX_CONTAINER",
            "LINUX_GPU_CONTAINER",
            "ARM_CONTAINER",
            "WINDOWS_SERVER_2019_CONTAINER",
            "WINDOWS_SERVER_2022_CONTAINER",
            "LINUX_LAMBDA_CONTAINER",
            "ARM_LAMBDA_CONTAINER",
            "LINUX_EC2",
            "ARM_EC2",
            "WINDOWS_EC2",
            "MAC_ARM"
          ],
          "description": "The type of build environment to use for related builds. If you're using compute fleets during project creation, type will be ignored. For more information, see Build environment compute types in the CodeBuild user guide."
        },
        "image": {
          "type": "string",
          "description": "The image tag or image digest that identifies the Docker image to use for this build project. Use the following formats: For an image tag: /:. For example, in the Docker repository that CodeBuild uses to manage its Docker images, this would be aws/codebuild/standard:4.0. For an image digest: /@. For example, to specify an image with the digest \"sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf,\" use /@sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0382cfbdbf. For more information, see Docker images provided by CodeBuild in the CodeBuild user guide."
        },
        "computeType": {
          "type": "string",
          "enum": [
            "BUILD_GENERAL1_SMALL",
            "BUILD_GENERAL1_MEDIUM",
            "BUILD_GENERAL1_LARGE",
            "BUILD_GENERAL1_XLARGE",
            "BUILD_GENERAL1_2XLARGE",
            "BUILD_LAMBDA_1GB",
            "BUILD_LAMBDA_2GB",
            "BUILD_LAMBDA_4GB",
            "BUILD_LAMBDA_8GB",
            "BUILD_LAMBDA_10GB",
            "ATTRIBUTE_BASED_COMPUTE",
            "CUSTOM_INSTANCE_TYPE"
          ],
          "description": "Information about the compute resources the build project uses. Available values include: ATTRIBUTE_BASED_COMPUTE: Specify the amount of vCPUs, memory, disk space, and the type of machine. If you use ATTRIBUTE_BASED_COMPUTE, you must define your attributes by using computeConfiguration. CodeBuild will select the cheapest instance that satisfies your specified attributes. For more information, see Reserved capacity environment types in the CodeBuild User Guide. BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for builds. BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for buil"
        },
        "computeConfiguration": {
          "$ref": "#/$defs/ComputeConfiguration"
        },
        "fleet": {
          "$ref": "#/$defs/ProjectFleet"
        },
        "environmentVariables": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EnvironmentVariable"
          },
          "description": "A set of environment variables to make available to builds for this build project."
        },
        "privilegedMode": {
          "type": "boolean",
          "description": "Enables running the Docker daemon inside a Docker container. Set to true only if the build project is used to build Docker images. Otherwise, a build that attempts to interact with the Docker daemon fails. The default setting is false. You can initialize the Docker daemon during the install phase of your build by adding one of the following sets of commands to the install phase of your buildspec file: If the operating system's base image is Ubuntu Linux: - nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay& - timeout 15 sh -c \"unt"
        },
        "certificate": {
          "type": "string",
          "description": "The ARN of the Amazon S3 bucket, path prefix, and object key that contains the PEM-encoded certificate for the build project. For more information, see certificate in the CodeBuild User Guide."
        },
        "registryCredential": {
          "$ref": "#/$defs/RegistryCredential"
        },
        "imagePullCredentialsType": {
          "type": "string",
          "enum": [
            "CODEBUILD",
            "SERVICE_ROLE"
          ],
          "description": "The type of credentials CodeBuild uses to pull images in your build. There are two valid values: CODEBUILD specifies that CodeBuild uses its own credentials. This requires that you modify your ECR repository policy to trust CodeBuild service principal. SERVICE_ROLE specifies that CodeBuild uses your build project's service role. When you use a cross-account or private registry image, you must use SERVICE_ROLE credentials. When you use an CodeBuild curated image, you must use CODEBUILD credentials."
        },
        "dockerServer": {
          "$ref": "#/$defs/DockerServer"
        },
        "hostKernel": {
          "type": "string",
          "enum": [
            "LINUX_KERNEL_4",
            "LINUX_KERNEL_6",
            "LINUX_KERNEL_LATEST"
          ],
          "description": "The host operating system kernel used for on-demand builds in the build project. The host kernel does not affect the build environment operating system, which is determined by the image you specify. Valid values are: LINUX_KERNEL_4: Runs on an Amazon Linux 2 host (kernel 4.x). LINUX_KERNEL_6: Runs on an Amazon Linux 2023 host (kernel 6.x). LINUX_KERNEL_LATEST: Runs on the latest supported host kernel. This setting applies to the LINUX_CONTAINER, ARM_CONTAINER, LINUX_EC2, and ARM_EC2 environment types. It is not applicable to Windows, Lambda, or Mac environment types."
        }
      },
      "required": [
        "type",
        "image",
        "computeType"
      ]
    },
    "ProjectFileSystemLocation": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "EFS"
          ],
          "description": "The type of the file system. The one supported type is EFS."
        },
        "location": {
          "type": "string",
          "description": "A string that specifies the location of the file system created by Amazon EFS. Its format is efs-dns-name:/directory-path. You can find the DNS name of file system when you view it in the Amazon EFS console. The directory path is a path to a directory in the file system that CodeBuild mounts. For example, if the DNS name of a file system is fs-abcd1234.efs.us-west-2.amazonaws.com, and its mount directory is my-efs-mount-directory, then the location is fs-abcd1234.efs.us-west-2.amazonaws.com:/my-efs-mount-directory. The directory path in the format efs-dns-name:/directory-path is optional. If y"
        },
        "mountPoint": {
          "type": "string",
          "description": "The location in the container where you mount the file system."
        },
        "identifier": {
          "type": "string",
          "description": "The name used to access a file system created by Amazon EFS. CodeBuild creates an environment variable by appending the identifier in all capital letters to CODEBUILD_. For example, if you specify my_efs for identifier, a new environment variable is create named CODEBUILD_MY_EFS. The identifier is used to mount your file system."
        },
        "mountOptions": {
          "type": "string",
          "description": "The mount options for a file system created by Amazon EFS. The default mount options used by CodeBuild are nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2. For more information, see Recommended NFS Mount Options."
        }
      }
    },
    "ProjectFleet": {
      "type": "object",
      "properties": {
        "fleetArn": {
          "type": "string",
          "description": "Specifies the compute fleet ARN for the build project."
        }
      }
    },
    "ProjectSource": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "CODECOMMIT",
            "CODEPIPELINE",
            "GITHUB",
            "GITLAB",
            "GITLAB_SELF_MANAGED",
            "S3",
            "BITBUCKET",
            "GITHUB_ENTERPRISE",
            "NO_SOURCE"
          ],
          "description": "The type of repository that contains the source code to be built. Valid values include: BITBUCKET: The source code is in a Bitbucket repository. CODECOMMIT: The source code is in an CodeCommit repository. CODEPIPELINE: The source code settings are specified in the source action of a pipeline in CodePipeline. GITHUB: The source code is in a GitHub repository. GITHUB_ENTERPRISE: The source code is in a GitHub Enterprise Server repository. GITLAB: The source code is in a GitLab repository. GITLAB_SELF_MANAGED: The source code is in a self-managed GitLab repository. NO_SOURCE: The project does not"
        },
        "location": {
          "type": "string",
          "description": "Information about the location of the source code to be built. Valid values include: For source code settings that are specified in the source action of a pipeline in CodePipeline, location should not be specified. If it is specified, CodePipeline ignores it. This is because CodePipeline uses the settings in a pipeline's source action instead of this value. For source code in an CodeCommit repository, the HTTPS clone URL to the repository that contains the source code and the buildspec file (for example, https://git-codecommit..amazonaws.com/v1/repos/). For source code in an Amazon S3 input bu"
        },
        "gitCloneDepth": {
          "type": "integer",
          "description": "Information about the Git clone depth for the build project."
        },
        "gitSubmodulesConfig": {
          "$ref": "#/$defs/GitSubmodulesConfig"
        },
        "buildspec": {
          "type": "string",
          "description": "The buildspec file declaration to use for the builds in this build project. If this value is set, it can be either an inline buildspec definition, the path to an alternate buildspec file relative to the value of the built-in CODEBUILD_SRC_DIR environment variable, or the path to an S3 bucket. The bucket must be in the same Amazon Web Services Region as the build project. Specify the buildspec file using its ARN (for example, arn:aws:s3:::my-codebuild-sample2/buildspec.yml). If this value is not provided or is set to an empty string, the source code must contain a buildspec file in its root dir"
        },
        "auth": {
          "$ref": "#/$defs/SourceAuth"
        },
        "reportBuildStatus": {
          "type": "boolean",
          "description": "Set to true to report the status of a build's start and finish to your source provider. This option is valid only when your source provider is GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, GitLab, GitLab Self Managed, or Bitbucket. If this is set and you use a different source provider, an invalidInputException is thrown. To be able to report the build status to the source provider, the user associated with the source provider must have write access to the repo. If the user does not have write access, the build status cannot be updated. For more information, see Source provider acces"
        },
        "buildStatusConfig": {
          "$ref": "#/$defs/BuildStatusConfig"
        },
        "insecureSsl": {
          "type": "boolean",
          "description": "Enable this flag to ignore SSL warnings while connecting to the project source code."
        },
        "sourceIdentifier": {
          "type": "string",
          "description": "An identifier for this project source. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length."
        }
      },
      "required": [
        "type"
      ]
    },
    "ProjectSourceVersion": {
      "type": "object",
      "properties": {
        "sourceIdentifier": {
          "type": "string",
          "description": "An identifier for a source in the build project. The identifier can only contain alphanumeric characters and underscores, and must be less than 128 characters in length."
        },
        "sourceVersion": {
          "type": "string",
          "description": "The source version for the corresponding source identifier. If specified, must be one of: For CodeCommit: the commit ID, branch, or Git tag to use. For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID (for example, pr/25). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used. For GitLab: the commit ID, branch, or Git tag to use. For Bitbucket: the commit ID,"
        }
      },
      "required": [
        "sourceIdentifier",
        "sourceVersion"
      ]
    },
    "RegistryCredential": {
      "type": "object",
      "properties": {
        "credential": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager. The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region."
        },
        "credentialProvider": {
          "type": "string",
          "enum": [
            "SECRETS_MANAGER"
          ],
          "description": "The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager."
        }
      },
      "required": [
        "credential",
        "credentialProvider"
      ]
    },
    "S3LogsConfig": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The current status of the S3 build logs. Valid values are: ENABLED: S3 build logs are enabled for this build project. DISABLED: S3 build logs are not enabled for this build project."
        },
        "location": {
          "type": "string",
          "description": "The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket, and your path prefix is build-log, then acceptable formats are my-bucket/build-log or arn:aws:s3:::my-bucket/build-log."
        },
        "encryptionDisabled": {
          "type": "boolean",
          "description": "Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted."
        },
        "bucketOwnerAccess": {
          "type": "string",
          "enum": [
            "NONE",
            "READ_ONLY",
            "FULL"
          ]
        }
      },
      "required": [
        "status"
      ]
    },
    "Sandbox": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the sandbox."
        },
        "arn": {
          "type": "string",
          "description": "The ARN of the sandbox."
        },
        "projectName": {
          "type": "string",
          "description": "The CodeBuild project name."
        },
        "requestTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox process was initially requested, expressed in Unix time format."
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox process started, expressed in Unix time format."
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox process ended, expressed in Unix time format."
        },
        "status": {
          "type": "string",
          "description": "The status of the sandbox."
        },
        "source": {
          "$ref": "#/$defs/ProjectSource"
        },
        "sourceVersion": {
          "type": "string",
          "description": "Any version identifier for the version of the sandbox to be built."
        },
        "secondarySources": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProjectSource"
          },
          "description": "An array of ProjectSource objects."
        },
        "secondarySourceVersions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProjectSourceVersion"
          },
          "description": "An array of ProjectSourceVersion objects."
        },
        "environment": {
          "$ref": "#/$defs/ProjectEnvironment"
        },
        "fileSystemLocations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ProjectFileSystemLocation"
          },
          "description": "An array of ProjectFileSystemLocation objects for a CodeBuild build project. A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System."
        },
        "timeoutInMinutes": {
          "type": "integer",
          "description": "How long, in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out this sandbox if it does not get marked as completed."
        },
        "queuedTimeoutInMinutes": {
          "type": "integer",
          "description": "The number of minutes a sandbox is allowed to be queued before it times out."
        },
        "vpcConfig": {
          "$ref": "#/$defs/VpcConfig"
        },
        "logConfig": {
          "$ref": "#/$defs/LogsConfig"
        },
        "encryptionKey": {
          "type": "string",
          "description": "The Key Management Service customer master key (CMK) to be used for encrypting the sandbox output artifacts."
        },
        "serviceRole": {
          "type": "string",
          "description": "The name of a service role used for this sandbox."
        },
        "currentSession": {
          "$ref": "#/$defs/SandboxSession"
        }
      }
    },
    "SandboxSession": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the sandbox session."
        },
        "status": {
          "type": "string",
          "description": "The status of the sandbox session."
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox session started, expressed in Unix time format."
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox session ended, expressed in Unix time format."
        },
        "currentPhase": {
          "type": "string",
          "description": "The current phase for the sandbox."
        },
        "phases": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SandboxSessionPhase"
          },
          "description": "An array of SandboxSessionPhase objects."
        },
        "resolvedSourceVersion": {
          "type": "string",
          "description": "An identifier for the version of this sandbox's source code."
        },
        "logs": {
          "$ref": "#/$defs/LogsLocation"
        },
        "networkInterface": {
          "$ref": "#/$defs/NetworkInterface"
        }
      }
    },
    "SandboxSessionPhase": {
      "type": "object",
      "properties": {
        "phaseType": {
          "type": "string",
          "description": "The name of the sandbox phase."
        },
        "phaseStatus": {
          "type": "string",
          "enum": [
            "SUCCEEDED",
            "FAILED",
            "FAULT",
            "TIMED_OUT",
            "IN_PROGRESS",
            "STOPPED"
          ],
          "description": "The current status of the sandbox phase. Valid values include: FAILED The sandbox phase failed. FAULT The sandbox phase faulted. IN_PROGRESS The sandbox phase is still in progress. STOPPED The sandbox phase stopped. SUCCEEDED The sandbox phase succeeded. TIMED_OUT The sandbox phase timed out."
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox phase started, expressed in Unix time format."
        },
        "endTime": {
          "type": "string",
          "format": "date-time",
          "description": "When the sandbox phase ended, expressed in Unix time format."
        },
        "durationInSeconds": {
          "type": "integer",
          "description": "How long, in seconds, between the starting and ending times of the sandbox's phase."
        },
        "contexts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PhaseContext"
          },
          "description": "An array of PhaseContext objects."
        }
      }
    },
    "SourceAuth": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "OAUTH",
            "CODECONNECTIONS",
            "SECRETS_MANAGER"
          ],
          "description": "The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER."
        },
        "resource": {
          "type": "string",
          "description": "The resource value that applies to the specified authorization type."
        }
      },
      "required": [
        "type"
      ]
    },
    "VpcConfig": {
      "type": "object",
      "properties": {
        "vpcId": {
          "type": "string",
          "description": "The ID of the Amazon VPC."
        },
        "subnets": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of one or more subnet IDs in your Amazon VPC."
        },
        "securityGroupIds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of one or more security groups IDs in your Amazon VPC."
        }
      }
    }
  }
}