cloudfront library

AWS CloudFront.

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.
AwsCloudfrontAnycastIpList
Factory wrapper for aws_cloudfront_anycast_ip_list.
AwsCloudfrontCachePolicy
Factory wrapper for aws_cloudfront_cache_policy.
AwsCloudfrontConnectionFunction
Factory wrapper for aws_cloudfront_connection_function.
AwsCloudfrontConnectionGroup
Factory wrapper for aws_cloudfront_connection_group.
AwsCloudfrontContinuousDeploymentPolicy
Factory wrapper for aws_cloudfront_continuous_deployment_policy.
AwsCloudfrontDistribution
Factory wrapper for aws_cloudfront_distribution.
AwsCloudfrontDistributionTenant
Factory wrapper for aws_cloudfront_distribution_tenant.
AwsCloudfrontFieldLevelEncryptionConfig
Factory wrapper for aws_cloudfront_field_level_encryption_config.
AwsCloudfrontFieldLevelEncryptionProfile
Factory wrapper for aws_cloudfront_field_level_encryption_profile.
AwsCloudfrontFunction
Factory wrapper for aws_cloudfront_function.
AwsCloudfrontKeyGroup
Factory wrapper for aws_cloudfront_key_group.
AwsCloudfrontKeyValueStore
Factory wrapper for aws_cloudfront_key_value_store.
AwsCloudfrontMonitoringSubscription
Factory wrapper for aws_cloudfront_monitoring_subscription.
AwsCloudfrontMultitenantDistribution
Factory wrapper for aws_cloudfront_multitenant_distribution.
AwsCloudfrontOriginAccessControl
Factory wrapper for aws_cloudfront_origin_access_control.
AwsCloudfrontOriginAccessIdentity
Factory wrapper for aws_cloudfront_origin_access_identity.
AwsCloudfrontOriginRequestPolicy
Factory wrapper for aws_cloudfront_origin_request_policy.
AwsCloudfrontPublicKey
Factory wrapper for aws_cloudfront_public_key.
AwsCloudfrontRealtimeLogConfig
Factory wrapper for aws_cloudfront_realtime_log_config.
AwsCloudfrontResponseHeadersPolicy
Factory wrapper for aws_cloudfront_response_headers_policy.
AwsCloudfrontTrustStore
Factory wrapper for aws_cloudfront_trust_store.
AwsCloudfrontVpcOrigin
Factory wrapper for aws_cloudfront_vpc_origin.
CloudfrontCachePolicyCookies
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin.cookies_config.cookies block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontCachePolicyCookiesConfig
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin.cookies_config block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontCachePolicyHeaders
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin.headers_config.headers block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontCachePolicyHeadersConfig
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin.headers_config block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontCachePolicyParametersInCacheKeyAndForwardedToOrigin
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontCachePolicyQueryStrings
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin.query_strings_config.query_strings block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontCachePolicyQueryStringsConfig
Typed helper for the parameters_in_cache_key_and_forwarded_to_origin.query_strings_config block of aws_cloudfront_cache_policy (derived from provider schema).
CloudfrontConnectionFunctionConfig
Typed helper for the connection_function_config block of aws_cloudfront_connection_function (derived from provider schema).
CloudfrontConnectionFunctionKeyValueStoreAssociation
Typed helper for the connection_function_config.key_value_store_association block of aws_cloudfront_connection_function (derived from provider schema).
CloudfrontContinuousDeploymentPolicySessionStickinessConfig
Typed helper for the traffic_config.single_weight_config.session_stickiness_config block of aws_cloudfront_continuous_deployment_policy (derived from provider schema).
CloudfrontContinuousDeploymentPolicySingleHeaderConfig
Typed helper for the traffic_config.single_header_config block of aws_cloudfront_continuous_deployment_policy (derived from provider schema).
CloudfrontContinuousDeploymentPolicySingleWeightConfig
Typed helper for the traffic_config.single_weight_config block of aws_cloudfront_continuous_deployment_policy (derived from provider schema).
CloudfrontContinuousDeploymentPolicyStagingDistributionDnsNames
Typed helper for the staging_distribution_dns_names block of aws_cloudfront_continuous_deployment_policy (derived from provider schema).
CloudfrontContinuousDeploymentPolicyTrafficConfig
Typed helper for the traffic_config block of aws_cloudfront_continuous_deployment_policy (derived from provider schema).
CloudfrontDistributionCacheTagConfig
Typed helper for the cache_tag_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionConnectionFunctionAssociation
Typed helper for the connection_function_association block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionCookies
Typed helper for the default_cache_behavior.forwarded_values.cookies block of aws_cloudfront_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontDistributionCustomErrorResponse
Typed helper for the custom_error_response block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionCustomHeader
Typed helper for the origin.custom_header block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionCustomOriginConfig
Typed helper for the origin.custom_origin_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionDefaultCacheBehavior
Typed helper for the default_cache_behavior block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionFailoverCriteria
Typed helper for the origin_group.failover_criteria block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionForwardedValues
Typed helper for the default_cache_behavior.forwarded_values block of aws_cloudfront_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontDistributionFunctionAssociation
Typed helper for the default_cache_behavior.function_association block of aws_cloudfront_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontDistributionGeoRestriction
Typed helper for the restrictions.geo_restriction block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionGrpcConfig
Typed helper for the default_cache_behavior.grpc_config block of aws_cloudfront_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontDistributionLambdaFunctionAssociation
Typed helper for the default_cache_behavior.lambda_function_association block of aws_cloudfront_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontDistributionLoggingConfig
Typed helper for the logging_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionMember
Typed helper for the origin_group.member block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionOrderedCacheBehavior
Typed helper for the ordered_cache_behavior block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionOrigin
Typed helper for the origin block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionOriginGroup
Typed helper for the origin_group block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionOriginMtlsConfig
Typed helper for the origin.custom_origin_config.origin_mtls_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionOriginShield
Typed helper for the origin.origin_shield block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionRestrictions
Typed helper for the restrictions block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionS3OriginConfig
Typed helper for the origin.s3_origin_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionTenantCertificate
Typed helper for the customizations.certificate block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTenantCustomizations
Typed helper for the customizations block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTenantDomain
Typed helper for the domain block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTenantGeoRestriction
Typed helper for the customizations.geo_restriction block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTenantManagedCertificateRequest
Typed helper for the managed_certificate_request block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTenantParameter
Typed helper for the parameter block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTenantWebAcl
Typed helper for the customizations.web_acl block of aws_cloudfront_distribution_tenant (derived from provider schema).
CloudfrontDistributionTrustStoreConfig
Typed helper for the viewer_mtls_config.trust_store_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionViewerCertificate
Typed helper for the viewer_certificate block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionViewerMtlsConfig
Typed helper for the viewer_mtls_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontDistributionVpcOriginConfig
Typed helper for the origin.vpc_origin_config block of aws_cloudfront_distribution (derived from provider schema).
CloudfrontFieldLevelEncryptionConfigContentTypeProfileConfig
Typed helper for the content_type_profile_config block of aws_cloudfront_field_level_encryption_config (derived from provider schema).
CloudfrontFieldLevelEncryptionConfigContentTypeProfiles
Typed helper for the content_type_profile_config.content_type_profiles block of aws_cloudfront_field_level_encryption_config (derived from provider schema).
CloudfrontFieldLevelEncryptionConfigContentTypeProfilesItems
Typed helper for the content_type_profile_config.content_type_profiles.items block of aws_cloudfront_field_level_encryption_config (derived from provider schema).
CloudfrontFieldLevelEncryptionConfigQueryArgProfileConfig
Typed helper for the query_arg_profile_config block of aws_cloudfront_field_level_encryption_config (derived from provider schema).
CloudfrontFieldLevelEncryptionConfigQueryArgProfiles
Typed helper for the query_arg_profile_config.query_arg_profiles block of aws_cloudfront_field_level_encryption_config (derived from provider schema).
CloudfrontFieldLevelEncryptionConfigQueryArgProfilesItems
Typed helper for the query_arg_profile_config.query_arg_profiles.items block of aws_cloudfront_field_level_encryption_config (derived from provider schema).
CloudfrontFieldLevelEncryptionProfileEncryptionEntities
Typed helper for the encryption_entities block of aws_cloudfront_field_level_encryption_profile (derived from provider schema).
CloudfrontFieldLevelEncryptionProfileFieldPatterns
Typed helper for the encryption_entities.items.field_patterns block of aws_cloudfront_field_level_encryption_profile (derived from provider schema).
CloudfrontFieldLevelEncryptionProfileItems
Typed helper for the encryption_entities.items block of aws_cloudfront_field_level_encryption_profile (derived from provider schema).
CloudfrontMonitoringSubscription
Typed helper for the monitoring_subscription block of aws_cloudfront_monitoring_subscription (derived from provider schema).
CloudfrontMonitoringSubscriptionRealtimeMetricsSubscriptionConfig
Typed helper for the monitoring_subscription.realtime_metrics_subscription_config block of aws_cloudfront_monitoring_subscription (derived from provider schema).
CloudfrontMultitenantDistributionActiveTrustedKeyGroups
Typed helper for the active_trusted_key_groups block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionAllowedMethods
Typed helper for the cache_behavior.allowed_methods block of aws_cloudfront_multitenant_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontMultitenantDistributionCacheBehavior
Typed helper for the cache_behavior block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionCustomErrorResponse
Typed helper for the custom_error_response block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionCustomHeader
Typed helper for the origin.custom_header block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionCustomOriginConfig
Typed helper for the origin.custom_origin_config block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionDefaultCacheBehavior
Typed helper for the default_cache_behavior block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionDefinition
Typed helper for the tenant_config.parameter_definition.definition block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionFailoverCriteria
Typed helper for the origin_group.failover_criteria block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionFunctionAssociation
Typed helper for the cache_behavior.function_association block of aws_cloudfront_multitenant_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontMultitenantDistributionGeoRestriction
Typed helper for the restrictions.geo_restriction block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionItems
Typed helper for the active_trusted_key_groups.items block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionLambdaFunctionAssociation
Typed helper for the cache_behavior.lambda_function_association block of aws_cloudfront_multitenant_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontMultitenantDistributionMember
Typed helper for the origin_group.member block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionOrigin
Typed helper for the origin block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionOriginGroup
Typed helper for the origin_group block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionOriginMtlsConfig
Typed helper for the origin.custom_origin_config.origin_mtls_config block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionOriginShield
Typed helper for the origin.origin_shield block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionParameterDefinition
Typed helper for the tenant_config.parameter_definition block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionRestrictions
Typed helper for the restrictions block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionStringSchema
Typed helper for the tenant_config.parameter_definition.definition.string_schema block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionTenantConfig
Typed helper for the tenant_config block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionTrustedKeyGroups
Typed helper for the cache_behavior.trusted_key_groups block of aws_cloudfront_multitenant_distribution (derived from provider schema). Shared by every block of this shape in the resource.
CloudfrontMultitenantDistributionViewerCertificate
Typed helper for the viewer_certificate block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontMultitenantDistributionVpcOriginConfig
Typed helper for the origin.vpc_origin_config block of aws_cloudfront_multitenant_distribution (derived from provider schema).
CloudfrontOriginRequestPolicyCookies
Typed helper for the cookies_config.cookies block of aws_cloudfront_origin_request_policy (derived from provider schema).
CloudfrontOriginRequestPolicyCookiesConfig
Typed helper for the cookies_config block of aws_cloudfront_origin_request_policy (derived from provider schema).
CloudfrontOriginRequestPolicyHeaders
Typed helper for the headers_config.headers block of aws_cloudfront_origin_request_policy (derived from provider schema).
CloudfrontOriginRequestPolicyHeadersConfig
Typed helper for the headers_config block of aws_cloudfront_origin_request_policy (derived from provider schema).
CloudfrontOriginRequestPolicyQueryStrings
Typed helper for the query_strings_config.query_strings block of aws_cloudfront_origin_request_policy (derived from provider schema).
CloudfrontOriginRequestPolicyQueryStringsConfig
Typed helper for the query_strings_config block of aws_cloudfront_origin_request_policy (derived from provider schema).
CloudfrontPublicKeyName
At most one of name, name_prefix on aws_cloudfront_public_key: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudfrontPublicKeyNameChoice
The CloudfrontPublicKeyName.name choice: sets name.
CloudfrontPublicKeyNamePrefix
The CloudfrontPublicKeyName.namePrefix choice: sets name_prefix.
CloudfrontRealtimeLogConfigEndpoint
Typed helper for the endpoint block of aws_cloudfront_realtime_log_config (derived from provider schema).
CloudfrontRealtimeLogConfigKinesisStreamConfig
Typed helper for the endpoint.kinesis_stream_config block of aws_cloudfront_realtime_log_config (derived from provider schema).
CloudfrontResponseHeadersPolicyAccessControlAllowHeaders
Typed helper for the cors_config.access_control_allow_headers block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyAccessControlAllowMethods
Typed helper for the cors_config.access_control_allow_methods block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyAccessControlAllowOrigins
Typed helper for the cors_config.access_control_allow_origins block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyAccessControlExposeHeaders
Typed helper for the cors_config.access_control_expose_headers block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyContentSecurityPolicy
Typed helper for the security_headers_config.content_security_policy block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyContentTypeOptions
Typed helper for the security_headers_config.content_type_options block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyCorsConfig
Typed helper for the cors_config block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyCustomHeadersConfig
Typed helper for the custom_headers_config block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyCustomHeadersConfigItems
Typed helper for the custom_headers_config.items block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyFrameOptions
Typed helper for the security_headers_config.frame_options block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyReferrerPolicy
Typed helper for the security_headers_config.referrer_policy block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyRemoveHeadersConfig
Typed helper for the remove_headers_config block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyRemoveHeadersConfigItems
Typed helper for the remove_headers_config.items block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicySecurityHeadersConfig
Typed helper for the security_headers_config block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyServerTimingHeadersConfig
Typed helper for the server_timing_headers_config block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyStrictTransportSecurity
Typed helper for the security_headers_config.strict_transport_security block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontResponseHeadersPolicyXssProtection
Typed helper for the security_headers_config.xss_protection block of aws_cloudfront_response_headers_policy (derived from provider schema).
CloudfrontTrustStoreCaCertificatesBundleS3Location
Typed helper for the ca_certificates_bundle_source.ca_certificates_bundle_s3_location block of aws_cloudfront_trust_store (derived from provider schema).
CloudfrontTrustStoreCaCertificatesBundleSource
Typed helper for the ca_certificates_bundle_source block of aws_cloudfront_trust_store (derived from provider schema).
CloudfrontVpcOriginEndpointConfig
Typed helper for the vpc_origin_endpoint_config block of aws_cloudfront_vpc_origin (derived from provider schema).
CloudfrontVpcOriginSslProtocols
Typed helper for the vpc_origin_endpoint_config.origin_ssl_protocols block of aws_cloudfront_vpc_origin (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.
DataAwsCloudfrontCachePolicy
Factory wrapper for aws_cloudfront_cache_policy.
DataAwsCloudfrontConnectionGroup
Factory wrapper for aws_cloudfront_connection_group.
DataAwsCloudfrontDistribution
Factory wrapper for aws_cloudfront_distribution.
DataAwsCloudfrontDistributionTenant
Factory wrapper for aws_cloudfront_distribution_tenant.
DataAwsCloudfrontFunction
Factory wrapper for aws_cloudfront_function.
DataAwsCloudfrontLogDeliveryCanonicalUserId
Factory wrapper for aws_cloudfront_log_delivery_canonical_user_id.
DataAwsCloudfrontOriginAccessControl
Factory wrapper for aws_cloudfront_origin_access_control.
DataAwsCloudfrontOriginAccessIdentities
Factory wrapper for aws_cloudfront_origin_access_identities.
DataAwsCloudfrontOriginAccessIdentity
Factory wrapper for aws_cloudfront_origin_access_identity.
DataAwsCloudfrontOriginRequestPolicy
Factory wrapper for aws_cloudfront_origin_request_policy.
DataAwsCloudfrontRealtimeLogConfig
Factory wrapper for aws_cloudfront_realtime_log_config.
DataAwsCloudfrontResponseHeadersPolicy
Factory wrapper for aws_cloudfront_response_headers_policy.
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, 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 StackSynth.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

CloudfrontCachePolicyCookieBehavior
cookie_behavior — derived from the provider schema description.
CloudfrontCachePolicyHeaderBehavior
header_behavior — derived from the provider schema description.
CloudfrontCachePolicyQueryStringBehavior
query_string_behavior — derived from the provider schema description.
CloudfrontConnectionFunctionRuntime
runtime — derived from the provider schema description.
CloudfrontContinuousDeploymentPolicyType
type — derived from the provider schema description.
CloudfrontDistributionEventType
event_type — derived from the provider schema description.
CloudfrontDistributionForward
forward — derived from the provider schema description.
CloudfrontDistributionHttpVersion
Cloudfront Distribution Http enum for http_version.
CloudfrontDistributionIpAddressType
ip_address_type — derived from the provider schema description.
CloudfrontDistributionMinimumProtocolVersion
minimum_protocol_version — derived from the provider schema description.
CloudfrontDistributionMode
mode — derived from the provider schema description.
CloudfrontDistributionOriginProtocolPolicy
origin_protocol_policy — derived from the provider schema description.
CloudfrontDistributionOriginSslProtocols
origin_ssl_protocols — derived from the provider schema description.
CloudfrontDistributionPriceClass
Cloudfront Distribution Price enum for price_class.
CloudfrontDistributionRestrictionType
restriction_type — derived from the provider schema description.
CloudfrontDistributionSslSupportMethod
ssl_support_method — derived from the provider schema description.
CloudfrontDistributionTenantAction
action — derived from the provider schema description.
CloudfrontDistributionTenantCertificateTransparencyLoggingPreference
certificate_transparency_logging_preference — derived from the provider schema description.
CloudfrontDistributionTenantRestrictionType
restriction_type — derived from the provider schema description.
CloudfrontDistributionTenantValidationTokenHost
validation_token_host — derived from the provider schema description.
CloudfrontDistributionViewerProtocolPolicy
viewer_protocol_policy — derived from the provider schema description.
CloudfrontFunctionRuntime
Cloudfront Function enum for runtime.
CloudfrontMonitoringSubscriptionRealtimeMetricsSubscriptionStatus
realtime_metrics_subscription_status — derived from the provider schema description.
CloudfrontMultitenantDistributionCachedMethods
cached_methods — derived from the provider schema description.
CloudfrontMultitenantDistributionEventType
event_type — derived from the provider schema description.
CloudfrontMultitenantDistributionHttpVersion
Cloudfront Multitenant Distribution Http enum for http_version.
CloudfrontMultitenantDistributionIpAddressType
ip_address_type — derived from the provider schema description.
CloudfrontMultitenantDistributionMinimumProtocolVersion
minimum_protocol_version — derived from the provider schema description.
CloudfrontMultitenantDistributionOriginProtocolPolicy
origin_protocol_policy — derived from the provider schema description.
CloudfrontMultitenantDistributionOriginSslProtocols
origin_ssl_protocols — derived from the provider schema description.
CloudfrontMultitenantDistributionRestrictionType
restriction_type — derived from the provider schema description.
CloudfrontMultitenantDistributionSslSupportMethod
ssl_support_method — derived from the provider schema description.
CloudfrontMultitenantDistributionViewerProtocolPolicy
viewer_protocol_policy — derived from the provider schema description.
CloudfrontOriginAccessControlOriginType
Cloudfront Origin Access Control Origin enum for origin_access_control_origin_type.
CloudfrontOriginAccessControlSigningBehavior
Cloudfront Origin Access Control Signing enum for signing_behavior.
CloudfrontOriginAccessControlSigningProtocol
Cloudfront Origin Access Control Signing enum for signing_protocol.
CloudfrontOriginRequestPolicyCookieBehavior
cookie_behavior — derived from the provider schema description.
CloudfrontOriginRequestPolicyHeaderBehavior
header_behavior — derived from the provider schema description.
CloudfrontOriginRequestPolicyQueryStringBehavior
query_string_behavior — derived from the provider schema description.
CloudfrontRealtimeLogConfigStreamType
stream_type — derived from the provider schema description.
CloudfrontResponseHeadersPolicyFrameOption
frame_option — derived from the provider schema description.
CloudfrontResponseHeadersPolicySecurityHeadersConfigReferrerPolicy
referrer_policy — derived from the provider schema description.
CloudfrontVpcOriginProtocolPolicy
origin_protocol_policy — derived from the provider schema description.
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").

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.