NAME
Paws::CodeBuild::ProjectEnvironment
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::CodeBuild::ProjectEnvironment object:
$service_obj->Method(Att1 => { Certificate => $value, ..., Type => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::ProjectEnvironment object:
$result = $service_obj->Method(...);
$result->Att1->Certificate
DESCRIPTION
Information about the build environment of the build project.
ATTRIBUTES
Certificate => Str
The certificate to use with this build project.
REQUIRED ComputeType => Str
Information about the compute resources the build project will use.
Available values include:
BUILD_GENERAL1_SMALL
: Use up to 3 GB memory and 2 vCPUs for builds.BUILD_GENERAL1_MEDIUM
: Use up to 7 GB memory and 4 vCPUs for builds.BUILD_GENERAL1_LARGE
: Use up to 15 GB memory and 8 vCPUs for builds.
EnvironmentVariables => ArrayRef[Paws::CodeBuild::EnvironmentVariable]
A set of environment variables to make available to builds for this
build project.
REQUIRED Image => Str
The ID of the Docker image to use for this build project.
PrivilegedMode => Bool
Enables running the Docker daemon inside a Docker container. Set to
true only if the build project is be used to build Docker images, and
the specified build environment image is not provided by AWS CodeBuild
with Docker support. Otherwise, all associated builds that attempt to
interact with the Docker daemon will fail. Note that you must also
start the Docker daemon so that builds can interact with it. One way to
do this is to initialize the Docker daemon during the install phase of
your build spec by running the following build commands. (Do not run
the following build commands if the specified build environment image
is provided by AWS CodeBuild with Docker support.)
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay& - timeout -t 15 sh -c "until docker info; do echo .; sleep 1; done"
REQUIRED Type => Str
The type of build environment to use for related builds.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::CodeBuild
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues