TimeProvider class final
Concrete StackProvider for hashicorp/time (used by TimeSleep).
- Implemented types
- Annotations
-
- @immutable
Constructors
- TimeProvider({String? alias})
-
Creates the
hashicorp/timeprovider configuration, optionally underalias. The provider takes no other settings.const
Properties
- alias → String?
-
Provider alias (
provider "time" { alias = "eu" }), ornullfor the default configuration. Select it on a resource by passing the instance asprovider:;Stack.addProviderregisters it and returns it for that.final -
configArgs
→ Map<
String, Object?> -
Provider-specific config args (project, region, credentials, etc.) as
JSON-encodable map. The returned map is copied verbatim into the
provider.<providerName>block. Empty map for unparameterized providers.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- providerName → String
-
Short provider name, e.g.
'google'. Used as the JSON key underprovider.<providerName>.no setteroverride - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
Source identifier in form
<namespace>/<name>, e.g.'hashicorp/google'.GoogleProviderreturnskProviderSource. Synth emits this underterraform.required_providers.<providerName>.source.no setteroverride - versionConstraint → String
-
Version constraint string, e.g.
'~> 7.0'.GoogleProviderreturnskProviderVersionConstraint. Synth emits this underterraform.required_providers.<providerName>.version.no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited