![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeBuild::ProjectEnvironment USAGEThis 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 DESCRIPTIONInformation about the build environment of the build project. ATTRIBUTESCertificate => StrThe 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 (https://docs.aws.amazon.com/codebuild/latest/userguide/create-project-cli.html#cli.environment.certificate) in the CodeBuild User Guide. REQUIRED ComputeType => StrInformation about the compute resources the build project uses. Available values include:
If you use "BUILD_GENERAL1_LARGE":
For more information, see Build Environment Compute Types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the CodeBuild User Guide. EnvironmentVariables => ArrayRef[Paws::CodeBuild::EnvironmentVariable]A set of environment variables to make available to builds for this build project. REQUIRED Image => StrThe image tag or image digest that identifies the Docker image to use for this build project. Use the following formats:
For more information, see Docker images provided by CodeBuild (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-available.html) in the CodeBuild user guide. ImagePullCredentialsType => StrThe type of credentials CodeBuild uses to pull images in your build. There are two valid values:
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. PrivilegedMode => BoolEnables 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 "until docker info; do echo .; sleep 1; done"" If the operating system's base image is Alpine Linux and the previous command does not work, add the "-t" argument to "timeout": "- 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"" RegistryCredential => Paws::CodeBuild::RegistryCredentialThe credentials for access to a private registry. REQUIRED Type => StrThe type of build environment to use for related builds.
For more information, see Build environment compute types (https://docs.aws.amazon.com/codebuild/latest/userguide/build-env-ref-compute-types.html) in the CodeBuild user guide. SEE ALSOThis class forms part of Paws, describing an object used in Paws::CodeBuild BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|