A FileSet created from a CodePipeline artifact

You only need to use this if you want to add CDK Pipeline stages add the end of an existing CodePipeline, which should be very rare.

Hierarchy (view full)

Properties

_artifact: Artifact

The artifact this class is wrapping

id: string

Human-readable descriptor for this file set (does not need to be unique)

primaryOutput?: FileSet

The primary output of a file set producer

The primary output of a FileSet is itself.

Accessors

  • get producer(): Step
  • The Step that produces this FileSet

    Returns Step

Methods

  • Mark the given Step as the producer for this FileSet

    This method can only be called once.

    Parameters

    • Optionalproducer: Step

    Returns void

  • Return a string representation of this FileSet

    Returns string

  • Turn a CodePipeline Artifact into a FileSet

    Parameters

    • artifact: Artifact

    Returns CodePipelineFileSet