s3 library

AWS S3.

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.
AwsS3AccessPoint
Factory wrapper for aws_s3_access_point.
AwsS3AccountPublicAccessBlock
Factory wrapper for aws_s3_account_public_access_block.
AwsS3Bucket
Factory wrapper for aws_s3_bucket.
AwsS3BucketAbac
Factory wrapper for aws_s3_bucket_abac.
AwsS3BucketAccelerateConfiguration
Factory wrapper for aws_s3_bucket_accelerate_configuration.
AwsS3BucketAcl
Factory wrapper for aws_s3_bucket_acl.
AwsS3BucketAnalyticsConfiguration
Factory wrapper for aws_s3_bucket_analytics_configuration.
AwsS3BucketCorsConfiguration
Factory wrapper for aws_s3_bucket_cors_configuration.
AwsS3BucketIntelligentTieringConfiguration
Factory wrapper for aws_s3_bucket_intelligent_tiering_configuration.
AwsS3BucketInventory
Factory wrapper for aws_s3_bucket_inventory.
AwsS3BucketLifecycleConfiguration
Factory wrapper for aws_s3_bucket_lifecycle_configuration.
AwsS3BucketLogging
Factory wrapper for aws_s3_bucket_logging.
AwsS3BucketMetadataConfiguration
Factory wrapper for aws_s3_bucket_metadata_configuration.
AwsS3BucketMetric
Factory wrapper for aws_s3_bucket_metric.
AwsS3BucketNotification
Factory wrapper for aws_s3_bucket_notification.
AwsS3BucketObject
Factory wrapper for aws_s3_bucket_object.
AwsS3BucketObjectLockConfiguration
Factory wrapper for aws_s3_bucket_object_lock_configuration.
AwsS3BucketOwnershipControls
Factory wrapper for aws_s3_bucket_ownership_controls.
AwsS3BucketPolicy
Factory wrapper for aws_s3_bucket_policy.
AwsS3BucketPublicAccessBlock
Factory wrapper for aws_s3_bucket_public_access_block.
AwsS3BucketReplicationConfiguration
Factory wrapper for aws_s3_bucket_replication_configuration.
AwsS3BucketRequestPaymentConfiguration
Factory wrapper for aws_s3_bucket_request_payment_configuration.
AwsS3BucketServerSideEncryptionConfiguration
Factory wrapper for aws_s3_bucket_server_side_encryption_configuration.
AwsS3BucketVersioning
Factory wrapper for aws_s3_bucket_versioning.
AwsS3BucketWebsiteConfiguration
Factory wrapper for aws_s3_bucket_website_configuration.
AwsS3DirectoryBucket
Factory wrapper for aws_s3_directory_bucket.
AwsS3Object
Factory wrapper for aws_s3_object.
AwsS3ObjectCopy
Factory wrapper for aws_s3_object_copy.
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.
DataAwsS3AccessPoint
Factory wrapper for aws_s3_access_point.
DataAwsS3AccountPublicAccessBlock
Factory wrapper for aws_s3_account_public_access_block.
DataAwsS3Bucket
Factory wrapper for aws_s3_bucket.
DataAwsS3BucketNotification
Factory wrapper for aws_s3_bucket_notification.
DataAwsS3BucketObject
Factory wrapper for aws_s3_bucket_object.
DataAwsS3BucketObjectLockConfiguration
Factory wrapper for aws_s3_bucket_object_lock_configuration.
DataAwsS3BucketObjects
Factory wrapper for aws_s3_bucket_objects.
DataAwsS3BucketPolicy
Factory wrapper for aws_s3_bucket_policy.
DataAwsS3BucketReplicationConfiguration
Factory wrapper for aws_s3_bucket_replication_configuration.
DataAwsS3Buckets
Factory wrapper for aws_s3_buckets.
DataAwsS3DirectoryBuckets
Factory wrapper for aws_s3_directory_buckets.
DataAwsS3Object
Factory wrapper for aws_s3_object.
DataAwsS3Objects
Factory wrapper for aws_s3_objects.
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.
S3AccessPointPublicAccessBlockConfiguration
Typed helper for the public_access_block_configuration block of aws_s3_access_point (derived from provider schema).
S3AccessPointVpcConfiguration
Typed helper for the vpc_configuration block of aws_s3_access_point (derived from provider schema).
S3Backend
terraform { backend "s3" { ... } } configuration.
S3BucketAbacStatus
Typed helper for the abac_status block of aws_s3_bucket_abac (derived from provider schema).
S3BucketAccess
At most one of acl, grant on aws_s3_bucket: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3BucketAccessAcl
The S3BucketAccess.acl choice: sets acl.
S3BucketAccessControlTranslation
Typed helper for the replication_configuration.rules.destination.access_control_translation block of aws_s3_bucket (derived from provider schema).
S3BucketAccessGrant
The S3BucketAccess.grant choice: sets grant.
S3BucketAclAccessControlPolicy
Typed helper for the access_control_policy block of aws_s3_bucket_acl (derived from provider schema).
S3BucketAclAccessControlPolicyChoice
The S3BucketAclPolicy.accessControlPolicy choice: sets access_control_policy.
S3BucketAclGrant
Typed helper for the access_control_policy.grant block of aws_s3_bucket_acl (derived from provider schema).
S3BucketAclGrantee
Typed helper for the access_control_policy.grant.grantee block of aws_s3_bucket_acl (derived from provider schema).
S3BucketAclOwner
Typed helper for the access_control_policy.owner block of aws_s3_bucket_acl (derived from provider schema).
S3BucketAclPolicy
Exactly one of access_control_policy, acl on aws_s3_bucket_acl: the provider rejects none and more than one, so each variant sets one of them.
S3BucketAclPolicyAcl
The S3BucketAclPolicy.acl choice: sets acl.
S3BucketAnalyticsConfigurationDataExport
Typed helper for the storage_class_analysis.data_export block of aws_s3_bucket_analytics_configuration (derived from provider schema).
S3BucketAnalyticsConfigurationDestination
Typed helper for the storage_class_analysis.data_export.destination block of aws_s3_bucket_analytics_configuration (derived from provider schema).
S3BucketAnalyticsConfigurationFilter
Typed helper for the filter block of aws_s3_bucket_analytics_configuration (derived from provider schema).
S3BucketAnalyticsConfigurationS3BucketDestination
Typed helper for the storage_class_analysis.data_export.destination.s3_bucket_destination block of aws_s3_bucket_analytics_configuration (derived from provider schema).
S3BucketAnalyticsConfigurationStorageClassAnalysis
Typed helper for the storage_class_analysis block of aws_s3_bucket_analytics_configuration (derived from provider schema).
S3BucketCorsConfigurationCorsRule
Typed helper for the cors_rule block of aws_s3_bucket_cors_configuration (derived from provider schema).
S3BucketCorsRule
Typed helper for the cors_rule block of aws_s3_bucket (derived from provider schema).
S3BucketDestination
Typed helper for the replication_configuration.rules.destination block of aws_s3_bucket (derived from provider schema).
S3BucketExpiration
Typed helper for the lifecycle_rule.expiration block of aws_s3_bucket (derived from provider schema).
S3BucketFilter
Typed helper for the replication_configuration.rules.filter block of aws_s3_bucket (derived from provider schema).
S3BucketGrant
Typed helper for the grant block of aws_s3_bucket (derived from provider schema).
S3BucketIntelligentTieringConfigurationFilter
Typed helper for the filter block of aws_s3_bucket_intelligent_tiering_configuration (derived from provider schema).
S3BucketIntelligentTieringConfigurationTiering
Typed helper for the tiering block of aws_s3_bucket_intelligent_tiering_configuration (derived from provider schema).
S3BucketInventoryDestination
Typed helper for the destination block of aws_s3_bucket_inventory (derived from provider schema).
S3BucketInventoryDestinationBucket
Typed helper for the destination.bucket block of aws_s3_bucket_inventory (derived from provider schema).
S3BucketInventoryEncryption
At most one of sse_kms, sse_s3 on the destination.bucket.encryption block of aws_s3_bucket_inventory: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3BucketInventoryEncryptionSseKms
The S3BucketInventoryEncryption.sseKms choice: sets sse_kms.
S3BucketInventoryEncryptionSseS3
The S3BucketInventoryEncryption.sseS3 choice: sets sse_s3.
S3BucketInventoryFilter
Typed helper for the filter block of aws_s3_bucket_inventory (derived from provider schema).
S3BucketInventorySchedule
Typed helper for the schedule block of aws_s3_bucket_inventory (derived from provider schema).
S3BucketInventorySseKms
Typed helper for the destination.bucket.encryption.sse_kms block of aws_s3_bucket_inventory (derived from provider schema).
S3BucketInventorySseS3
Typed helper for the destination.bucket.encryption.sse_s3 block of aws_s3_bucket_inventory (derived from provider schema).
S3BucketLifecycleConfigurationAbortIncompleteMultipartUpload
Typed helper for the rule.abort_incomplete_multipart_upload block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationAnd
Typed helper for the rule.filter.and block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationExpiration
Typed helper for the rule.expiration block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationFilter
Typed helper for the rule.filter block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationNoncurrentVersionExpiration
Typed helper for the rule.noncurrent_version_expiration block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationNoncurrentVersionTransition
Typed helper for the rule.noncurrent_version_transition block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationRule
Typed helper for the rule block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationTag
Typed helper for the rule.filter.tag block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleConfigurationTransition
Typed helper for the rule.transition block of aws_s3_bucket_lifecycle_configuration (derived from provider schema).
S3BucketLifecycleRule
Typed helper for the lifecycle_rule block of aws_s3_bucket (derived from provider schema).
S3BucketLogging
Typed helper for the logging block of aws_s3_bucket (derived from provider schema).
S3BucketLoggingGrantee
Typed helper for the target_grant.grantee block of aws_s3_bucket_logging (derived from provider schema).
S3BucketLoggingPartitionedPrefix
Typed helper for the target_object_key_format.partitioned_prefix block of aws_s3_bucket_logging (derived from provider schema).
S3BucketLoggingSimplePrefix
Typed helper for the target_object_key_format.simple_prefix block of aws_s3_bucket_logging (derived from provider schema).
S3BucketLoggingTargetGrant
Typed helper for the target_grant block of aws_s3_bucket_logging (derived from provider schema).
S3BucketLoggingTargetObjectKeyFormat
Exactly one of partitioned_prefix, simple_prefix on the target_object_key_format block of aws_s3_bucket_logging: the provider rejects none and more than one, so each variant sets one of them.
S3BucketLoggingTargetObjectKeyFormatPartitionedPrefix
The S3BucketLoggingTargetObjectKeyFormat.partitionedPrefix choice: sets partitioned_prefix.
S3BucketLoggingTargetObjectKeyFormatSimplePrefix
The S3BucketLoggingTargetObjectKeyFormat.simplePrefix choice: sets simple_prefix.
S3BucketMetadataConfiguration
Typed helper for the metadata_configuration block of aws_s3_bucket_metadata_configuration (derived from provider schema).
S3BucketMetadataConfigurationEncryptionConfiguration
Typed helper for the metadata_configuration.inventory_table_configuration.encryption_configuration block of aws_s3_bucket_metadata_configuration (derived from provider schema). Shared by every block of this shape in the resource.
S3BucketMetadataConfigurationInventoryTableConfiguration
Typed helper for the metadata_configuration.inventory_table_configuration block of aws_s3_bucket_metadata_configuration (derived from provider schema).
S3BucketMetadataConfigurationJournalTableConfiguration
Typed helper for the metadata_configuration.journal_table_configuration block of aws_s3_bucket_metadata_configuration (derived from provider schema).
S3BucketMetadataConfigurationRecordExpiration
Typed helper for the metadata_configuration.journal_table_configuration.record_expiration block of aws_s3_bucket_metadata_configuration (derived from provider schema).
S3BucketMetricFilter
Typed helper for the filter block of aws_s3_bucket_metric (derived from provider schema).
S3BucketMetrics
Typed helper for the replication_configuration.rules.destination.metrics block of aws_s3_bucket (derived from provider schema).
S3BucketMode
Exactly one of index_document, redirect_all_requests_to on the website block of aws_s3_bucket: the provider rejects none and more than one, so each variant sets one of them.
S3BucketModeIndexDocument
The S3BucketMode.indexDocument choice: sets index_document.
S3BucketModeRedirectAllRequestsTo
The S3BucketMode.redirectAllRequestsTo choice: sets redirect_all_requests_to.
S3BucketName
At most one of bucket, bucket_prefix on aws_s3_bucket: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3BucketNameBucket
The S3BucketName.bucket choice: sets bucket.
S3BucketNameBucketPrefix
The S3BucketName.bucketPrefix choice: sets bucket_prefix.
S3BucketNoncurrentVersionExpiration
Typed helper for the lifecycle_rule.noncurrent_version_expiration block of aws_s3_bucket (derived from provider schema).
S3BucketNoncurrentVersionTransition
Typed helper for the lifecycle_rule.noncurrent_version_transition block of aws_s3_bucket (derived from provider schema).
S3BucketNotificationLambdaFunction
Typed helper for the lambda_function block of aws_s3_bucket_notification (derived from provider schema).
S3BucketNotificationQueue
Typed helper for the queue block of aws_s3_bucket_notification (derived from provider schema).
S3BucketNotificationTopic
Typed helper for the topic block of aws_s3_bucket_notification (derived from provider schema).
S3BucketObjectBody
At most one of content, content_base64, source on aws_s3_bucket_object: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3BucketObjectBodyContent
The S3BucketObjectBody.content choice: sets content.
S3BucketObjectBodyContentBase64
The S3BucketObjectBody.contentBase64 choice: sets content_base64.
S3BucketObjectBodySource
The S3BucketObjectBody.source choice: sets source.
S3BucketObjectIntegrity
At most one of etag, kms_key_id on aws_s3_bucket_object: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3BucketObjectIntegrityEtag
The S3BucketObjectIntegrity.etag choice: sets etag.
S3BucketObjectIntegrityKmsKeyId
The S3BucketObjectIntegrity.kmsKeyId choice: sets kms_key_id.
S3BucketObjectLockConfigurationDefaultRetention
Typed helper for the rule.default_retention block of aws_s3_bucket_object_lock_configuration (derived from provider schema).
S3BucketObjectLockConfigurationPeriod
At most one of days, years on the rule.default_retention block of aws_s3_bucket_object_lock_configuration: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3BucketObjectLockConfigurationPeriodDays
The S3BucketObjectLockConfigurationPeriod.days choice: sets days.
S3BucketObjectLockConfigurationPeriodYears
The S3BucketObjectLockConfigurationPeriod.years choice: sets years.
S3BucketObjectLockConfigurationRule
Typed helper for the rule block of aws_s3_bucket_object_lock_configuration (derived from provider schema).
S3BucketOwnershipControlsRule
Typed helper for the rule block of aws_s3_bucket_ownership_controls (derived from provider schema).
S3BucketReplicationConfiguration
Typed helper for the replication_configuration block of aws_s3_bucket (derived from provider schema).
S3BucketReplicationConfigurationAccessControlTranslation
Typed helper for the rule.destination.access_control_translation block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationAnd
Typed helper for the rule.filter.and block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationDeleteMarkerReplication
Typed helper for the rule.delete_marker_replication block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationDestination
Typed helper for the rule.destination block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationEncryptionConfiguration
Typed helper for the rule.destination.encryption_configuration block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationEventThreshold
Typed helper for the rule.destination.metrics.event_threshold block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationExistingObjectReplication
Typed helper for the rule.existing_object_replication block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationFilter
Typed helper for the rule.filter block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationMetrics
Typed helper for the rule.destination.metrics block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationReplicaModifications
Typed helper for the rule.source_selection_criteria.replica_modifications block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationReplicationTime
Typed helper for the rule.destination.replication_time block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationRule
Typed helper for the rule block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationSourceSelectionCriteria
Typed helper for the rule.source_selection_criteria block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationSseKmsEncryptedObjects
Typed helper for the rule.source_selection_criteria.sse_kms_encrypted_objects block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationTag
Typed helper for the rule.filter.tag block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationConfigurationTime
Typed helper for the rule.destination.replication_time.time block of aws_s3_bucket_replication_configuration (derived from provider schema).
S3BucketReplicationTime
Typed helper for the replication_configuration.rules.destination.replication_time block of aws_s3_bucket (derived from provider schema).
S3BucketRules
Typed helper for the replication_configuration.rules block of aws_s3_bucket (derived from provider schema).
S3BucketServerSideEncryptionConfigurationApplyServerSideEncryptionByDefault
Typed helper for the rule.apply_server_side_encryption_by_default block of aws_s3_bucket_server_side_encryption_configuration (derived from provider schema).
S3BucketServerSideEncryptionConfigurationRule
Typed helper for the rule block of aws_s3_bucket_server_side_encryption_configuration (derived from provider schema).
S3BucketSourceSelectionCriteria
Typed helper for the replication_configuration.rules.source_selection_criteria block of aws_s3_bucket (derived from provider schema).
S3BucketSseKmsEncryptedObjects
Typed helper for the replication_configuration.rules.source_selection_criteria.sse_kms_encrypted_objects block of aws_s3_bucket (derived from provider schema).
S3BucketTransition
Typed helper for the lifecycle_rule.transition block of aws_s3_bucket (derived from provider schema).
S3BucketVersioning
Typed helper for the versioning block of aws_s3_bucket (derived from provider schema).
S3BucketVersioningConfiguration
Typed helper for the versioning_configuration block of aws_s3_bucket_versioning (derived from provider schema).
S3BucketWebsite
Typed helper for the website block of aws_s3_bucket (derived from provider schema).
S3BucketWebsiteConfigurationCondition
Typed helper for the routing_rule.condition block of aws_s3_bucket_website_configuration (derived from provider schema).
S3BucketWebsiteConfigurationErrorDocument
Typed helper for the error_document block of aws_s3_bucket_website_configuration (derived from provider schema).
S3BucketWebsiteConfigurationIndexDocument
Typed helper for the index_document block of aws_s3_bucket_website_configuration (derived from provider schema).
S3BucketWebsiteConfigurationRedirect
Typed helper for the routing_rule.redirect block of aws_s3_bucket_website_configuration (derived from provider schema).
S3BucketWebsiteConfigurationRedirectAllRequestsTo
Typed helper for the redirect_all_requests_to block of aws_s3_bucket_website_configuration (derived from provider schema).
S3BucketWebsiteConfigurationRoutingRule
Typed helper for the routing_rule block of aws_s3_bucket_website_configuration (derived from provider schema).
S3DirectoryBucketLocation
Typed helper for the location block of aws_s3_directory_bucket (derived from provider schema).
S3ObjectBody
At most one of content, content_base64, source on aws_s3_object: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3ObjectBodyContent
The S3ObjectBody.content choice: sets content.
S3ObjectBodyContentBase64
The S3ObjectBody.contentBase64 choice: sets content_base64.
S3ObjectBodySource
The S3ObjectBody.source choice: sets source.
S3ObjectCopyAccess
At most one of acl, grant on aws_s3_object_copy: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3ObjectCopyAccessAcl
The S3ObjectCopyAccess.acl choice: sets acl.
S3ObjectCopyAccessGrant
The S3ObjectCopyAccess.grant choice: sets grant.
S3ObjectCopyDefaultTags
Typed helper for the override_provider.default_tags block of aws_s3_object_copy (derived from provider schema).
S3ObjectCopyGrant
Typed helper for the grant block of aws_s3_object_copy (derived from provider schema).
S3ObjectCopyOverrideProvider
Typed helper for the override_provider block of aws_s3_object_copy (derived from provider schema).
S3ObjectDefaultTags
Typed helper for the override_provider.default_tags block of aws_s3_object (derived from provider schema).
S3ObjectIntegrity
At most one of etag, kms_key_id on aws_s3_object: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
S3ObjectIntegrityEtag
The S3ObjectIntegrity.etag choice: sets etag.
S3ObjectIntegrityKmsKeyId
The S3ObjectIntegrity.kmsKeyId choice: sets kms_key_id.
S3ObjectOverrideProvider
Typed helper for the override_provider block of aws_s3_object (derived from provider schema).
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

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, ...).
S3BucketAccelerateConfigurationStatus
S3 Bucket Accelerate Configuration enum for status.
S3BucketAccelerationStatus
S3 Bucket Acceleration enum for acceleration_status.
S3BucketAclPermission
permission — derived from the provider schema description.
S3BucketAclType
type — derived from the provider schema description.
S3BucketAnalyticsConfigurationFormat
format — derived from the provider schema description.
S3BucketAnalyticsConfigurationOutputSchemaVersion
output_schema_version — derived from the provider schema description.
S3BucketDeleteMarkerReplicationStatus
delete_marker_replication_status — derived from the provider schema description.
S3BucketDestinationStorageClass
storage_class — derived from the provider schema description.
S3BucketIntelligentTieringConfigurationAccessTier
access_tier — derived from the provider schema description.
S3BucketIntelligentTieringConfigurationStatus
S3 Bucket Intelligent Tiering Configuration enum for status.
S3BucketInventoryFormat
format — derived from the provider schema description.
S3BucketInventoryFrequency
frequency — derived from the provider schema description.
S3BucketInventoryIncludedObjectVersions
S3 Bucket Inventory Included Object enum for included_object_versions.
S3BucketInventoryOptionalFields
S3 Bucket Inventory Optional enum for optional_fields.
S3BucketLifecycleConfigurationStatus
status — derived from the provider schema description.
S3BucketLifecycleConfigurationStorageClass
storage_class — derived from the provider schema description.
S3BucketLifecycleConfigurationTransitionDefaultMinimumObjectSize
S3 Bucket Lifecycle Configuration Transition Default Minimum Object enum for transition_default_minimum_object_size.
S3BucketLoggingPartitionDateSource
partition_date_source — derived from the provider schema description.
S3BucketLoggingPermission
permission — derived from the provider schema description.
S3BucketLoggingType
type — derived from the provider schema description.
S3BucketMetadataConfigurationExpiration
expiration — derived from the provider schema description.
S3BucketMetadataConfigurationSseAlgorithm
sse_algorithm — derived from the provider schema description.
S3BucketMetadataConfigurationState
configuration_state — derived from the provider schema description.
S3BucketNamespace
S3 Bucket enum for bucket_namespace.
S3BucketObjectAcl
S3 Bucket Object enum for acl.
S3BucketObjectLockConfigurationMode
mode — derived from the provider schema description.
S3BucketObjectLockConfigurationObjectLockEnabled
S3 Bucket Object Lock Configuration Object Lock enum for object_lock_enabled.
S3BucketObjectLockLegalHoldStatus
S3 Bucket Object Lock Legal Hold enum for object_lock_legal_hold_status.
S3BucketObjectLockMode
S3 Bucket Object Lock enum for object_lock_mode.
S3BucketObjectServerSideEncryption
S3 Bucket Object Server Side enum for server_side_encryption.
S3BucketObjectStorageClass
S3 Bucket Object Storage enum for storage_class.
S3BucketOwner
owner — derived from the provider schema description.
S3BucketOwnershipControlsObjectOwnership
object_ownership — derived from the provider schema description.
S3BucketPermissions
permissions — derived from the provider schema description.
S3BucketReplicationConfigurationOwner
owner — derived from the provider schema description.
S3BucketReplicationConfigurationStatus
status — derived from the provider schema description.
S3BucketReplicationConfigurationStorageClass
storage_class — derived from the provider schema description.
S3BucketRequestPayer
S3 Bucket Request enum for request_payer.
S3BucketRequestPaymentConfigurationPayer
S3 Bucket Request Payment Configuration enum for payer.
S3BucketServerSideEncryptionConfigurationBlockedEncryptionTypes
blocked_encryption_types — derived from the provider schema description.
S3BucketServerSideEncryptionConfigurationSseAlgorithm
sse_algorithm — derived from the provider schema description.
S3BucketStatus
status — derived from the provider schema description.
S3BucketStorageClass
storage_class — derived from the provider schema description.
S3BucketType
type — derived from the provider schema description.
S3BucketVersioningMfaDelete
mfa_delete — derived from the provider schema description.
S3BucketWebsiteConfigurationProtocol
protocol — derived from the provider schema description.
S3ObjectAcl
S3 Object enum for acl.
S3ObjectChecksumAlgorithm
S3 Object Checksum enum for checksum_algorithm.
S3ObjectCopyAcl
S3 Object Copy enum for acl.
S3ObjectCopyChecksumAlgorithm
S3 Object Copy Checksum enum for checksum_algorithm.
S3ObjectCopyMetadataDirective
S3 Object Copy Metadata enum for metadata_directive.
S3ObjectCopyObjectLockLegalHoldStatus
S3 Object Copy Object Lock Legal Hold enum for object_lock_legal_hold_status.
S3ObjectCopyObjectLockMode
S3 Object Copy Object Lock enum for object_lock_mode.
S3ObjectCopyPermissions
permissions — derived from the provider schema description.
S3ObjectCopyRequestPayer
S3 Object Copy Request enum for request_payer.
S3ObjectCopyServerSideEncryption
S3 Object Copy Server Side enum for server_side_encryption.
S3ObjectCopyStorageClass
S3 Object Copy Storage enum for storage_class.
S3ObjectCopyTaggingDirective
S3 Object Copy Tagging enum for tagging_directive.
S3ObjectCopyType
type — derived from the provider schema description.
S3ObjectLockLegalHoldStatus
S3 Object Lock Legal Hold enum for object_lock_legal_hold_status.
S3ObjectLockMode
S3 Object Lock enum for object_lock_mode.
S3ObjectServerSideEncryption
S3 Object Server Side enum for server_side_encryption.
S3ObjectStorageClass
S3 Object Storage enum for storage_class.

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.