EnvVar class
EnvVar represents an environment variable present in a Container.
Constructors
-
EnvVar({required Input<
String> name, Input<String> ? value, Input<EnvVarSource> ? valueFrom}) -
Creates a new EnvVar.
nameName of the environment variable.valueValue of the environment variable. Defaults to "". Variable references are not supported in Cloud Run.valueFromSource for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty.const -
EnvVar.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> -
Name of the environment variable.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ Input<
String> ? -
Value of the environment variable. Defaults to "". Variable references are not supported in Cloud Run.
final
-
valueFrom
→ Input<
EnvVarSource> ? -
Source for the environment variable's value. Only supports secret_key_ref. Cannot be used if value is not empty.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited