Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
reinvent-2020-blog-sagemaker-pipeline.yml
Resources:
MyPipeline:
Type: AWS::SageMaker::Pipeline
Properties:
PipelineName: "my-pipeline"
PipelineDisplayName: "my-pipeline-display-name"
PipelineDescription: "Basic test pipeline"
PipelineDefinition:
PipelineDefinitionBody: "{\"Version\":\"2020-12-01\",\"Parameters\":[{\"Name\":\"InputDataSource\",\"DefaultValue\":\"\"},{\"Name\":\"InstanceCount\",\"Type\":\"Integer\",\"DefaultValue\":1}],\"Steps\":[{\"Name\":\"Training1\",\"Type\":\"Training\",\"Arguments\":{\"InputDataConfig\":[{\"DataSource\":{\"S3DataSource\":{\"S3Uri\":{\"Get\":\"Parameters.InputDataSource\"}}}}],\"OutputDataConfig\":{\"S3OutputPath\":\"s3://my-s3-bucket/\"},\"ResourceConfig\":{\"InstanceType\":\"ml.m5.large\",\"InstanceCount\":{\"Get\":\"Parameters.InstanceCount\"},\"VolumeSizeInGB\":1024}}}]}"
RoleArn: "arn:aws:iam::{account-id}:root"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment