name
Parameters
Along with path and namespaceType, the pattern that CodeBuild uses to name and store the output artifact:
-
If
typeis set toCODEPIPELINE, CodePipeline ignores this value if specified. This is because CodePipeline manages its build output names instead of CodeBuild. -
If
typeis set toNO_ARTIFACTS, this value is ignored if specified, because no build output is produced. -
If
typeis set toS3, this is the name of the output artifact object. If you set the name to be a forward slash ('/'), the artifact is stored in the root of the output bucket.
For example:
-
If
pathis set toMyArtifacts,namespaceTypeis set toBUILD_ID, andnameis set toMyArtifact.zip, then the output artifact is stored inMyArtifacts/<build-ID>/MyArtifact.zip. -
If
pathis empty,namespaceTypeis set toNONE, andnameis set to '/', the output artifact is stored in the root of the output bucket. -
If
pathis set toMyArtifacts,namespaceTypeis set toBUILD_ID, andnameis set to '/', the output artifact is stored inMyArtifacts/<build-ID>.