You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/components/createupdate/form-definitions/PipelineFormDefinition.js
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,7 @@ export const PipelineFormDefinition = new FormDefinition({
55
55
formElement: Input,
56
56
elementProps: {autoFocus: true},
57
57
}),
58
+
required: true,
58
59
}),
59
60
newControlDefinition({
60
61
label: "Database Name",
@@ -64,6 +65,7 @@ export const PipelineFormDefinition = new FormDefinition({
64
65
formElement: DatabaseSelector,
65
66
elementProps: {},
66
67
}),
68
+
required: true,
67
69
}),
68
70
newControlDefinition({
69
71
label: "Pipeline Type",
@@ -77,6 +79,29 @@ export const PipelineFormDefinition = new FormDefinition({
77
79
disabled: false,
78
80
},
79
81
}),
82
+
required: true,
83
+
}),
84
+
newControlDefinition({
85
+
label: "Container Uri (Optional)",
86
+
id: "containerUri",
87
+
constraintText: "ACCOUNT_NUMBER.dkr.ecr.REGION.amazonaws.com/IMAGE_NAME. If you do not provide an image stored in Amazon ECR, an Amazon Sagemaker notebook instance will be provisioned on your behalf with steps to deploy one.",
88
+
elementDefinition: newElementDefinition({
89
+
formElement: Input,
90
+
elementProps: {autoFocus: false},
91
+
}),
92
+
appearsWhen: ["pipelineType","SageMaker"],
93
+
required: false,
94
+
}),
95
+
newControlDefinition({
96
+
label: "Lambda Function Name (Optional)",
97
+
id: "lambdaName",
98
+
constraintText: "If no name is provided a template lambda function will be deployed on your behalf",
99
+
elementDefinition: newElementDefinition({
100
+
formElement: Input,
101
+
elementProps: {autoFocus: false},
102
+
}),
103
+
appearsWhen: ["pipelineType","Lambda"],
104
+
required: false,
80
105
}),
81
106
newControlDefinition({
82
107
label: "Description",
@@ -86,6 +111,7 @@ export const PipelineFormDefinition = new FormDefinition({
86
111
formElement: Textarea,
87
112
elementProps: {rows: 4},
88
113
}),
114
+
required: true,
89
115
}),
90
116
newControlDefinition({
91
117
label: "Input Filetype",
@@ -96,6 +122,7 @@ export const PipelineFormDefinition = new FormDefinition({
96
122
formElement: Select,
97
123
elementProps: {},
98
124
}),
125
+
required: true,
99
126
}),
100
127
newControlDefinition({
101
128
label: "Output Filetype",
@@ -106,6 +133,7 @@ export const PipelineFormDefinition = new FormDefinition({
0 commit comments