Created
April 30, 2020 13:37
-
-
Save nivleshc/042b1e2b33441bea4d37772ba6d69298 to your computer and use it in GitHub Desktop.
This is the second state for the AWS Step Function to automate training, build and deployment of an Amazon SageMaker model
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
"Create Model": { | |
"Parameters": { | |
"PrimaryContainer": { | |
"Image": "544295431143.dkr.ecr.ap-southeast-2.amazonaws.com/xgboost:1", | |
"Environment": {}, | |
"ModelDataUrl.$": "$.ModelArtifacts.S3ModelArtifacts" | |
}, | |
"ExecutionRoleArn": "iam-role-arn", | |
"ModelName.$": "$.TrainingJobName" | |
}, | |
"Resource": "arn:aws:states:::sagemaker:createModel", | |
"Type": "Task", | |
"ResultPath":"$.taskresult", | |
"Next": "Create Endpoint Config" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment