# IArtifacts

The abstract interface of a CodeBuild build output.

Implemented by `Artifacts`.

Implemented by: [Artifacts](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.Artifacts.html)
Obtainable from: [Artifacts.s3](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.Artifacts.html#s3)
Used as argument in: [Project.addSecondaryArtifact](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codebuild.Project.html#addsecondaryartifact)

- Source: [`aws-codebuild/lib/artifacts.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/aws-cdk-lib/aws-codebuild/lib/artifacts.ts#L20)

## Properties

- `identifier`: string — The artifact identifier.

  This property is required on secondary artifacts.

- `type`: string — The CodeBuild type of this artifact.

## Methods

- `bind(scope: Construct, project: IProject): ArtifactsConfig` — Callback when an Artifacts class is used in a CodeBuild Project.

  **Parameters**

  - `scope` — a root Construct that allows creating new Constructs.
  - `project` — the Project this Artifacts is used in.
