observabilityadmin library

AWS CloudWatch Observability Admin.

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.
AwsObservabilityadminCentralizationRuleForOrganization
Factory wrapper for aws_observabilityadmin_centralization_rule_for_organization.
AwsObservabilityadminS3TableIntegration
Factory wrapper for aws_observabilityadmin_s3_table_integration.
AwsObservabilityadminTelemetryEnrichment
Factory wrapper for aws_observabilityadmin_telemetry_enrichment.
AwsObservabilityadminTelemetryEvaluation
Factory wrapper for aws_observabilityadmin_telemetry_evaluation.
AwsObservabilityadminTelemetryEvaluationForOrganization
Factory wrapper for aws_observabilityadmin_telemetry_evaluation_for_organization.
AwsObservabilityadminTelemetryPipeline
Factory wrapper for aws_observabilityadmin_telemetry_pipeline.
AwsObservabilityadminTelemetryRule
Factory wrapper for aws_observabilityadmin_telemetry_rule.
AwsObservabilityadminTelemetryRuleForOrganization
Factory wrapper for aws_observabilityadmin_telemetry_rule_for_organization.
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.
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.
ObservabilityadminCentralizationRuleForOrganizationDestination
Typed helper for the rule.destination block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationDestinationLogsConfiguration
Typed helper for the rule.destination.destination_logs_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationDestinationLogsConfigurationBackupConfiguration
Typed helper for the rule.destination.destination_logs_configuration.backup_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationDestinationMetricsConfiguration
Typed helper for the rule.destination.destination_metrics_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationDestinationMetricsConfigurationBackupConfiguration
Typed helper for the rule.destination.destination_metrics_configuration.backup_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationLogGroupNameConfiguration
Typed helper for the rule.destination.destination_logs_configuration.log_group_name_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationLogsEncryptionConfiguration
Typed helper for the rule.destination.destination_logs_configuration.logs_encryption_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationRule
Typed helper for the rule block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationSource
Typed helper for the rule.source block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationSourceLogsConfiguration
Typed helper for the rule.source.source_logs_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationSourceMetricsConfiguration
Typed helper for the rule.source.source_metrics_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminCentralizationRuleForOrganizationTagPropagationConfiguration
Typed helper for the rule.destination.destination_logs_configuration.tag_propagation_configuration block of aws_observabilityadmin_centralization_rule_for_organization (derived from provider schema).
ObservabilityadminS3TableIntegrationEncryption
Typed helper for the encryption block of aws_observabilityadmin_s3_table_integration (derived from provider schema).
ObservabilityadminTelemetryPipelineConfiguration
Typed helper for the configuration block of aws_observabilityadmin_telemetry_pipeline (derived from provider schema).
ObservabilityadminTelemetryRule
Typed helper for the rule block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleActionCondition
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters.conditions.action_condition block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleAdvancedEventSelectors
Typed helper for the rule.destination_configuration.cloudtrail_parameters.advanced_event_selectors block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleCloudtrailParameters
Typed helper for the rule.destination_configuration.cloudtrail_parameters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleConditions
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters.conditions block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleDestinationConfiguration
Typed helper for the rule.destination_configuration block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleElbLoadBalancerLoggingParameters
Typed helper for the rule.destination_configuration.elb_load_balancer_logging_parameters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleFieldSelectors
Typed helper for the rule.destination_configuration.cloudtrail_parameters.advanced_event_selectors.field_selectors block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleFilters
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationActionCondition
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters.conditions.action_condition block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationAdvancedEventSelectors
Typed helper for the rule.destination_configuration.cloudtrail_parameters.advanced_event_selectors block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationCloudtrailParameters
Typed helper for the rule.destination_configuration.cloudtrail_parameters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationConditions
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters.conditions block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationDestinationConfiguration
Typed helper for the rule.destination_configuration block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationElbLoadBalancerLoggingParameters
Typed helper for the rule.destination_configuration.elb_load_balancer_logging_parameters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationFieldSelectors
Typed helper for the rule.destination_configuration.cloudtrail_parameters.advanced_event_selectors.field_selectors block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationFilters
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationLabelNameCondition
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters.conditions.label_name_condition block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationLogDeliveryParameters
Typed helper for the rule.destination_configuration.log_delivery_parameters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationLoggingFilter
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationMskMonitoringParameters
Typed helper for the rule.destination_configuration.msk_monitoring_parameters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationRedactedFields
Typed helper for the rule.destination_configuration.waf_logging_parameters.redacted_fields block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationRule
Typed helper for the rule block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationSingleHeader
Typed helper for the rule.destination_configuration.waf_logging_parameters.redacted_fields.single_header block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationVpcFlowLogParameters
Typed helper for the rule.destination_configuration.vpc_flow_log_parameters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleForOrganizationWafLoggingParameters
Typed helper for the rule.destination_configuration.waf_logging_parameters block of aws_observabilityadmin_telemetry_rule_for_organization (derived from provider schema).
ObservabilityadminTelemetryRuleLabelNameCondition
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter.filters.conditions.label_name_condition block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleLogDeliveryParameters
Typed helper for the rule.destination_configuration.log_delivery_parameters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleLoggingFilter
Typed helper for the rule.destination_configuration.waf_logging_parameters.logging_filter block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleMskMonitoringParameters
Typed helper for the rule.destination_configuration.msk_monitoring_parameters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleRedactedFields
Typed helper for the rule.destination_configuration.waf_logging_parameters.redacted_fields block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleSingleHeader
Typed helper for the rule.destination_configuration.waf_logging_parameters.redacted_fields.single_header block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleVpcFlowLogParameters
Typed helper for the rule.destination_configuration.vpc_flow_log_parameters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
ObservabilityadminTelemetryRuleWafLoggingParameters
Typed helper for the rule.destination_configuration.waf_logging_parameters block of aws_observabilityadmin_telemetry_rule (derived from provider schema).
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

ObservabilityadminCentralizationRuleForOrganizationEncryptedLogGroupStrategy
encrypted_log_group_strategy — derived from the provider schema description.
ObservabilityadminCentralizationRuleForOrganizationEncryptionConflictResolutionStrategy
encryption_conflict_resolution_strategy — derived from the provider schema description.
ObservabilityadminCentralizationRuleForOrganizationEncryptionScope
encryption_scope — derived from the provider schema description.
ObservabilityadminCentralizationRuleForOrganizationEncryptionStrategy
encryption_strategy — derived from the provider schema description.
ObservabilityadminCentralizationRuleForOrganizationTagConflictResolutionStrategy
tag_conflict_resolution_strategy — derived from the provider schema description.
ObservabilityadminS3TableIntegrationSseAlgorithm
sse_algorithm — derived from the provider schema description.
ObservabilityadminTelemetryRuleAction
action — derived from the provider schema description.
ObservabilityadminTelemetryRuleBehavior
behavior — derived from the provider schema description.
ObservabilityadminTelemetryRuleDefaultBehavior
default_behavior — derived from the provider schema description.
ObservabilityadminTelemetryRuleDestinationType
destination_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleEnhancedMonitoring
enhanced_monitoring — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationAction
action — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationBehavior
behavior — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationDefaultBehavior
default_behavior — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationDestinationType
destination_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationEnhancedMonitoring
enhanced_monitoring — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationLogType
log_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationLogTypes
log_types — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationOutputFormat
output_format — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationRequirement
requirement — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationResourceType
resource_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationTelemetrySourceTypes
telemetry_source_types — derived from the provider schema description.
ObservabilityadminTelemetryRuleForOrganizationTelemetryType
telemetry_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleLogType
log_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleLogTypes
log_types — derived from the provider schema description.
ObservabilityadminTelemetryRuleOutputFormat
output_format — derived from the provider schema description.
ObservabilityadminTelemetryRuleRequirement
requirement — derived from the provider schema description.
ObservabilityadminTelemetryRuleResourceType
resource_type — derived from the provider schema description.
ObservabilityadminTelemetryRuleTelemetrySourceTypes
telemetry_source_types — derived from the provider schema description.
ObservabilityadminTelemetryRuleTelemetryType
telemetry_type — 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.