{
"AlgorithmSpecification": {
"TrainingImage": "{AWS::AccountId}.dkr.ecr.ap-northeast-1.amazonaws.com/{repository_name}:latest",
"TrainingInputMode": "File"
},
"InputDataConfig": [
{
"ChannelName": "train",
"ContentType": "text/csv",
"DataSource": {
"S3DataSource": {
"S3DataDistributionType": "FullyReplicated",
"S3DataType": "S3Prefix",
"S3Uri.$": "s3://{bucket_name}/path/"
}
}
}
],
"OutputDataConfig": {
"S3OutputPath.$": "s3://{bucket_name}/path/"
},
"ResourceConfig": {
"InstanceCount": 1,
"InstanceType": "ml.m5.4xlarge",
"VolumeSizeInGB": 5
},
"StoppingCondition": {
"MaxRuntimeInSeconds": 3000
},
"RoleArn": "${TrainingRole}",
"TrainingJobName.$": "xxxxxx",
"VpcConfig": {
"SecurityGroupIds.$": "$.security_group",
"Subnets.$": "$.subnets"
}
}