Skip to content
v2.275.0

IArtifacts Interface ​

The abstract interface of a CodeBuild build output.

Implemented by Artifacts.

Properties ​

identifiermay be undefinedstringidentifiermay be undefinedstridentifiermay be undefinedStringIdentifiermay be undefinedstringIdentifiermay be undefined*string#
The artifact identifier.

This property is required on secondary artifacts.

typestringtypestrtypeStringTypestringType*string#
The CodeBuild type of this artifact.

Methods ​

bind(scope: Construct, project: IProject): ArtifactsConfigdef bind(self, scope: Construct, project: IProject) -> ArtifactsConfigpublic ArtifactsConfig bind(Construct scope, IProject project)public ArtifactsConfig Bind(Construct scope, IProject project)func Bind(Scope Construct, Project IProject) ArtifactsConfig#
Callback when an Artifacts class is used in a CodeBuild Project.
2 parameters

Parameters

  • scopescopescopescopeScope — a root Construct that allows creating new Constructs.
  • projectprojectprojectprojectProject — the Project this Artifacts is used in.