-
Notifications
You must be signed in to change notification settings - Fork 258
/
Copy pathexample_pipeline.json
48 lines (48 loc) · 1.39 KB
/
example_pipeline.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"objects": [
{
"directoryPath": "s3://de-playground",
"name": "MyS3Location",
"id": "MyS3Location",
"type": "S3DataNode"
},
{
"output": {
"ref": "MyS3Location"
},
"id" : "EchoOutput",
"type" : "ShellCommandActivity",
"command" : "echo ${OUTPUT1_STAGING_DIR}; echo SUCCESS!! > ${OUTPUT1_STAGING_DIR}/output_file.txt",
"runsOn": {
"ref": "EC2ResourceObj"
}
},
{
"id": "SchedulePeriod",
"name": "SchedulePeriod",
"startAt": "FIRST_ACTIVATION_DATE_TIME",
"period": "15 minutes",
"type": "Schedule",
"occurrences": "1"
},
{
"instanceType": "t1.micro",
"name": "EC2ResourceObj",
"id": "EC2ResourceObj",
"type": "Ec2Resource",
"terminateAfter": "20 Minutes"
},
{
"failureAndRerunMode": "CASCADE",
"schedule": {
"ref": "SchedulePeriod"
},
"resourceRole": "de-course-resource-role",
"role": "de-course-data-pipeline-role",
"pipelineLogUri": "s3://de-playground/",
"scheduleType": "cron",
"name": "Default",
"id": "Default"
}
]
}