IArtifacts

class aws_cdk.aws_codebuild.IArtifacts(*args, **kwargs)

Bases: typing_extensions.Protocol

The abstract interface of a CodeBuild build output.

Implemented by {@link Artifacts}.

__init__(*args, **kwargs)

Methods

bind(scope, project)

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

Parameters
  • scope (Construct) – a root Construct that allows creating new Constructs.

  • project (IProject) – the Project this Artifacts is used in.

Return type

ArtifactsConfig

Attributes

identifier

The artifact identifier.

This property is required on secondary artifacts.

Return type

Optional[str]

type

The CodeBuild type of this artifact.

Return type

str