TfArgExpression<T> class
final
A raw Terraform expression — the tf.json template string, verbatim.
Construct through TfArg.expression. The class is public so callers can
pattern-match on it (switch (arg) { case TfArgExpression(): ... }) and
grep for it.
Constructors
- TfArgExpression(String template)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
referencedVariables
→ Set<
String> -
The
var.<name>references inside the template's interpolations and directives; synth requires each to be declared on the Stack.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- template → String
-
The template as it is written into tf.json: interpolations and
directives are evaluated by Terraform,
$${/%%{are literal.final
Methods
-
encodeAs(
String attribute) → TfArg< Object?> -
Available on TfArg<
The argument value: each element's RefTo.encodeAs for a literal list, the value itself otherwise.List< , provided by the RefToList extensionRefTo< >R> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toTfJson(
) → Object? -
Value emitted into Terraform JSON.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited