Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS CodeBuild Project Artifacts

Artifacts is a property of the AWS::CodeBuild::Project resource that specifies output settings for artifacts generated by an AWS CodeBuild build.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

Copy
{ "Location" : String, "Name" : String, "NamespaceType" : String, "Packaging" : String, "Path" : String, "Type" : String }

YAML

Copy
Location: String Name: String NamespaceType: String Packaging: String Path: String Type: String

Properties

Location

The location where AWS CodeBuild saves the build output artifacts. For valid values, see the artifacts-location field in the AWS CodeBuild User Guide.

Required: Conditional. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

Type: String

Name

The name of the build output folder where AWS CodeBuild saves the build output artifacts. For .zip packages, the name of the build output .zip file that contains the build output artifacts.

Required: Conditional. If you specify CODEPIPELINE or NO_ARTIFACTS for the Type property, don't specify this property. For all of the other types, you must specify this property.

Type: String

NamespaceType

The information AWS CodeBuild adds to the build output path, such as a build ID. For more information, see the namespaceType field in the AWS CodeBuild User Guide.

Required: No

Type: String

Packaging

Indicates how AWS CodeBuild packages the build output artifacts. For valid values, see the packaging field in the AWS CodeBuild User Guide.

Required: No

Type: String

Path

The path to the build output folder where AWS CodeBuild saves the build output artifacts.

Required: No

Type: String

Type

The type of build output artifact. For valid values, see the artifacts-type field in the AWS CodeBuild User Guide.

Required: Yes

Type: String