route53 library
AWS Route 53.
Classes
-
AppConstant<
T> -
A value the Stack hands to application code as a
static constin 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 constmembers 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. - AwsRoute53CidrCollection
-
Factory wrapper for
aws_route53_cidr_collection. - AwsRoute53CidrLocation
-
Factory wrapper for
aws_route53_cidr_location. - AwsRoute53DelegationSet
-
Factory wrapper for
aws_route53_delegation_set. - AwsRoute53HealthCheck
-
Factory wrapper for
aws_route53_health_check. - AwsRoute53HostedZoneDnssec
-
Factory wrapper for
aws_route53_hosted_zone_dnssec. - AwsRoute53KeySigningKey
-
Factory wrapper for
aws_route53_key_signing_key. - AwsRoute53QueryLog
-
Factory wrapper for
aws_route53_query_log. - AwsRoute53Record
-
Factory wrapper for
aws_route53_record. - AwsRoute53RecordsExclusive
-
Factory wrapper for
aws_route53_records_exclusive. - AwsRoute53ResolverConfig
-
Factory wrapper for
aws_route53_resolver_config. - AwsRoute53ResolverDnssecConfig
-
Factory wrapper for
aws_route53_resolver_dnssec_config. - AwsRoute53ResolverEndpoint
-
Factory wrapper for
aws_route53_resolver_endpoint. - AwsRoute53ResolverFirewallConfig
-
Factory wrapper for
aws_route53_resolver_firewall_config. - AwsRoute53ResolverFirewallDomainList
-
Factory wrapper for
aws_route53_resolver_firewall_domain_list. - AwsRoute53ResolverFirewallRule
-
Factory wrapper for
aws_route53_resolver_firewall_rule. - AwsRoute53ResolverFirewallRuleGroup
-
Factory wrapper for
aws_route53_resolver_firewall_rule_group. - AwsRoute53ResolverFirewallRuleGroupAssociation
-
Factory wrapper for
aws_route53_resolver_firewall_rule_group_association. - AwsRoute53ResolverQueryLogConfig
-
Factory wrapper for
aws_route53_resolver_query_log_config. - AwsRoute53ResolverQueryLogConfigAssociation
-
Factory wrapper for
aws_route53_resolver_query_log_config_association. - AwsRoute53ResolverRule
-
Factory wrapper for
aws_route53_resolver_rule. - AwsRoute53ResolverRuleAssociation
-
Factory wrapper for
aws_route53_resolver_rule_association. - AwsRoute53TrafficPolicy
-
Factory wrapper for
aws_route53_traffic_policy. - AwsRoute53TrafficPolicyInstance
-
Factory wrapper for
aws_route53_traffic_policy_instance. - AwsRoute53VpcAssociationAuthorization
-
Factory wrapper for
aws_route53_vpc_association_authorization. - AwsRoute53Zone
-
Factory wrapper for
aws_route53_zone. - AwsRoute53ZoneAssociation
-
Factory wrapper for
aws_route53_zone_association. - DartDefineOutput
-
An
outputwhose value is the client build's--dart-definefile, registered withStack.addDartDefineOutput. - Data
-
Base of every user-instantiable Terraform
datablock. - DataAwsRoute53DelegationSet
-
Factory wrapper for
aws_route53_delegation_set. - DataAwsRoute53Records
-
Factory wrapper for
aws_route53_records. - DataAwsRoute53ResolverEndpoint
-
Factory wrapper for
aws_route53_resolver_endpoint. - DataAwsRoute53ResolverFirewallConfig
-
Factory wrapper for
aws_route53_resolver_firewall_config. - DataAwsRoute53ResolverFirewallDomainList
-
Factory wrapper for
aws_route53_resolver_firewall_domain_list. - DataAwsRoute53ResolverFirewallRuleGroup
-
Factory wrapper for
aws_route53_resolver_firewall_rule_group. - DataAwsRoute53ResolverFirewallRuleGroupAssociation
-
Factory wrapper for
aws_route53_resolver_firewall_rule_group_association. - DataAwsRoute53ResolverFirewallRules
-
Factory wrapper for
aws_route53_resolver_firewall_rules. - DataAwsRoute53ResolverQueryLogConfig
-
Factory wrapper for
aws_route53_resolver_query_log_config. - DataAwsRoute53ResolverRule
-
Factory wrapper for
aws_route53_resolver_rule. - DataAwsRoute53ResolverRules
-
Factory wrapper for
aws_route53_resolver_rules. - DataAwsRoute53TrafficPolicyDocument
-
Factory wrapper for
aws_route53_traffic_policy_document. - DataAwsRoute53Zone
-
Factory wrapper for
aws_route53_zone. - DataAwsRoute53Zones
-
Factory wrapper for
aws_route53_zones. -
DataRef<
T> -
Public for sealed pattern matching, but constructor is private — only
TfRef.data()may construct instances. - DataRoute53ResolverEndpointFilter
-
Typed helper for the
filterblock ofaws_route53_resolver_endpoint(derived from provider schema). - DataRoute53ResolverQueryLogConfigFilter
-
Typed helper for the
filterblock ofaws_route53_resolver_query_log_config(derived from provider schema). - DataRoute53TrafficPolicyDocumentEndpoint
-
Typed helper for the
endpointblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentGeoProximityLocation
-
Typed helper for the
rule.geo_proximity_locationblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentItems
-
Typed helper for the
rule.itemsblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentLocation
-
Typed helper for the
rule.locationblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentPrimary
-
Typed helper for the
rule.primaryblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentRegion
-
Typed helper for the
rule.regionblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentRule
-
Typed helper for the
ruleblock ofaws_route53_traffic_policy_document(derived from provider schema). - DataRoute53TrafficPolicyDocumentSecondary
-
Typed helper for the
rule.secondaryblock ofaws_route53_traffic_policy_document(derived from provider schema). - EnvironmentConstant
- The AppConstant.fromEnvironment choice.
- GcsBackend
-
terraform { backend "gcs" { ... } }configuration. - IgnoreAllChanges
- IgnoreChanges.all.
- IgnoreAttributes
- IgnoreChanges.of.
- IgnoreChanges
-
What
ignore_changescovers: every attribute, or the listed ones. - InvalidDartDefineOutput
-
An output of
Stack.addDartDefineOutputthat 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
lifecycleblock Terraform rejects: a data source (or one of its attributes) inreplaceTriggeredBy,allinside IgnoreChanges.of, or a condition with an empty error message. - InvalidMoveTarget
-
A
movedblock whosetonames no resource of the Stack. - InvalidTimeout
-
A negative
timeoutsduration. - LifecycleCondition
-
A
preconditionorpostconditionblock: 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 (
googleforgoogle_pubsub_topic), the one itsprovidermeta-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.replaceTriggeredBylists: a resource of the Stack or an attribute getter of one.Resourceand TfRef implement it; synth reports a data source or a data-source attribute as anInvalidLifecycle. - Resource
- Base of every user-instantiable Terraform resource.
- ResourceRef
-
Public for sealed pattern matching, but constructor is private — only
TfRef.resource()may construct instances. - Route53RecordAlias
-
Typed helper for the
aliasblock ofaws_route53_record(derived from provider schema). - Route53RecordCidrRoutingPolicy
-
Typed helper for the
cidr_routing_policyblock ofaws_route53_record(derived from provider schema). - Route53RecordCidrRoutingPolicyChoice
-
The Route53RecordRoutingPolicy.cidrRoutingPolicy choice: sets
cidr_routing_policy. - Route53RecordCoordinates
-
Typed helper for the
geoproximity_routing_policy.coordinatesblock ofaws_route53_record(derived from provider schema). - Route53RecordFailoverRoutingPolicy
-
Typed helper for the
failover_routing_policyblock ofaws_route53_record(derived from provider schema). - Route53RecordFailoverRoutingPolicyChoice
-
The Route53RecordRoutingPolicy.failoverRoutingPolicy choice: sets
failover_routing_policy. - Route53RecordGeolocationRoutingPolicy
-
Typed helper for the
geolocation_routing_policyblock ofaws_route53_record(derived from provider schema). - Route53RecordGeolocationRoutingPolicyChoice
-
The Route53RecordRoutingPolicy.geolocationRoutingPolicy choice: sets
geolocation_routing_policy. - Route53RecordGeoproximityRoutingPolicy
-
Typed helper for the
geoproximity_routing_policyblock ofaws_route53_record(derived from provider schema). - Route53RecordGeoproximityRoutingPolicyChoice
-
The Route53RecordRoutingPolicy.geoproximityRoutingPolicy choice: sets
geoproximity_routing_policy. - Route53RecordLatencyRoutingPolicy
-
Typed helper for the
latency_routing_policyblock ofaws_route53_record(derived from provider schema). - Route53RecordLatencyRoutingPolicyChoice
-
The Route53RecordRoutingPolicy.latencyRoutingPolicy choice: sets
latency_routing_policy. - Route53RecordMultivalueAnswerRoutingPolicy
-
The Route53RecordRoutingPolicy.multivalueAnswerRoutingPolicy choice: sets
multivalue_answer_routing_policy. - Route53RecordRoutingPolicy
-
At most one of
cidr_routing_policy,failover_routing_policy,geolocation_routing_policy,geoproximity_routing_policy,latency_routing_policy,multivalue_answer_routing_policy,weighted_routing_policyonaws_route53_record: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - Route53RecordsExclusiveAliasTarget
-
Typed helper for the
resource_record_set.alias_targetblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordsExclusiveCidrRoutingConfig
-
Typed helper for the
resource_record_set.cidr_routing_configblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordsExclusiveCoordinates
-
Typed helper for the
resource_record_set.geoproximity_location.coordinatesblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordsExclusiveGeolocation
-
Typed helper for the
resource_record_set.geolocationblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordsExclusiveGeoproximityLocation
-
Typed helper for the
resource_record_set.geoproximity_locationblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordsExclusiveResourceRecords
-
Typed helper for the
resource_record_set.resource_recordsblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordsExclusiveResourceRecordSet
-
Typed helper for the
resource_record_setblock ofaws_route53_records_exclusive(derived from provider schema). - Route53RecordTarget
-
Exactly one of
alias,recordsonaws_route53_record: the provider rejects none and more than one, so each variant sets one of them. - Route53RecordTargetAlias
-
The Route53RecordTarget.alias choice: sets
alias. - Route53RecordTargetRecords
-
The Route53RecordTarget.records choice: sets
records. - Route53RecordWeightedRoutingPolicy
-
Typed helper for the
weighted_routing_policyblock ofaws_route53_record(derived from provider schema). - Route53RecordWeightedRoutingPolicyChoice
-
The Route53RecordRoutingPolicy.weightedRoutingPolicy choice: sets
weighted_routing_policy. - Route53ResolverEndpointIpAddress
-
Typed helper for the
ip_addressblock ofaws_route53_resolver_endpoint(derived from provider schema). - Route53ResolverRuleTargetIp
-
Typed helper for the
target_ipblock ofaws_route53_resolver_rule(derived from provider schema). - Route53ZoneVisibility
-
At most one of
delegation_set_id,vpconaws_route53_zone: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - Route53ZoneVisibilityDelegationSetId
-
The Route53ZoneVisibility.delegationSetId choice: sets
delegation_set_id. - Route53ZoneVisibilityVpc
-
The Route53ZoneVisibility.vpc choice: sets
vpc. - Route53ZoneVpc
-
Typed helper for the
vpcblock ofaws_route53_zone(derived from provider schema). - 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, andLocalBackend; anything else implements this interface in the caller. TheStackonly stores the value and exposes a discriminator for synth'sterraform { backend ... }emitter. - StackProvider
-
Coordination interface between
Stack(in this package) and concrete providers (e.g.GoogleProviderinterradart_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(...)ormap(...). - 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 withStack.addOutput. - TfPrimitiveType
-
string,number,boolorany. -
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.variableorvar.<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.refwhose 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
resourceblock or adatablock in Terraform JSON.
Extension Types
- OutputEnvironment
-
The environment
Stack.outputEnvironmentreturns: 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, ...). - Route53HealthCheckCloudwatchAlarmRegion
-
Route53 Health Check Cloudwatch Alarm enum for
cloudwatch_alarm_region. - Route53HealthCheckInsufficientDataHealthStatus
-
Route53 Health Check Insufficient Data Health enum for
insufficient_data_health_status. - Route53HealthCheckRegions
-
Route53 Health Check enum for
regions. - Route53HealthCheckType
-
Route53 Health Check enum for
type. - Route53HostedZoneDnssecSigningStatus
-
Route53 Hosted Zone Dnssec Signing enum for
signing_status. - Route53KeySigningKeyStatus
-
Route53 Key Signing Key enum for
status. - Route53RecordFailoverRoutingPolicyType
-
type— derived from the provider schema description. - Route53RecordRegion
-
region— derived from the provider schema description. - Route53RecordsExclusiveFailover
-
failover— derived from the provider schema description. - Route53RecordsExclusiveRegion
-
region— derived from the provider schema description. - Route53RecordsExclusiveType
-
type— derived from the provider schema description. - Route53RecordType
-
Route53 Record enum for
type. - Route53ResolverConfigAutodefinedReverseFlag
-
Route53 Resolver Config Autodefined Reverse enum for
autodefined_reverse_flag. - Route53ResolverEndpointDirection
-
Route53 Resolver Endpoint enum for
direction. - Route53ResolverEndpointProtocols
-
Route53 Resolver Endpoint enum for
protocols. - Route53ResolverEndpointType
-
Route53 Resolver Endpoint enum for
resolver_endpoint_type. - Route53ResolverFirewallConfigFirewallFailOpen
-
Route53 Resolver Firewall Config Firewall Fail enum for
firewall_fail_open. - Route53ResolverFirewallRuleAction
-
Route53 Resolver Firewall Rule enum for
action. - Route53ResolverFirewallRuleBlockOverrideDnsType
-
Route53 Resolver Firewall Rule Block Override Dns enum for
block_override_dns_type. - Route53ResolverFirewallRuleBlockResponse
-
Route53 Resolver Firewall Rule Block enum for
block_response. - Route53ResolverFirewallRuleConfidenceThreshold
-
Route53 Resolver Firewall Rule Confidence enum for
confidence_threshold. - Route53ResolverFirewallRuleDnsThreatProtection
-
Route53 Resolver Firewall Rule Dns Threat enum for
dns_threat_protection. - Route53ResolverFirewallRuleFirewallDomainRedirectionAction
-
Route53 Resolver Firewall Rule Firewall Domain Redirection enum for
firewall_domain_redirection_action. - Route53ResolverFirewallRuleGroupAssociationMutationProtection
-
Route53 Resolver Firewall Rule Group Association Mutation enum for
mutation_protection. - Route53ResolverRuleProtocol
-
protocol— derived from the provider schema description. - Route53ResolverRuleType
-
Route53 Resolver Rule enum for
rule_type. - Route53VpcAssociationAuthorizationVpcRegion
-
Route53 Vpc Association Authorization Vpc enum for
vpc_region. - Route53ZoneAssociationVpcRegion
-
Route53 Zone Association Vpc enum for
vpc_region.
Extensions
-
RefToList
on TfArg<
List< RefTo< >R> > -
A list-valued reference argument (
security_group_ids,subnet_ids): a literal list of RefTos, or one value that is the whole list (TfArg.variable('subnet_ids'),TfArg.expression(...)). - TerraformDurationExt on Duration
- Converts a Dart Duration into a Terraform duration string ("604800s").
Constants
- terradartManifestVariable → const String
-
The environment variable the
terradartcommand sets to the file runStack and runEnvironments describe what they wrote in.
Functions
-
runEnvironments<
E extends Enum> (List< String> args, List<E> environments, Stack build(E env), {String dir(E env)?, String? workspace(E env)?, List<String> backendConfig(E env)?}) → Future<void> -
The entry point of a project with one Stack per environment. The
environments are the members of an enum of the project's own — any
names, each carrying its values — so the Stack takes a typed
envand derives everything per environment from it, its backend included: -
runStack(
List< String> args, Stack build(), {String out = 'tf-out'}) → Future<void> -
The entry point of a project with one Stack: writes it to
out.
Exceptions / Errors
- DuplicateModuleError
-
A
ModuleCallregistered twice under one name. - DuplicateResourceError
-
Thrown by
Stack.addwhen an entry with the same(kind, terraformType, localName)triple is registered twice. - SynthException
-
Thrown by
Stack.synth()andStack.writeTo()when the Stack has one or more SynthIssues. Nothing is written.