cloudwatch library

AWS CloudWatch (alarms, dashboards, logs, and events).

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.
AwsCloudwatchAlarmMuteRule
Factory wrapper for aws_cloudwatch_alarm_mute_rule.
AwsCloudwatchCompositeAlarm
Factory wrapper for aws_cloudwatch_composite_alarm.
AwsCloudwatchContributorInsightRule
Factory wrapper for aws_cloudwatch_contributor_insight_rule.
AwsCloudwatchContributorManagedInsightRule
Factory wrapper for aws_cloudwatch_contributor_managed_insight_rule.
AwsCloudwatchDashboard
Factory wrapper for aws_cloudwatch_dashboard.
AwsCloudwatchEventApiDestination
Factory wrapper for aws_cloudwatch_event_api_destination.
AwsCloudwatchEventArchive
Factory wrapper for aws_cloudwatch_event_archive.
AwsCloudwatchEventBus
Factory wrapper for aws_cloudwatch_event_bus.
AwsCloudwatchEventBusPolicy
Factory wrapper for aws_cloudwatch_event_bus_policy.
AwsCloudwatchEventConnection
Factory wrapper for aws_cloudwatch_event_connection.
AwsCloudwatchEventEndpoint
Factory wrapper for aws_cloudwatch_event_endpoint.
AwsCloudwatchEventPermission
Factory wrapper for aws_cloudwatch_event_permission.
AwsCloudwatchEventRule
Factory wrapper for aws_cloudwatch_event_rule.
AwsCloudwatchEventTarget
Factory wrapper for aws_cloudwatch_event_target.
AwsCloudwatchLogAccountPolicy
Factory wrapper for aws_cloudwatch_log_account_policy.
AwsCloudwatchLogAnomalyDetector
Factory wrapper for aws_cloudwatch_log_anomaly_detector.
AwsCloudwatchLogDataProtectionPolicy
Factory wrapper for aws_cloudwatch_log_data_protection_policy.
AwsCloudwatchLogDelivery
Factory wrapper for aws_cloudwatch_log_delivery.
AwsCloudwatchLogDeliveryDestination
Factory wrapper for aws_cloudwatch_log_delivery_destination.
AwsCloudwatchLogDeliveryDestinationPolicy
Factory wrapper for aws_cloudwatch_log_delivery_destination_policy.
AwsCloudwatchLogDeliverySource
Factory wrapper for aws_cloudwatch_log_delivery_source.
AwsCloudwatchLogDestination
Factory wrapper for aws_cloudwatch_log_destination.
AwsCloudwatchLogDestinationPolicy
Factory wrapper for aws_cloudwatch_log_destination_policy.
AwsCloudwatchLogGroup
Factory wrapper for aws_cloudwatch_log_group.
AwsCloudwatchLogIndexPolicy
Factory wrapper for aws_cloudwatch_log_index_policy.
AwsCloudwatchLogMetricFilter
Factory wrapper for aws_cloudwatch_log_metric_filter.
AwsCloudwatchLogResourcePolicy
Factory wrapper for aws_cloudwatch_log_resource_policy.
AwsCloudwatchLogS3TableIntegrationSource
Factory wrapper for aws_cloudwatch_log_s3_table_integration_source.
AwsCloudwatchLogStorageTierPolicy
Factory wrapper for aws_cloudwatch_log_storage_tier_policy.
AwsCloudwatchLogStream
Factory wrapper for aws_cloudwatch_log_stream.
AwsCloudwatchLogSubscriptionFilter
Factory wrapper for aws_cloudwatch_log_subscription_filter.
AwsCloudwatchLogTransformer
Factory wrapper for aws_cloudwatch_log_transformer.
AwsCloudwatchMetricAlarm
Factory wrapper for aws_cloudwatch_metric_alarm.
AwsCloudwatchMetricStream
Factory wrapper for aws_cloudwatch_metric_stream.
AwsCloudwatchOtelEnrichment
Factory wrapper for aws_cloudwatch_otel_enrichment.
AwsCloudwatchQueryDefinition
Factory wrapper for aws_cloudwatch_query_definition.
CloudwatchAlarmMuteRule
Typed helper for the rule block of aws_cloudwatch_alarm_mute_rule (derived from provider schema).
CloudwatchAlarmMuteRuleMuteTargets
Typed helper for the mute_targets block of aws_cloudwatch_alarm_mute_rule (derived from provider schema).
CloudwatchAlarmMuteRuleSchedule
Typed helper for the rule.schedule block of aws_cloudwatch_alarm_mute_rule (derived from provider schema).
CloudwatchCompositeAlarmActionsSuppressor
Typed helper for the actions_suppressor block of aws_cloudwatch_composite_alarm (derived from provider schema).
CloudwatchEventBusDeadLetterConfig
Typed helper for the dead_letter_config block of aws_cloudwatch_event_bus (derived from provider schema).
CloudwatchEventBusLogConfig
Typed helper for the log_config block of aws_cloudwatch_event_bus (derived from provider schema).
CloudwatchEventConnectionApiKey
Typed helper for the auth_parameters.api_key block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionAuth
Exactly one of api_key, basic, oauth on the auth_parameters block of aws_cloudwatch_event_connection: the provider rejects none and more than one, so each variant sets one of them.
CloudwatchEventConnectionAuthApiKey
The CloudwatchEventConnectionAuth.apiKey choice: sets api_key.
CloudwatchEventConnectionAuthBasic
The CloudwatchEventConnectionAuth.basic choice: sets basic.
CloudwatchEventConnectionAuthOauth
The CloudwatchEventConnectionAuth.oauth choice: sets oauth.
CloudwatchEventConnectionAuthParameters
Typed helper for the auth_parameters block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionBasic
Typed helper for the auth_parameters.basic block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionBody
Typed helper for the auth_parameters.invocation_http_parameters.body block of aws_cloudwatch_event_connection (derived from provider schema). Shared by every block of this shape in the resource.
CloudwatchEventConnectionClientParameters
Typed helper for the auth_parameters.oauth.client_parameters block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionConnectivityParameters
Typed helper for the auth_parameters.connectivity_parameters block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionHeader
Typed helper for the auth_parameters.invocation_http_parameters.header block of aws_cloudwatch_event_connection (derived from provider schema). Shared by every block of this shape in the resource.
CloudwatchEventConnectionInvocationConnectivityParameters
Typed helper for the invocation_connectivity_parameters block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionInvocationHttpParameters
Typed helper for the auth_parameters.invocation_http_parameters block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionOauth
Typed helper for the auth_parameters.oauth block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionOauthHttpParameters
Typed helper for the auth_parameters.oauth.oauth_http_parameters block of aws_cloudwatch_event_connection (derived from provider schema).
CloudwatchEventConnectionQueryString
Typed helper for the auth_parameters.invocation_http_parameters.query_string block of aws_cloudwatch_event_connection (derived from provider schema). Shared by every block of this shape in the resource.
CloudwatchEventConnectionResourceParameters
Typed helper for the invocation_connectivity_parameters.resource_parameters block of aws_cloudwatch_event_connection (derived from provider schema). Shared by every block of this shape in the resource.
CloudwatchEventEndpointEventBus
Typed helper for the event_bus block of aws_cloudwatch_event_endpoint (derived from provider schema).
CloudwatchEventEndpointFailoverConfig
Typed helper for the routing_config.failover_config block of aws_cloudwatch_event_endpoint (derived from provider schema).
CloudwatchEventEndpointPrimary
Typed helper for the routing_config.failover_config.primary block of aws_cloudwatch_event_endpoint (derived from provider schema).
CloudwatchEventEndpointReplicationConfig
Typed helper for the replication_config block of aws_cloudwatch_event_endpoint (derived from provider schema).
CloudwatchEventEndpointRoutingConfig
Typed helper for the routing_config block of aws_cloudwatch_event_endpoint (derived from provider schema).
CloudwatchEventEndpointSecondary
Typed helper for the routing_config.failover_config.secondary block of aws_cloudwatch_event_endpoint (derived from provider schema).
CloudwatchEventPermissionCondition
Typed helper for the condition block of aws_cloudwatch_event_permission (derived from provider schema).
CloudwatchEventRuleName
At most one of name, name_prefix on aws_cloudwatch_event_rule: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchEventRuleNameChoice
The CloudwatchEventRuleName.name choice: sets name.
CloudwatchEventRuleNamePrefix
The CloudwatchEventRuleName.namePrefix choice: sets name_prefix.
CloudwatchEventRuleStatus
At most one of is_enabled, state on aws_cloudwatch_event_rule: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchEventRuleStatusIsEnabled
The CloudwatchEventRuleStatus.isEnabled choice: sets is_enabled.
CloudwatchEventRuleStatusState
The CloudwatchEventRuleStatus.state choice: sets state.
CloudwatchEventTargetAppsyncTarget
Typed helper for the appsync_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetBatchTarget
Typed helper for the batch_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetCapacityProviderStrategy
Typed helper for the ecs_target.capacity_provider_strategy block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetDeadLetterConfig
Typed helper for the dead_letter_config block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetEcsTarget
Typed helper for the ecs_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetHttpTarget
Typed helper for the http_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetInput
At most one of input, input_path, input_transformer on aws_cloudwatch_event_target: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchEventTargetInputChoice
The CloudwatchEventTargetInput.input choice: sets input.
CloudwatchEventTargetInputPath
The CloudwatchEventTargetInput.inputPath choice: sets input_path.
CloudwatchEventTargetInputTransformer
Typed helper for the input_transformer block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetInputTransformerChoice
The CloudwatchEventTargetInput.inputTransformer choice: sets input_transformer.
CloudwatchEventTargetKinesisTarget
Typed helper for the kinesis_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetNetworkConfiguration
Typed helper for the ecs_target.network_configuration block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetOrderedPlacementStrategy
Typed helper for the ecs_target.ordered_placement_strategy block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetPipelineParameterList
Typed helper for the sagemaker_pipeline_target.pipeline_parameter_list block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetPlacementConstraint
Typed helper for the ecs_target.placement_constraint block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetRedshiftTarget
Typed helper for the redshift_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetRetryPolicy
Typed helper for the retry_policy block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetRunCommandTargets
Typed helper for the run_command_targets block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetSagemakerPipelineTarget
Typed helper for the sagemaker_pipeline_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchEventTargetSqsTarget
Typed helper for the sqs_target block of aws_cloudwatch_event_target (derived from provider schema).
CloudwatchLogDeliveryDestinationConfiguration
Typed helper for the delivery_destination_configuration block of aws_cloudwatch_log_delivery_destination (derived from provider schema).
CloudwatchLogGroupName
At most one of name, name_prefix on aws_cloudwatch_log_group: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchLogGroupNameChoice
The CloudwatchLogGroupName.name choice: sets name.
CloudwatchLogGroupNamePrefix
The CloudwatchLogGroupName.namePrefix choice: sets name_prefix.
CloudwatchLogMetricFilterMetricTransformation
Typed helper for the metric_transformation block of aws_cloudwatch_log_metric_filter (derived from provider schema).
CloudwatchLogResourcePolicyScope
Exactly one of policy_name, resource_arn on aws_cloudwatch_log_resource_policy: the provider rejects none and more than one, so each variant sets one of them.
CloudwatchLogResourcePolicyScopePolicyName
The CloudwatchLogResourcePolicyScope.policyName choice: sets policy_name.
CloudwatchLogResourcePolicyScopeResourceArn
The CloudwatchLogResourcePolicyScope.resourceArn choice: sets resource_arn.
CloudwatchLogS3TableIntegrationSourceDataSource
Typed helper for the data_source block of aws_cloudwatch_log_s3_table_integration_source (derived from provider schema).
CloudwatchLogTransformerAddKeys
Typed helper for the transformer_config.add_keys block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerAddKeysEntry
Typed helper for the transformer_config.add_keys.entry block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerConfig
Typed helper for the transformer_config block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerCopyValue
Typed helper for the transformer_config.copy_value block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerCopyValueEntry
Typed helper for the transformer_config.copy_value.entry block of aws_cloudwatch_log_transformer (derived from provider schema). Shared by every block of this shape in the resource.
CloudwatchLogTransformerCsv
Typed helper for the transformer_config.csv block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerDateTimeConverter
Typed helper for the transformer_config.date_time_converter block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerDeleteKeys
Typed helper for the transformer_config.delete_keys block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerGrok
Typed helper for the transformer_config.grok block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerListToMap
Typed helper for the transformer_config.list_to_map block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerLowerCaseString
Typed helper for the transformer_config.lower_case_string block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerMoveKeys
Typed helper for the transformer_config.move_keys block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseCloudfront
Typed helper for the transformer_config.parse_cloudfront block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseJson
Typed helper for the transformer_config.parse_json block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseKeyValue
Typed helper for the transformer_config.parse_key_value block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParsePostgres
Typed helper for the transformer_config.parse_postgres block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseRoute53
Typed helper for the transformer_config.parse_route53 block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseToOcsf
Typed helper for the transformer_config.parse_to_ocsf block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseVpc
Typed helper for the transformer_config.parse_vpc block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerParseWaf
Typed helper for the transformer_config.parse_waf block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerRenameKeys
Typed helper for the transformer_config.rename_keys block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerRenameKeysEntry
Typed helper for the transformer_config.rename_keys.entry block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerSplitString
Typed helper for the transformer_config.split_string block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerSplitStringEntry
Typed helper for the transformer_config.split_string.entry block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerSubstituteString
Typed helper for the transformer_config.substitute_string block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerSubstituteStringEntry
Typed helper for the transformer_config.substitute_string.entry block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerTrimString
Typed helper for the transformer_config.trim_string block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerTypeConverter
Typed helper for the transformer_config.type_converter block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerTypeConverterEntry
Typed helper for the transformer_config.type_converter.entry block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchLogTransformerUpperCaseString
Typed helper for the transformer_config.upper_case_string block of aws_cloudwatch_log_transformer (derived from provider schema).
CloudwatchMetricAlarmAggregation
At most one of extended_statistic, statistic on aws_cloudwatch_metric_alarm: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchMetricAlarmAggregationExtendedStatistic
The CloudwatchMetricAlarmAggregation.extendedStatistic choice: sets extended_statistic.
CloudwatchMetricAlarmAggregationStatistic
The CloudwatchMetricAlarmAggregation.statistic choice: sets statistic.
CloudwatchMetricAlarmEvaluationCriteria
Typed helper for the evaluation_criteria block of aws_cloudwatch_metric_alarm (derived from provider schema).
CloudwatchMetricAlarmMetric
Typed helper for the metric_query.metric block of aws_cloudwatch_metric_alarm (derived from provider schema).
CloudwatchMetricAlarmMetricQuery
Typed helper for the metric_query block of aws_cloudwatch_metric_alarm (derived from provider schema).
CloudwatchMetricAlarmPromqlCriteria
Typed helper for the evaluation_criteria.promql_criteria block of aws_cloudwatch_metric_alarm (derived from provider schema).
CloudwatchMetricAlarmSignal
Exactly one of evaluation_criteria, metric_name, metric_query on aws_cloudwatch_metric_alarm: the provider rejects none and more than one, so each variant sets one of them.
CloudwatchMetricAlarmSignalEvaluationCriteria
The CloudwatchMetricAlarmSignal.evaluationCriteria choice: sets evaluation_criteria.
CloudwatchMetricAlarmSignalMetricName
The CloudwatchMetricAlarmSignal.metricName choice: sets metric_name.
CloudwatchMetricAlarmSignalMetricQuery
The CloudwatchMetricAlarmSignal.metricQuery choice: sets metric_query.
CloudwatchMetricAlarmThreshold
At most one of threshold, threshold_metric_id on aws_cloudwatch_metric_alarm: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchMetricAlarmThresholdChoice
The CloudwatchMetricAlarmThreshold.threshold choice: sets threshold.
CloudwatchMetricAlarmThresholdMetricId
The CloudwatchMetricAlarmThreshold.thresholdMetricId choice: sets threshold_metric_id.
CloudwatchMetricAlarmWarmUpConfiguration
Typed helper for the warm_up_configuration block of aws_cloudwatch_metric_alarm (derived from provider schema).
CloudwatchMetricStreamExcludeFilter
Typed helper for the exclude_filter block of aws_cloudwatch_metric_stream (derived from provider schema).
CloudwatchMetricStreamExcludeFilterChoice
The CloudwatchMetricStreamFilter.excludeFilter choice: sets exclude_filter.
CloudwatchMetricStreamFilter
At most one of exclude_filter, include_filter on aws_cloudwatch_metric_stream: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchMetricStreamIncludeFilter
Typed helper for the include_filter block of aws_cloudwatch_metric_stream (derived from provider schema).
CloudwatchMetricStreamIncludeFilterChoice
The CloudwatchMetricStreamFilter.includeFilter choice: sets include_filter.
CloudwatchMetricStreamIncludeMetric
Typed helper for the statistics_configuration.include_metric block of aws_cloudwatch_metric_stream (derived from provider schema).
CloudwatchMetricStreamName
At most one of name, name_prefix on aws_cloudwatch_metric_stream: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
CloudwatchMetricStreamNameChoice
The CloudwatchMetricStreamName.name choice: sets name.
CloudwatchMetricStreamNamePrefix
The CloudwatchMetricStreamName.namePrefix choice: sets name_prefix.
CloudwatchMetricStreamStatisticsConfiguration
Typed helper for the statistics_configuration block of aws_cloudwatch_metric_stream (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.
DataAwsCloudwatchContributorManagedInsightRules
Factory wrapper for aws_cloudwatch_contributor_managed_insight_rules.
DataAwsCloudwatchEventBus
Factory wrapper for aws_cloudwatch_event_bus.
DataAwsCloudwatchEventBuses
Factory wrapper for aws_cloudwatch_event_buses.
DataAwsCloudwatchEventConnection
Factory wrapper for aws_cloudwatch_event_connection.
DataAwsCloudwatchEventSource
Factory wrapper for aws_cloudwatch_event_source.
DataAwsCloudwatchLogDataProtectionPolicyDocument
Factory wrapper for aws_cloudwatch_log_data_protection_policy_document.
DataAwsCloudwatchLogGroup
Factory wrapper for aws_cloudwatch_log_group.
DataAwsCloudwatchLogGroups
Factory wrapper for aws_cloudwatch_log_groups.
DataCloudwatchLogDataProtectionPolicyDocumentAudit
Typed helper for the statement.operation.audit block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentCloudwatchLogs
Typed helper for the statement.operation.audit.findings_destination.cloudwatch_logs block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentConfiguration
Typed helper for the configuration block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentCustomDataIdentifier
Typed helper for the configuration.custom_data_identifier block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentDeidentify
Typed helper for the statement.operation.deidentify block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentFindingsDestination
Typed helper for the statement.operation.audit.findings_destination block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentFirehose
Typed helper for the statement.operation.audit.findings_destination.firehose block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentMaskConfig
Typed helper for the statement.operation.deidentify.mask_config block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentOperation
Typed helper for the statement.operation block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentS3
Typed helper for the statement.operation.audit.findings_destination.s3 block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
DataCloudwatchLogDataProtectionPolicyDocumentStatement
Typed helper for the statement block of aws_cloudwatch_log_data_protection_policy_document (derived from provider schema).
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

CloudwatchContributorInsightRuleState
Cloudwatch Contributor Insight Rule enum for rule_state.
CloudwatchEventApiDestinationHttpMethod
Cloudwatch Event Api Destination Http enum for http_method.
CloudwatchEventBusIncludeDetail
include_detail — derived from the provider schema description.
CloudwatchEventBusLevel
level — derived from the provider schema description.
CloudwatchEventConnectionAuthorizationType
Cloudwatch Event Connection Authorization enum for authorization_type.
CloudwatchEventConnectionHttpMethod
http_method — derived from the provider schema description.
CloudwatchEventEndpointState
state — derived from the provider schema description.
CloudwatchEventPermissionKey
key — derived from the provider schema description.
CloudwatchEventPermissionType
type — derived from the provider schema description.
CloudwatchEventRuleState
Cloudwatch Event Rule enum for state.
CloudwatchEventTargetLaunchType
launch_type — derived from the provider schema description.
CloudwatchEventTargetOrderedPlacementStrategyType
type — derived from the provider schema description.
CloudwatchEventTargetPlacementConstraintType
type — derived from the provider schema description.
CloudwatchEventTargetPropagateTags
propagate_tags — derived from the provider schema description.
CloudwatchLogAccountPolicyScope
Cloudwatch Log Account Policy enum for scope.
CloudwatchLogAccountPolicyType
Cloudwatch Log Account Policy enum for policy_type.
CloudwatchLogAnomalyDetectorEvaluationFrequency
Cloudwatch Log Anomaly Detector Evaluation enum for evaluation_frequency.
CloudwatchLogDeliveryDestinationOutputFormat
Cloudwatch Log Delivery Destination Output enum for output_format.
CloudwatchLogDeliveryDestinationType
Cloudwatch Log Delivery Destination enum for delivery_destination_type.
CloudwatchLogGroupClass
Cloudwatch Log Group enum for log_group_class.
CloudwatchLogMetricFilterUnit
unit — derived from the provider schema description.
CloudwatchLogStorageTierPolicyStorageTier
Cloudwatch Log Storage Tier Policy Storage enum for storage_tier.
CloudwatchLogSubscriptionFilterDistribution
Cloudwatch Log Subscription Filter enum for distribution.
CloudwatchLogSubscriptionFilterEmitSystemFields
Cloudwatch Log Subscription Filter Emit System enum for emit_system_fields.
CloudwatchLogTransformerEventSource
event_source — derived from the provider schema description.
CloudwatchLogTransformerFlattenedElement
flattened_element — derived from the provider schema description.
CloudwatchLogTransformerOcsfVersion
ocsf_version — derived from the provider schema description.
CloudwatchLogTransformerType
type — derived from the provider schema description.
CloudwatchMetricAlarmComparisonOperator
Cloudwatch Metric Alarm Comparison enum for comparison_operator.
CloudwatchMetricAlarmEvaluateLowSampleCountPercentiles
Cloudwatch Metric Alarm Evaluate Low Sample Count enum for evaluate_low_sample_count_percentiles.
CloudwatchMetricAlarmMetricUnit
unit — derived from the provider schema description.
CloudwatchMetricAlarmStat
stat — derived from the provider schema description.
CloudwatchMetricAlarmStatistic
Cloudwatch Metric Alarm enum for statistic.
CloudwatchMetricAlarmTreatMissingData
Cloudwatch Metric Alarm Treat Missing enum for treat_missing_data.
CloudwatchMetricAlarmUnit
Cloudwatch Metric Alarm enum for unit.
CloudwatchMetricStreamOutputFormat
Cloudwatch Metric Stream Output enum for output_format.
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.