code: func Select(index interface{}, list []string) string {
  	return encode(fmt.Sprintf(`{ "Fn::Select": [ "%v", [ "%v" ] ] }`, index, strings.Trim(strings.Join(list, `", "`), `, "`)))
  }
docs: // Select returns a single object from a list of objects by index.