Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitlabVariable

Hierarchy

  • Construct
    • GitlabVariable

Implements

  • IConstruct

Index

Constructors

constructor

Properties

node

node: ConstructNode

Construct tree node which offers APIs for interacting with the construct tree.

Methods

ensureProvider

  • ensureProvider(crLambda: IFunction): Provider
  • Parameters

    • crLambda: IFunction

    Returns Provider

Protected prepare

  • prepare(): void
  • Perform final modifications before synthesis

    This method can be implemented by derived constructs in order to perform final changes before synthesis. prepare() will be called after child constructs have been prepared.

    This is an advanced framework feature. Only use this if you understand the implications.

    Returns void

Protected synthesize

  • synthesize(session: ISynthesisSession): void
  • Allows this construct to emit artifacts into the cloud assembly during synthesis.

    This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

    Parameters

    • session: ISynthesisSession

      The synthesis session.

    Returns void

toString

  • toString(): string
  • Returns a string representation of this construct.

    Returns string

Protected validate

  • validate(): string[]
  • Validate the current construct.

    This method can be implemented by derived constructs in order to perform validation logic. It is called on all constructs before synthesis.

    Returns string[]

    An array of validation error messages, or an empty array if there the construct is valid.

Static isConstruct

  • isConstruct(x: any): x is Construct
  • Return whether the given object is a Construct

    Parameters

    • x: any

    Returns x is Construct

Generated using TypeDoc