Paws::CodeBuild::ProjectArtifacts
This class represents one of two things:
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::ProjectArtifacts object:
$service_obj->Method(Att1 => { Location => $value, ..., Type => $value });
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::ProjectArtifacts object:
$result = $service_obj->Method(...); $result->Att1->Location
Information about the build project's build output artifacts.
Information about the build output artifact location, as follows:
If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output locations instead of AWS CodeBuild.
type
CODEPIPELINE
If type is set to NO_ARTIFACTS, then this value will be ignored if specified, because no build output will be produced.
NO_ARTIFACTS
If type is set to S3, this is the name of the output bucket. If path is not also specified, then location can also specify the path of the output artifact in the output bucket.
S3
path
location
Along with C<path> and C<namespaceType>, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows:
If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild.
If type is set to S3, this is the name of the output artifact object.
For example, if path is set to MyArtifacts, namespaceType is set to BUILD_ID, and name is set to MyArtifact.zip, then the output artifact would be stored in MyArtifacts/build-ID/MyArtifact.zip.
MyArtifacts
namespaceType
BUILD_ID
name
MyArtifact.zip
MyArtifacts/build-ID/MyArtifact.zip
Along with C<path> and C<name>, the pattern that AWS CodeBuild will use to determine the name and location to store the output artifact, as follows:
If type is set to S3, then valid values include:
BUILD_ID: Include the build ID in the location of the build output artifact.
NONE: Do not include the build ID. This is the default if namespaceType is not specified.
NONE
The type of build output artifact to create, as follows:
If type is set to CODEPIPELINE, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output artifacts instead of AWS CodeBuild.
If type is set to S3, valid values include:
NONE: AWS CodeBuild will create in the output bucket a folder containing the build output. This is the default if packaging is not specified.
packaging
ZIP: AWS CodeBuild will create in the output bucket a ZIP file containing the build output.
ZIP
Along with C<namespaceType> and C<name>, the pattern that AWS CodeBuild will use to name and store the output artifact, as follows:
If type is set to S3, this is the path to the output artifact. If path is not specified, then path will not be used.
For example, if path is set to MyArtifacts, namespaceType is set to NONE, and name is set to MyArtifact.zip, then the output artifact would be stored in the output bucket at MyArtifacts/MyArtifact.zip.
MyArtifacts/MyArtifact.zip
The build output artifact's type. Valid values include:
CODEPIPELINE: The build project with have build output generated through AWS CodePipeline.
NO_ARTIFACTS: The build project will not produce any build output.
S3: The build project will store build output in Amazon Simple Storage Service (Amazon S3).
This class forms part of Paws, describing an object used in Paws::CodeBuild
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.