NAME
Paws::CodeBuild::ProjectArtifacts
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::ProjectArtifacts object:
$service_obj->Method(Att1 => { Location => $value, ..., Type => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::ProjectArtifacts object:
$result = $service_obj->Method(...);
$result->Att1->Location
DESCRIPTION
Information about the build project's build output artifacts.
ATTRIBUTES
Location => Str
Information about the build output artifact location, as follows:
If
type
is set toCODEPIPELINE
, then AWS CodePipeline will ignore this value if specified. This is because AWS CodePipeline manages its build output locations instead of AWS CodeBuild.If
type
is set toNO_ARTIFACTS
, then this value will be ignored if specified, because no build output will be produced.If
type
is set toS3
, this is the name of the output bucket. Ifpath
is not also specified, thenlocation
can also specify the path of the output artifact in the output bucket.
Name => Str
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 toCODEPIPELINE
, 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 toNO_ARTIFACTS
, then this value will be ignored if specified, because no build output will be produced.If
type
is set toS3
, 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
.
NamespaceType => Str
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 toCODEPIPELINE
, 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 toNO_ARTIFACTS
, then this value will be ignored if specified, because no build output will be produced.If
type
is set toS3
, 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 ifnamespaceType
is not specified.
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
.
Packaging => Str
The type of build output artifact to create, as follows:
If
type
is set toCODEPIPELINE
, 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 toNO_ARTIFACTS
, then this value will be ignored if specified, because no build output will be produced.If
type
is set toS3
, valid values include:NONE
: AWS CodeBuild will create in the output bucket a folder containing the build output. This is the default ifpackaging
is not specified.ZIP
: AWS CodeBuild will create in the output bucket a ZIP file containing the build output.
Path => Str
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 toCODEPIPELINE
, 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 toNO_ARTIFACTS
, then this value will be ignored if specified, because no build output will be produced.If
type
is set toS3
, this is the path to the output artifact. Ifpath
is not specified, thenpath
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
.
REQUIRED Type => Str
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).
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