{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-project-artifacts-structure.json", "name": "ProjectArtifacts", "description": "Information about the build output artifacts for the build project.", "type": "object", "properties": { "type": { "allOf": [ { "$ref": "#/components/schemas/ArtifactsType" }, { "description": "

The type of build output artifact. Valid values include:

" } ] }, "location": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

Information about the build output artifact location:

" } ] }, "path": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

Along with namespaceType and name, the pattern that CodeBuild uses to name and store the output artifact:

For example, if path is set to MyArtifacts, namespaceType is set to NONE, and name is set to MyArtifact.zip, the output artifact is stored in the output bucket at MyArtifacts/MyArtifact.zip.

" } ] }, "namespaceType": { "allOf": [ { "$ref": "#/components/schemas/ArtifactNamespace" }, { "description": "

Along with path and name, the pattern that CodeBuild uses to determine the name and location to store the output artifact:

For example, if 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.

" } ] }, "name": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

Along with path and namespaceType, the pattern that CodeBuild uses to name and store the output artifact:

For example:

" } ] }, "packaging": { "allOf": [ { "$ref": "#/components/schemas/ArtifactPackaging" }, { "description": "

The type of build output artifact to create:

" } ] }, "overrideArtifactName": { "allOf": [ { "$ref": "#/components/schemas/WrapperBoolean" }, { "description": " If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique. " } ] }, "encryptionDisabled": { "allOf": [ { "$ref": "#/components/schemas/WrapperBoolean" }, { "description": " Set to true if you do not want your output artifacts encrypted. This option is valid only if your artifacts type is Amazon S3. If this is set with another artifacts type, an invalidInputException is thrown. " } ] }, "artifactIdentifier": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": " An identifier for this artifact definition. " } ] }, "bucketOwnerAccess": { "$ref": "#/components/schemas/BucketOwnerAccess" } }, "required": [ "type" ] }