cdn library

Azure Resource Manager cdn resources.

Classes

AppConstant<T>
A value the Stack hands to application code as a static const in the generated AppExports file — known when synth runs, so the app compiles against it.
AppExports
Where synth writes the Dart file application code imports: the Stack's constants, as the static const members of <name>Constants, and a typed reader of its Terraform outputs, <name>Outputs.
AttributeRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.attribute() may construct instances.
AzurermBackend
terraform { backend "azurerm" { ... } } configuration.
AzurermCdnEndpoint
Factory wrapper for azurerm_cdn_endpoint.
AzurermCdnEndpointCustomDomain
Factory wrapper for azurerm_cdn_endpoint_custom_domain.
AzurermCdnFrontdoorBatchRuleSet
Factory wrapper for azurerm_cdn_frontdoor_batch_rule_set.
AzurermCdnFrontdoorCustomDomain
Factory wrapper for azurerm_cdn_frontdoor_custom_domain.
AzurermCdnFrontdoorCustomDomainAssociation
Factory wrapper for azurerm_cdn_frontdoor_custom_domain_association.
AzurermCdnFrontdoorEndpoint
Factory wrapper for azurerm_cdn_frontdoor_endpoint.
AzurermCdnFrontdoorFirewallPolicy
Factory wrapper for azurerm_cdn_frontdoor_firewall_policy.
AzurermCdnFrontdoorOrigin
Factory wrapper for azurerm_cdn_frontdoor_origin.
AzurermCdnFrontdoorOriginGroup
Factory wrapper for azurerm_cdn_frontdoor_origin_group.
AzurermCdnFrontdoorProfile
Factory wrapper for azurerm_cdn_frontdoor_profile.
AzurermCdnFrontdoorRoute
Factory wrapper for azurerm_cdn_frontdoor_route.
AzurermCdnFrontdoorRule
Factory wrapper for azurerm_cdn_frontdoor_rule.
AzurermCdnFrontdoorRuleSet
Factory wrapper for azurerm_cdn_frontdoor_rule_set.
AzurermCdnFrontdoorSecret
Factory wrapper for azurerm_cdn_frontdoor_secret.
AzurermCdnFrontdoorSecurityPolicy
Factory wrapper for azurerm_cdn_frontdoor_security_policy.
AzurermCdnProfile
Factory wrapper for azurerm_cdn_profile.
CdnEndpointCacheExpirationAction
Typed helper for the delivery_rule.cache_expiration_action block of azurerm_cdn_endpoint (derived from provider schema). Shared by every block of this shape in the resource.
CdnEndpointCacheKeyQueryStringAction
Typed helper for the delivery_rule.cache_key_query_string_action block of azurerm_cdn_endpoint (derived from provider schema). Shared by every block of this shape in the resource.
CdnEndpointCookiesCondition
Typed helper for the delivery_rule.cookies_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointCustomDomainCdnManagedHttps
Typed helper for the cdn_managed_https block of azurerm_cdn_endpoint_custom_domain (derived from provider schema).
CdnEndpointCustomDomainCdnManagedHttpsChoice
The CdnEndpointCustomDomainManagedHttps.cdnManagedHttps choice: sets cdn_managed_https.
CdnEndpointCustomDomainManagedHttps
At most one of cdn_managed_https, user_managed_https on azurerm_cdn_endpoint_custom_domain: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CdnEndpointCustomDomainUserManagedHttps
Typed helper for the user_managed_https block of azurerm_cdn_endpoint_custom_domain (derived from provider schema).
CdnEndpointCustomDomainUserManagedHttpsChoice
The CdnEndpointCustomDomainManagedHttps.userManagedHttps choice: sets user_managed_https.
CdnEndpointDeliveryRule
Typed helper for the delivery_rule block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointDeviceCondition
Typed helper for the delivery_rule.device_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointGeoFilter
Typed helper for the geo_filter block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointGlobalDeliveryRule
Typed helper for the global_delivery_rule block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointHttpVersionCondition
Typed helper for the delivery_rule.http_version_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointModifyRequestHeaderAction
Typed helper for the delivery_rule.modify_request_header_action block of azurerm_cdn_endpoint (derived from provider schema). Shared by every block of this shape in the resource.
CdnEndpointModifyResponseHeaderAction
Typed helper for the delivery_rule.modify_response_header_action block of azurerm_cdn_endpoint (derived from provider schema). Shared by every block of this shape in the resource.
CdnEndpointOrigin
Typed helper for the origin block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointPostArgCondition
Typed helper for the delivery_rule.post_arg_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointQueryStringCondition
Typed helper for the delivery_rule.query_string_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointRemoteAddressCondition
Typed helper for the delivery_rule.remote_address_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointRequestBodyCondition
Typed helper for the delivery_rule.request_body_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointRequestHeaderCondition
Typed helper for the delivery_rule.request_header_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointRequestMethodCondition
Typed helper for the delivery_rule.request_method_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointRequestSchemeCondition
Typed helper for the delivery_rule.request_scheme_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointRequestUriCondition
Typed helper for the delivery_rule.request_uri_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointUrlFileExtensionCondition
Typed helper for the delivery_rule.url_file_extension_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointUrlFileNameCondition
Typed helper for the delivery_rule.url_file_name_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointUrlPathCondition
Typed helper for the delivery_rule.url_path_condition block of azurerm_cdn_endpoint (derived from provider schema).
CdnEndpointUrlRedirectAction
Typed helper for the delivery_rule.url_redirect_action block of azurerm_cdn_endpoint (derived from provider schema). Shared by every block of this shape in the resource.
CdnEndpointUrlRewriteAction
Typed helper for the delivery_rule.url_rewrite_action block of azurerm_cdn_endpoint (derived from provider schema). Shared by every block of this shape in the resource.
CdnFrontdoorBatchRuleSetActions
Typed helper for the rule.actions block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetCaching
Typed helper for the rule.actions.route_configuration_override.caching block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetClientPort
Typed helper for the rule.conditions.client_port block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetConditions
Typed helper for the rule.conditions block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetDeviceType
Typed helper for the rule.conditions.device_type block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetHostName
Typed helper for the rule.conditions.host_name block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetHttpVersion
Typed helper for the rule.conditions.http_version block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetModifyRequestHeader
Typed helper for the rule.actions.modify_request_header block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetModifyResponseHeader
Typed helper for the rule.actions.modify_response_header block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetOriginGroup
Typed helper for the rule.actions.route_configuration_override.origin_group block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetPostArgument
Typed helper for the rule.conditions.post_argument block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetQueryString
Typed helper for the rule.conditions.query_string block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRemoteAddress
Typed helper for the rule.conditions.remote_address block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestBody
Typed helper for the rule.conditions.request_body block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestCookies
Typed helper for the rule.conditions.request_cookies block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestFileExtension
Typed helper for the rule.conditions.request_file_extension block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestFilename
Typed helper for the rule.conditions.request_filename block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestHeader
Typed helper for the rule.conditions.request_header block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestMethod
Typed helper for the rule.conditions.request_method block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestPath
Typed helper for the rule.conditions.request_path block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestScheme
Typed helper for the rule.conditions.request_scheme block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRequestUrl
Typed helper for the rule.conditions.request_url block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRouteConfigurationOverride
Typed helper for the rule.actions.route_configuration_override block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetRule
Typed helper for the rule block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetServerPort
Typed helper for the rule.conditions.server_port block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetSocketAddress
Typed helper for the rule.conditions.socket_address block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetSslProtocol
Typed helper for the rule.conditions.ssl_protocol block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetUrlRedirect
Typed helper for the rule.actions.url_redirect block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorBatchRuleSetUrlRewrite
Typed helper for the rule.actions.url_rewrite block of azurerm_cdn_frontdoor_batch_rule_set (derived from provider schema).
CdnFrontdoorCustomDomainCipherSuite
Typed helper for the tls.cipher_suite block of azurerm_cdn_frontdoor_custom_domain (derived from provider schema).
CdnFrontdoorCustomDomainCustomCiphers
Typed helper for the tls.cipher_suite.custom_ciphers block of azurerm_cdn_frontdoor_custom_domain (derived from provider schema).
CdnFrontdoorCustomDomainTls
Typed helper for the tls block of azurerm_cdn_frontdoor_custom_domain (derived from provider schema).
CdnFrontdoorFirewallPolicyCustomRule
Typed helper for the custom_rule block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorFirewallPolicyExclusion
Typed helper for the managed_rule.exclusion block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema). Shared by every block of this shape in the resource.
CdnFrontdoorFirewallPolicyLogScrubbing
Typed helper for the log_scrubbing block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorFirewallPolicyManagedRule
Typed helper for the managed_rule block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorFirewallPolicyMatchCondition
Typed helper for the custom_rule.match_condition block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorFirewallPolicyOverride
Typed helper for the managed_rule.override block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorFirewallPolicyRule
Typed helper for the managed_rule.override.rule block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorFirewallPolicyScrubbingRule
Typed helper for the log_scrubbing.scrubbing_rule block of azurerm_cdn_frontdoor_firewall_policy (derived from provider schema).
CdnFrontdoorOriginGroupHealthProbe
Typed helper for the health_probe block of azurerm_cdn_frontdoor_origin_group (derived from provider schema).
CdnFrontdoorOriginGroupLoadBalancing
Typed helper for the load_balancing block of azurerm_cdn_frontdoor_origin_group (derived from provider schema).
Typed helper for the private_link block of azurerm_cdn_frontdoor_origin (derived from provider schema).
CdnFrontdoorProfileIdentity
Typed helper for the identity block of azurerm_cdn_frontdoor_profile (derived from provider schema).
CdnFrontdoorProfileLogScrubbingRule
Typed helper for the log_scrubbing_rule block of azurerm_cdn_frontdoor_profile (derived from provider schema).
CdnFrontdoorRouteCache
Typed helper for the cache block of azurerm_cdn_frontdoor_route (derived from provider schema).
CdnFrontdoorRuleActions
Typed helper for the actions block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleCaching
Typed helper for the actions.route_configuration_override.caching block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleClientPort
Typed helper for the conditions.client_port block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleConditions
Typed helper for the conditions block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleDeviceType
Typed helper for the conditions.device_type block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleHostName
Typed helper for the conditions.host_name block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleHttpVersion
Typed helper for the conditions.http_version block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleModifyRequestHeader
Typed helper for the actions.modify_request_header block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleModifyResponseHeader
Typed helper for the actions.modify_response_header block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleOriginGroup
Typed helper for the actions.route_configuration_override.origin_group block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRulePostArgument
Typed helper for the conditions.post_argument block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleQueryString
Typed helper for the conditions.query_string block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRemoteAddress
Typed helper for the conditions.remote_address block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestBody
Typed helper for the conditions.request_body block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestCookies
Typed helper for the conditions.request_cookies block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestFileExtension
Typed helper for the conditions.request_file_extension block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestFilename
Typed helper for the conditions.request_filename block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestHeader
Typed helper for the conditions.request_header block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestMethod
Typed helper for the conditions.request_method block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestPath
Typed helper for the conditions.request_path block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestScheme
Typed helper for the conditions.request_scheme block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRequestUrl
Typed helper for the conditions.request_url block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleRouteConfigurationOverride
Typed helper for the actions.route_configuration_override block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleServerPort
Typed helper for the conditions.server_port block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleSocketAddress
Typed helper for the conditions.socket_address block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleSslProtocol
Typed helper for the conditions.ssl_protocol block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleUrlRedirect
Typed helper for the actions.url_redirect block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorRuleUrlRewrite
Typed helper for the actions.url_rewrite block of azurerm_cdn_frontdoor_rule (derived from provider schema).
CdnFrontdoorSecret
Typed helper for the secret block of azurerm_cdn_frontdoor_secret (derived from provider schema).
CdnFrontdoorSecretCustomerCertificate
Typed helper for the secret.customer_certificate block of azurerm_cdn_frontdoor_secret (derived from provider schema).
CdnFrontdoorSecurityPolicyAssociation
Typed helper for the security_policies.firewall.association block of azurerm_cdn_frontdoor_security_policy (derived from provider schema).
CdnFrontdoorSecurityPolicyDomain
Typed helper for the security_policies.firewall.association.domain block of azurerm_cdn_frontdoor_security_policy (derived from provider schema).
CdnFrontdoorSecurityPolicyFirewall
Typed helper for the security_policies.firewall block of azurerm_cdn_frontdoor_security_policy (derived from provider schema).
CdnFrontdoorSecurityPolicySecurityPolicies
Typed helper for the security_policies block of azurerm_cdn_frontdoor_security_policy (derived from provider schema).
DartDefineOutput
An output whose value is the client build's --dart-define file, registered with Stack.addDartDefineOutput.
Data
Base of every user-instantiable Terraform data block.
DataAzurermCdnFrontdoorBatchRuleSet
Factory wrapper for azurerm_cdn_frontdoor_batch_rule_set.
DataAzurermCdnFrontdoorCustomDomain
Factory wrapper for azurerm_cdn_frontdoor_custom_domain.
DataAzurermCdnFrontdoorEndpoint
Factory wrapper for azurerm_cdn_frontdoor_endpoint.
DataAzurermCdnFrontdoorFirewallPolicy
Factory wrapper for azurerm_cdn_frontdoor_firewall_policy.
DataAzurermCdnFrontdoorOriginGroup
Factory wrapper for azurerm_cdn_frontdoor_origin_group.
DataAzurermCdnFrontdoorProfile
Factory wrapper for azurerm_cdn_frontdoor_profile.
DataAzurermCdnFrontdoorRuleSet
Factory wrapper for azurerm_cdn_frontdoor_rule_set.
DataAzurermCdnFrontdoorSecret
Factory wrapper for azurerm_cdn_frontdoor_secret.
DataAzurermCdnFrontdoorSecurityPolicy
Factory wrapper for azurerm_cdn_frontdoor_security_policy.
DataAzurermCdnProfile
Factory wrapper for azurerm_cdn_profile.
DataRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.data() may construct instances.
EnvironmentConstant
The AppConstant.fromEnvironment choice.
GcsBackend
terraform { backend "gcs" { ... } } configuration.
IgnoreAllChanges
IgnoreChanges.all.
IgnoreAttributes
IgnoreChanges.of.
IgnoreChanges
What ignore_changes covers: every attribute, or the listed ones.
InvalidDartDefineOutput
An output of Stack.addDartDefineOutput that cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all.
InvalidLifecycle
A lifecycle block Terraform rejects: a data source (or one of its attributes) in replaceTriggeredBy, all inside IgnoreChanges.of, or a condition with an empty error message.
InvalidMoveTarget
A moved block whose to names no resource of the Stack.
InvalidTimeout
A negative timeouts duration.
LifecycleCondition
A precondition or postcondition block: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false.
LifecycleOptions
lifecycle { ... } block on a resource.
LocalBackend
terraform { backend "local" { ... } } configuration.
MissingProvider
A block needs a provider configuration the Stack does not register: the provider its type implies (google for google_pubsub_topic), the one its provider meta-argument names, or one a module call passes on.
ModuleCall
A module "<localName>" { ... } call as a Dart value.
NoProviders
The Stack registers no provider, but declares resources or data sources.
ProviderConflict
Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
RefConstant<T>
The AppConstant.ref choice.
ReplaceTrigger
What lifecycle.replaceTriggeredBy lists: a resource of the Stack or an attribute getter of one. Resource and TfRef implement it; synth reports a data source or a data-source attribute as an InvalidLifecycle.
Resource
Base of every user-instantiable Terraform resource.
ResourceRef
Public for sealed pattern matching, but constructor is private — only TfRef.resource() may construct instances.
S3Backend
terraform { backend "s3" { ... } } configuration.
Sensitive<T>
What an argument Terraform marks sensitive takes: a variable, an expression or an attribute getter — a value Terraform resolves, never a Dart literal that would be written into main.tf.json.
SensitiveLiteral
A sensitive field is set to a literal, which would write the secret in plain text into main.tf.json.
Stack
User-extended IaC composition root.
StackBackend
Lightweight backend hook. Core ships GcsBackend, S3Backend, AzurermBackend, and LocalBackend; anything else implements this interface in the caller. The Stack only stores the value and exposes a discriminator for synth's terraform { backend ... } emitter.
StackProvider
Coordination interface between Stack (in this package) and concrete providers (e.g. GoogleProvider in terradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen.
SynthIssue
One reason a Stack cannot be synthesized.
SynthResult
Bundle returned by Stack.synth.
TfAddressed
Anything that exposes a Terraform address, e.g. google_pubsub_topic.orders.
TfArg<T>
A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
TfArgExpression<T>
A raw Terraform expression — the tf.json template string, verbatim.
TfArgLiteral<T>
TfArgVariable<T>
TfCollectionType
list(...), set(...) or map(...).
TfMoved
One moved { from = ... to = ... } block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create.
TfObjectType
object({ ... }).
TfOptionalType
optional(<type>[, <default>]).
TfOutput<T>
An output "<name>" { value = ... } block, registered with Stack.addOutput.
TfPrimitiveType
string, number, bool or any.
TfRef<T>
A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
TfTimeouts
timeouts { ... } on a resource or data source: how long Terraform waits for each operation before giving up.
TfTupleType
tuple([...]).
TfType
A Terraform type constraint: string, list(number), object({ name = string }).
TfVariable
One variable "<name>" { ... } declaration.
UndeclaredVariable
A TfArg.variable or var.<name> in an expression names a variable the Stack does not declare.
UnregisteredReference
A block references another block that was never registered on the Stack: built, but not passed to add(...) / addModule(...).
UnresolvableConstant
An AppConstant.ref whose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered.
ValueConstant<T>
The AppConstant.value choice.

Enums

ResourceKind
Whether a Stack entry is a resource block or a data block in Terraform JSON.

Extension Types

CdnEndpointAction
action — derived from the provider schema description.
CdnEndpointCustomDomainTlsVersion
tls_version — derived from the provider schema description.
CdnFrontdoorBatchRuleSetBehaviour
behaviour — derived from the provider schema description.
CdnFrontdoorBatchRuleSetBehaviourOnMatch
behaviour_on_match — derived from the provider schema description.
CdnFrontdoorBatchRuleSetClientPortOperator
operator — derived from the provider schema description.
CdnFrontdoorBatchRuleSetDeviceTypeOperator
operator — derived from the provider schema description.
CdnFrontdoorBatchRuleSetDeviceTypeValues
values — derived from the provider schema description.
CdnFrontdoorBatchRuleSetForwardingProtocol
forwarding_protocol — derived from the provider schema description.
CdnFrontdoorBatchRuleSetHttpVersionValues
values — derived from the provider schema description.
CdnFrontdoorBatchRuleSetModifyRequestHeaderOperator
operator — derived from the provider schema description.
CdnFrontdoorBatchRuleSetQueryStringBehaviour
query_string_behaviour — derived from the provider schema description.
CdnFrontdoorBatchRuleSetRedirectProtocol
redirect_protocol — derived from the provider schema description.
CdnFrontdoorBatchRuleSetRedirectType
redirect_type — derived from the provider schema description.
CdnFrontdoorBatchRuleSetRemoteAddressOperator
operator — derived from the provider schema description.
CdnFrontdoorBatchRuleSetRequestMethodValues
values — derived from the provider schema description.
CdnFrontdoorBatchRuleSetRequestPathOperator
operator — derived from the provider schema description.
CdnFrontdoorBatchRuleSetRequestSchemeValues
values — derived from the provider schema description.
CdnFrontdoorBatchRuleSetServerPortValues
values — derived from the provider schema description.
CdnFrontdoorBatchRuleSetSocketAddressOperator
operator — derived from the provider schema description.
CdnFrontdoorBatchRuleSetSslProtocolValues
values — derived from the provider schema description.
CdnFrontdoorBatchRuleSetTransforms
transforms — derived from the provider schema description.
CdnFrontdoorCustomDomainCertificateType
certificate_type — derived from the provider schema description.
CdnFrontdoorCustomDomainMinimumVersion
minimum_version — derived from the provider schema description.
CdnFrontdoorCustomDomainTls12
tls12 — derived from the provider schema description.
CdnFrontdoorCustomDomainTls13
tls13 — derived from the provider schema description.
CdnFrontdoorCustomDomainType
type — derived from the provider schema description.
CdnFrontdoorFirewallPolicyCustomRuleAction
action — derived from the provider schema description.
CdnFrontdoorFirewallPolicyExclusionMatchVariable
match_variable — derived from the provider schema description.
CdnFrontdoorFirewallPolicyExclusionOperator
operator — derived from the provider schema description.
CdnFrontdoorFirewallPolicyManagedRuleAction
action — derived from the provider schema description.
CdnFrontdoorFirewallPolicyMatchConditionMatchVariable
match_variable — derived from the provider schema description.
CdnFrontdoorFirewallPolicyMatchConditionOperator
operator — derived from the provider schema description.
CdnFrontdoorFirewallPolicyMode
Cdn Frontdoor Firewall Policy enum for mode.
CdnFrontdoorFirewallPolicyRuleAction
action — derived from the provider schema description.
CdnFrontdoorFirewallPolicyScrubbingRuleMatchVariable
match_variable — derived from the provider schema description.
CdnFrontdoorFirewallPolicyScrubbingRuleOperator
operator — derived from the provider schema description.
CdnFrontdoorFirewallPolicySkuName
Cdn Frontdoor Firewall Policy Sku enum for sku_name.
CdnFrontdoorFirewallPolicyTransforms
transforms — derived from the provider schema description.
CdnFrontdoorFirewallPolicyType
type — derived from the provider schema description.
CdnFrontdoorOriginGroupProtocol
protocol — derived from the provider schema description.
CdnFrontdoorOriginGroupRequestType
request_type — derived from the provider schema description.
CdnFrontdoorOriginTargetType
target_type — derived from the provider schema description.
CdnFrontdoorProfileMatchVariable
match_variable — derived from the provider schema description.
CdnFrontdoorProfileSkuName
Cdn Frontdoor Profile Sku enum for sku_name.
CdnFrontdoorRouteContentTypesToCompress
content_types_to_compress — derived from the provider schema description.
CdnFrontdoorRouteForwardingProtocol
Cdn Frontdoor Route Forwarding enum for forwarding_protocol.
CdnFrontdoorRouteQueryStringCachingBehavior
query_string_caching_behavior — derived from the provider schema description.
CdnFrontdoorRouteSupportedProtocols
Cdn Frontdoor Route Supported enum for supported_protocols.
CdnFrontdoorRuleBehaviour
behaviour — derived from the provider schema description.
CdnFrontdoorRuleBehaviourOnMatch
Cdn Frontdoor Rule Behaviour On enum for behaviour_on_match.
CdnFrontdoorRuleClientPortOperator
operator — derived from the provider schema description.
CdnFrontdoorRuleDeviceTypeOperator
operator — derived from the provider schema description.
CdnFrontdoorRuleDeviceTypeValues
values — derived from the provider schema description.
CdnFrontdoorRuleForwardingProtocol
forwarding_protocol — derived from the provider schema description.
CdnFrontdoorRuleHttpVersionValues
values — derived from the provider schema description.
CdnFrontdoorRuleModifyRequestHeaderOperator
operator — derived from the provider schema description.
CdnFrontdoorRuleQueryStringBehaviour
query_string_behaviour — derived from the provider schema description.
CdnFrontdoorRuleRedirectProtocol
redirect_protocol — derived from the provider schema description.
CdnFrontdoorRuleRedirectType
redirect_type — derived from the provider schema description.
CdnFrontdoorRuleRemoteAddressOperator
operator — derived from the provider schema description.
CdnFrontdoorRuleRequestMethodValues
values — derived from the provider schema description.
CdnFrontdoorRuleRequestPathOperator
operator — derived from the provider schema description.
CdnFrontdoorRuleRequestSchemeValues
values — derived from the provider schema description.
CdnFrontdoorRuleServerPortValues
values — derived from the provider schema description.
CdnFrontdoorRuleSocketAddressOperator
operator — derived from the provider schema description.
CdnFrontdoorRuleSslProtocolValues
values — derived from the provider schema description.
CdnFrontdoorRuleTransforms
transforms — derived from the provider schema description.
CdnFrontdoorSecurityPolicyPatternsToMatch
patterns_to_match — derived from the provider schema description.
CdnProfileSku
Cdn Profile enum for sku.
OutputEnvironment
The environment Stack.outputEnvironment returns: each variable and its value, in registration order.
RefTo
A reference to a resource of type R, for an argument that names another resource (network, vpc_id, role_arn, ...).

Extensions

RefToList on TfArg<List<RefTo<R>>>
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(...)).
TerraformDurationExt on Duration
Converts a Dart Duration into a Terraform duration string ("604800s").

Constants

terradartManifestVariable → const String
The environment variable the terradart command sets to the file runStack and runEnvironments describe what they wrote in.

Functions

runEnvironments<E extends Enum>(List<String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?, E? defaultEnv}) → Future<void>
The entry point of a project with one Stack per environment. The environments are the members of an enum of the project's own — any names, each carrying its values — so the Stack takes a typed env and derives everything per environment from it, its backend included:
runStack(List<String> args, Stack build(), {String out = 'tf-out'}) → Future<void>
The entry point of a project with one Stack: writes it to out.

Typedefs

EnumList<E extends TfArg<String>> = TfArg<List<E>>
A list-valued enum argument (allowed_grant_types, retry_conditions): a literal list of members of E, or one value Terraform resolves to the whole list.

Exceptions / Errors

DuplicateModuleError
A ModuleCall registered twice under one name.
DuplicateResourceError
Thrown by Stack.add when an entry with the same (kind, terraformType, localName) triple is registered twice.
SynthException
Thrown by Stack.synth() and Stack.writeTo() when the Stack has one or more SynthIssues. Nothing is written.