The CreateAlertFromTemplateInput input includes various settings.

Table: CreateAlertFromTemplateInput

ParameterTypeRequired[a]DefaultDescription
viewNameRepoOrViewNameyes Name of the view of the alert. This is just a scalar value.
namestringyes Name of the alert.
yamlTemplateYAMLyes YAML specification of the alert.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.