RefToList<R extends Resource> extension

A list-valued reference argument (security_group_ids, subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'), TfArg.expression(...)).

on

Methods

encodeAs(String attribute) → TfArg<Object?>

Available on TfArg<List<RefTo<R>>>, provided by the RefToList extension

The argument value: each element's RefTo.encodeAs for a literal list, the value itself otherwise.