aws-cdk-lib.aws_codebuild.IArtifacts

interface IArtifacts

LanguageType name
.NETAmazon.CDK.AWS.CodeBuild.IArtifacts
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscodebuild#IArtifacts
Javasoftware.amazon.awscdk.services.codebuild.IArtifacts
Pythonaws_cdk.aws_codebuild.IArtifacts
TypeScript (source)aws-cdk-lib » aws_codebuild » IArtifacts

Obtainable from Artifacts.s3()

The abstract interface of a CodeBuild build output.

Implemented by Artifacts.

Properties

NameTypeDescription
typestringThe CodeBuild type of this artifact.
identifier?stringThe artifact identifier.

type

Type: string

The CodeBuild type of this artifact.


identifier?

Type: string (optional)

The artifact identifier.

This property is required on secondary artifacts.

Methods

NameDescription
bind(scope, project)Callback when an Artifacts class is used in a CodeBuild Project.

bind(scope, project)

public bind(scope: Construct, project: IProject): ArtifactsConfig

Parameters

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

Returns

  • ArtifactsConfig

Callback when an Artifacts class is used in a CodeBuild Project.