Created
January 19, 2021 20:27
-
-
Save PaulDuvall/8c2ebadd5027d669647a3033b217235f to your computer and use it in GitHub Desktop.
reinvent-2020-blog-sagemaker-pipeline.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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