Skip to content
v2.274.0

PipelineDefinitionProperty Struct ​

The definition of the pipeline.

This can be either a JSON string or an Amazon S3 location.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const pipelineDefinitionProperty: sagemaker.CfnPipeline.PipelineDefinitionProperty = {
  pipelineDefinitionBody: 'pipelineDefinitionBody',

  // the properties below are optional
  pipelineDefinitionS3Location: {
    bucket: 'bucket',
    key: 'key',

    // the properties below are optional
    eTag: 'eTag',
    version: 'version',
  },
};

Properties ​

pipelineDefinitionBodystringpipeline_definition_bodystrpipelineDefinitionBodyStringPipelineDefinitionBodystringPipelineDefinitionBody*stringrequired#
The [JSON pipeline definition](https://docs.aws.amazon.com/https://aws-sagemaker-mlops.github.io/sagemaker-model-building-pipeline-definition-JSON-schema/) of the pipeline.
pipelineDefinitionS3LocationoptionalIResolvable | CfnPipeline.S3LocationPropertypipeline_definition_s3_locationoptionaltyping.Union[IResolvable, S3LocationProperty]pipelineDefinitionS3LocationoptionalIResolvablePipelineDefinitionS3LocationoptionalIResolvablePipelineDefinitionS3Locationoptionalinterface{}#
The location of the pipeline definition stored in Amazon S3.

If specified, SageMaker retrieves the pipeline definition from this location.