A step that performs an action on an s3 bucket.

Hierarchy

  • GitHubActionStep
    • S3BucketStep

Constructors

Properties

dependencyFileSets: FileSet[]

The list of FileSets consumed by this Step

env: Record<string, string>
id: string
isSource: boolean

Whether or not this is a Source step

What it means to be a Source step depends on the engine.

jobSteps: JobStep[]

Accessors

  • get consumedStackOutputs(): StackOutputReference[]
  • StackOutputReferences this step consumes.

    Returns StackOutputReference[]

  • get dependencies(): Step[]
  • Return the steps this step depends on, based on the FileSets it requires

    Returns Step[]

  • get primaryOutput(): undefined | FileSet
  • The primary FileSet produced by this Step

    Not all steps produce an output FileSet--if they do you can substitute the Step object for the FileSet object.

    Returns undefined | FileSet

Methods

  • Add an additional FileSet to the set of file sets required by this step

    This will lead to a dependency on the producer of that file set.

    Parameters

    • fs: FileSet

    Returns void

  • Add a dependency on another step.

    Parameters

    • step: Step

    Returns void

  • Configure the given FileSet as the primary output of this step

    Parameters

    • fs: FileSet

    Returns void

  • Crawl the given structure for references to StepOutputs and add dependencies on all steps found

    Should be called in the constructor of subclasses based on what the user passes in as construction properties. The format of the structure passed in here does not have to correspond exactly to what gets rendered into the engine, it just needs to contain the same data.

    Parameters

    • structure: any

    Returns void

  • Return a string representation of this Step

    Returns string

  • Define a sequence of steps to be executed in order.

    If you need more fine-grained step ordering, use the addStepDependency() API. For example, if you want secondStep to occur after firstStep, call secondStep.addStepDependency(firstStep).

    Parameters

    • steps: Step[]

    Returns Step[]

Generated using TypeDoc