Adaption of @aws-quickstart/eks-blueprints#ApplicationStage for integration with cdk-pipelines-github.

Hierarchy

  • GitHubStage
    • ApplicationStage

Constructors

Properties

_assemblyBuilder: CloudAssemblyBuilder

The cloud assembly builder that is being used for this App

account?: string

The default account for all resources defined within this stage.

asyncTask: undefined | Promise<any> = undefined
node: Node

The tree node.

parentStage?: Stage

The parent stage or undefined if this is the app. *

policyValidationBeta1: IPolicyValidationPluginBeta1[]

Validation plugins to run during synthesis. If any plugin reports any violation, synthesis will be interrupted and the report displayed to the user.

Default

- no validation plugins are used
props?: GitHubStageProps
region?: string

The default region for all resources defined within this stage.

stageName: string

The name of the stage. Based on names of the parent stages separated by hypens.

Accessors

  • get artifactId(): string
  • Artifact ID of the assembly if it is a nested stage. The root stage (app) will return an empty string.

    Derived from the construct path.

    Returns string

  • get assetOutdir(): string
  • The cloud assembly asset output directory.

    Returns string

  • get outdir(): string
  • The cloud assembly output directory.

    Returns string

Methods

  • Synthesize this stage into a cloud assembly.

    Once an assembly has been synthesized, it cannot be modified. Subsequent calls will return the same assembly.

    Parameters

    • Optional options: StageSynthesisOptions

    Returns CloudAssembly

  • Returns a string representation of this construct.

    Returns string

  • Checks if x is a construct.

    Use this method instead of instanceof to properly detect Construct instances, even when the construct library is symlinked.

    Explanation: in JavaScript, multiple copies of the constructs library on disk are seen as independent, completely different libraries. As a consequence, the class Construct in each copy of the constructs library is seen as a different class, and an instance of one class will not test as instanceof the other class. npm install will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the constructs library can be accidentally installed, and instanceof will behave unpredictably. It is safest to avoid using instanceof, and using this type-testing method instead.

    Parameters

    • x: any

      Any object

    Returns x is Construct

    true if x is an object created from a class which extends Construct.

  • Test whether the given construct is a stage.

    Parameters

    • x: any

    Returns x is Stage

  • Return the stage this construct is contained with, if available. If called on a nested stage, returns its parent.

    Parameters

    • construct: IConstruct

    Returns undefined | Stage

Generated using TypeDoc