namespaceType property
Along with path and name, the pattern that AWS
CodeBuild uses to determine the name and location to store the output
artifact:
-
If
typeis set toCODEPIPELINE, AWS CodePipeline ignores this value if specified. This is because AWS CodePipeline manages its build output names instead of AWS CodeBuild. -
If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. -
If
typeis set toS3, 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 ifnamespaceTypeis not specified.
-
path is set to MyArtifacts,
namespaceType is set to BUILD_ID, and
name is set to MyArtifact.zip, the output artifact
is stored in MyArtifacts/<build-ID>/MyArtifact.zip.
Implementation
final ArtifactNamespace? namespaceType;