MDAA TS Docs
    Preparing search index...

    L3 construct for SageMaker Pipeline (CfnPipeline-based).

    Creates the SageMaker Pipeline definition directly in CloudFormation using CfnPipeline, rather than delegating to CodeBuild + seed code. This gives full MDAA compliance on the pipeline definition itself.

    Creates:

    • CfnPipeline with the pipeline definition JSON
    • Pipeline execution role (MdaaRole with SageMaker principal)
    • KMS key for artifact encryption (MdaaKmsKey)
    • S3 bucket for model artifacts (MdaaBucket)
    • Model Package Group (optional)
    • SSM parameter exports

    Use the step construct classes (SmProcessingStep, SmTrainingStep, etc.) to build the pipelineSteps array.

    Hierarchy

    • MdaaL3Construct
      • SageMakerPipelineL3Construct
    Index

    Constructors

    Properties

    baseprops: MdaaL3ConstructProps
    executionRoleArn: string

    The SageMaker execution role ARN.

    kmsKeyId: string

    The KMS key ID for artifact encryption.

    modelBucketName: string

    The model artifacts bucket name.

    modelPackageGroupName?: string

    The Model Package Group name (if created).

    node: Node

    The tree node.

    pipelineName: string

    The SageMaker Pipeline name.

    scope: Construct

    Accessors

    • get account(): string

      Returns string

    • get partition(): string

      Returns string

    • get region(): string

      Returns string

    Methods

    • Creates or returns a child stack that inherits the parent stack's env (account and region). Subsequent calls with the same id return the previously created stack.

      Parameters

      • id: string

        Construct id for the child stack (must be unique within this construct's scope)

      • stackName: string

        CloudFormation stack name

      Returns Stack

    • Parameters

      • Optionalaccount: string
      • Optionalregion: string

      Returns Stack | undefined

    • Parameters

      • account: string

      Returns string

    • 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.