TimeProvider class final

Concrete StackProvider for hashicorp/time (used by TimeSleep).

Implemented types
Annotations
  • @immutable

Constructors

TimeProvider({String? alias})
Creates the hashicorp/time provider configuration, optionally under alias. The provider takes no other settings.
const

Properties

alias → String?
Provider alias (provider "time" { alias = "eu" }), or null for the default configuration. Select it on a resource by passing the instance as provider:; Stack.addProvider registers 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 under provider.<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'. GoogleProvider returns kProviderSource. Synth emits this under terraform.required_providers.<providerName>.source.
no setteroverride
versionConstraint → String
Version constraint string, e.g. '~> 7.0'. GoogleProvider returns kProviderVersionConstraint. Synth emits this under terraform.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