autoscaling library
AWS EC2 Auto Scaling and launch configurations.
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. - AutoscalingAttachmentTarget
-
Exactly one of
elb,lb_target_group_arnonaws_autoscaling_attachment: the provider rejects none and more than one, so each variant sets one of them. - AutoscalingAttachmentTargetElb
-
The AutoscalingAttachmentTarget.elb choice: sets
elb. - AutoscalingAttachmentTargetLbTargetGroupArn
-
The AutoscalingAttachmentTarget.lbTargetGroupArn choice: sets
lb_target_group_arn. - AutoscalingGroupAcceleratorCount
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.accelerator_countblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupAcceleratorTotalMemoryMib
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.accelerator_total_memory_mibblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupAlarmSpecification
-
Typed helper for the
instance_refresh.preferences.alarm_specificationblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupAvailabilityZoneDistribution
-
Typed helper for the
availability_zone_distributionblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupBaselineEbsBandwidthMbps
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.baseline_ebs_bandwidth_mbpsblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupCapacityReservationSpecification
-
Typed helper for the
capacity_reservation_specificationblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupCapacityReservationTarget
-
At most one of
capacity_reservation_ids,capacity_reservation_resource_group_arnson thecapacity_reservation_specification.capacity_reservation_targetblock ofaws_autoscaling_group: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingGroupCapacityReservationTargetCapacityReservationIds
-
The AutoscalingGroupCapacityReservationTarget.capacityReservationIds choice: sets
capacity_reservation_ids. - AutoscalingGroupCapacityReservationTargetCapacityReservationResourceGroupArns
-
The AutoscalingGroupCapacityReservationTarget.capacityReservationResourceGroupArns choice: sets
capacity_reservation_resource_group_arns. - AutoscalingGroupIdentifier
-
At most one of
id,nameon thelaunch_templateblock ofaws_autoscaling_group: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingGroupIdentifierId
-
The AutoscalingGroupIdentifier.id choice: sets
id. - AutoscalingGroupIdentifierName
-
The AutoscalingGroupIdentifier.name choice: sets
name. - AutoscalingGroupInitialLifecycleHook
-
Typed helper for the
initial_lifecycle_hookblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstanceLifecyclePolicy
-
Typed helper for the
instance_lifecycle_policyblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstanceMaintenancePolicy
-
Typed helper for the
instance_maintenance_policyblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstanceRefresh
-
Typed helper for the
instance_refreshblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstanceRequirements
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirementsblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstanceReusePolicy
-
Typed helper for the
warm_pool.instance_reuse_policyblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstancesDistribution
-
Typed helper for the
mixed_instances_policy.instances_distributionblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupInstanceSource
-
Exactly one of
launch_configuration,launch_template,mixed_instances_policyonaws_autoscaling_group: the provider rejects none and more than one, so each variant sets one of them. - AutoscalingGroupInstanceSourceLaunchConfiguration
-
The AutoscalingGroupInstanceSource.launchConfiguration choice: sets
launch_configuration. - AutoscalingGroupInstanceSourceLaunchTemplate
-
The AutoscalingGroupInstanceSource.launchTemplate choice: sets
launch_template. - AutoscalingGroupInstanceSourceMixedInstancesPolicy
-
The AutoscalingGroupInstanceSource.mixedInstancesPolicy choice: sets
mixed_instances_policy. - AutoscalingGroupLaunchTemplate
-
Typed helper for the
launch_templateblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupLaunchTemplateSpecification
-
Typed helper for the
mixed_instances_policy.launch_template.launch_template_specificationblock ofaws_autoscaling_group(derived from provider schema). Shared by every block of this shape in the resource. - AutoscalingGroupMemoryGibPerVcpu
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.memory_gib_per_vcpublock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupMemoryMib
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.memory_mibblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupMixedInstancesPolicy
-
Typed helper for the
mixed_instances_policyblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupMixedInstancesPolicyLaunchTemplate
-
Typed helper for the
mixed_instances_policy.launch_templateblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupName
-
At most one of
name,name_prefixonaws_autoscaling_group: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingGroupNameChoice
-
The AutoscalingGroupName.name choice: sets
name. - AutoscalingGroupNamePrefix
-
The AutoscalingGroupName.namePrefix choice: sets
name_prefix. - AutoscalingGroupNetworkBandwidthGbps
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.network_bandwidth_gbpsblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupNetworkInterfaceCount
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.network_interface_countblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupOverride
-
Typed helper for the
mixed_instances_policy.launch_template.overrideblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupPlacement
-
At most one of
availability_zones,vpc_zone_identifieronaws_autoscaling_group: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingGroupPlacementAvailabilityZones
-
The AutoscalingGroupPlacement.availabilityZones choice: sets
availability_zones. - AutoscalingGroupPlacementVpcZoneIdentifier
-
The AutoscalingGroupPlacement.vpcZoneIdentifier choice: sets
vpc_zone_identifier. - AutoscalingGroupPreferences
-
Typed helper for the
instance_refresh.preferencesblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupRetentionTriggers
-
Typed helper for the
instance_lifecycle_policy.retention_triggersblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupTag
-
Typed helper for the
tagblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupTagTag
-
Typed helper for the
tagblock ofaws_autoscaling_group_tag(derived from provider schema). - AutoscalingGroupTotalLocalStorageGb
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.total_local_storage_gbblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupTrafficSource
-
Typed helper for the
traffic_sourceblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupVcpuCount
-
Typed helper for the
mixed_instances_policy.launch_template.override.instance_requirements.vcpu_countblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingGroupWarmPool
-
Typed helper for the
warm_poolblock ofaws_autoscaling_group(derived from provider schema). - AutoscalingPolicyAdjustment
-
At most one of
scaling_adjustment,step_adjustmentonaws_autoscaling_policy: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingPolicyCustomizedCapacityMetricSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specification.customized_capacity_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyCustomizedLoadMetricSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specification.customized_load_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyCustomizedMetricSpecification
-
Typed helper for the
target_tracking_configuration.customized_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyCustomizedScalingMetricSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specification.customized_scaling_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyCustomizedScalingMetricSpecificationChoice
-
The AutoscalingPolicyScalingMetricSpecification.customizedScalingMetricSpecification choice: sets
customized_scaling_metric_specification. - AutoscalingPolicyDimensions
-
Typed helper for the
target_tracking_configuration.customized_metric_specification.metrics.metric_stat.metric.dimensionsblock ofaws_autoscaling_policy(derived from provider schema). Shared by every block of this shape in the resource. - AutoscalingPolicyMetric
-
Typed helper for the
target_tracking_configuration.customized_metric_specification.metrics.metric_stat.metricblock ofaws_autoscaling_policy(derived from provider schema). Shared by every block of this shape in the resource. - AutoscalingPolicyMetricDataQueries
-
Typed helper for the
predictive_scaling_configuration.metric_specification.customized_capacity_metric_specification.metric_data_queriesblock ofaws_autoscaling_policy(derived from provider schema). Shared by every block of this shape in the resource. - AutoscalingPolicyMetricDataQueriesMetricStat
-
Typed helper for the
predictive_scaling_configuration.metric_specification.customized_capacity_metric_specification.metric_data_queries.metric_statblock ofaws_autoscaling_policy(derived from provider schema). Shared by every block of this shape in the resource. - AutoscalingPolicyMetricDimension
-
Typed helper for the
target_tracking_configuration.customized_metric_specification.metric_dimensionblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyMetrics
-
Typed helper for the
target_tracking_configuration.customized_metric_specification.metricsblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyMetricStat
-
Typed helper for the
target_tracking_configuration.customized_metric_specification.metrics.metric_statblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyPredefinedLoadMetricSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specification.predefined_load_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyPredefinedMetricPairSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specification.predefined_metric_pair_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyPredefinedMetricSpecification
-
Typed helper for the
target_tracking_configuration.predefined_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyPredefinedScalingMetricSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specification.predefined_scaling_metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyPredefinedScalingMetricSpecificationChoice
-
The AutoscalingPolicyScalingMetricSpecification.predefinedScalingMetricSpecification choice: sets
predefined_scaling_metric_specification. - AutoscalingPolicyPredictiveScalingConfiguration
-
Typed helper for the
predictive_scaling_configurationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyPredictiveScalingConfigurationMetricSpecification
-
Typed helper for the
predictive_scaling_configuration.metric_specificationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyScalingAdjustment
-
The AutoscalingPolicyAdjustment.scalingAdjustment choice: sets
scaling_adjustment. - AutoscalingPolicyScalingMetricSpecification
-
At most one of
customized_scaling_metric_specification,predefined_scaling_metric_specificationon thepredictive_scaling_configuration.metric_specificationblock ofaws_autoscaling_policy: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingPolicyStepAdjustment
-
Typed helper for the
step_adjustmentblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyStepAdjustmentChoice
-
The AutoscalingPolicyAdjustment.stepAdjustment choice: sets
step_adjustment. - AutoscalingPolicyTargetTrackingConfiguration
-
Typed helper for the
target_tracking_configurationblock ofaws_autoscaling_policy(derived from provider schema). - AutoscalingPolicyTargetTrackingConfigurationCustomizedMetricSpecification
-
The AutoscalingPolicyTargetTrackingConfigurationMetricSpecification.customizedMetricSpecification choice: sets
customized_metric_specification. - AutoscalingPolicyTargetTrackingConfigurationMetricSpecification
-
At most one of
customized_metric_specification,predefined_metric_specificationon thetarget_tracking_configurationblock ofaws_autoscaling_policy: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - AutoscalingPolicyTargetTrackingConfigurationPredefinedMetricSpecification
-
The AutoscalingPolicyTargetTrackingConfigurationMetricSpecification.predefinedMetricSpecification choice: sets
predefined_metric_specification. - AutoscalingTrafficSourceAttachmentTrafficSource
-
Typed helper for the
traffic_sourceblock ofaws_autoscaling_traffic_source_attachment(derived from provider schema). - AwsAutoscalingAttachment
-
Factory wrapper for
aws_autoscaling_attachment. - AwsAutoscalingGroup
-
Factory wrapper for
aws_autoscaling_group. - AwsAutoscalingGroupTag
-
Factory wrapper for
aws_autoscaling_group_tag. - AwsAutoscalingLifecycleHook
-
Factory wrapper for
aws_autoscaling_lifecycle_hook. - AwsAutoscalingNotification
-
Factory wrapper for
aws_autoscaling_notification. - AwsAutoscalingPolicy
-
Factory wrapper for
aws_autoscaling_policy. - AwsAutoscalingSchedule
-
Factory wrapper for
aws_autoscaling_schedule. - AwsAutoscalingTrafficSourceAttachment
-
Factory wrapper for
aws_autoscaling_traffic_source_attachment. - AwsLaunchConfiguration
-
Factory wrapper for
aws_launch_configuration. - DartDefineOutput
-
An
outputwhose value is the client build's--dart-definefile, registered withStack.addDartDefineOutput. - Data
-
Base of every user-instantiable Terraform
datablock. - DataAutoscalingGroupsFilter
-
Typed helper for the
filterblock ofaws_autoscaling_groups(derived from provider schema). - DataAwsAutoscalingGroup
-
Factory wrapper for
aws_autoscaling_group. - DataAwsAutoscalingGroups
-
Factory wrapper for
aws_autoscaling_groups. - DataAwsLaunchConfiguration
-
Factory wrapper for
aws_launch_configuration. -
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_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. - LaunchConfigurationEbsBlockDevice
-
Typed helper for the
ebs_block_deviceblock ofaws_launch_configuration(derived from provider schema). - LaunchConfigurationEphemeralBlockDevice
-
Typed helper for the
ephemeral_block_deviceblock ofaws_launch_configuration(derived from provider schema). - LaunchConfigurationMetadataOptions
-
Typed helper for the
metadata_optionsblock ofaws_launch_configuration(derived from provider schema). - LaunchConfigurationName
-
At most one of
name,name_prefixonaws_launch_configuration: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - LaunchConfigurationNameChoice
-
The LaunchConfigurationName.name choice: sets
name. - LaunchConfigurationNamePrefix
-
The LaunchConfigurationName.namePrefix choice: sets
name_prefix. - LaunchConfigurationRootBlockDevice
-
Typed helper for the
root_block_deviceblock ofaws_launch_configuration(derived from provider schema). - LaunchConfigurationUserData
-
At most one of
user_data,user_data_base64onaws_launch_configuration: the provider rejects more than one, so each variant sets one of them and a null choice sets none. - LaunchConfigurationUserDataBase64
-
The LaunchConfigurationUserData.userDataBase64 choice: sets
user_data_base64. - LaunchConfigurationUserDataChoice
-
The LaunchConfigurationUserData.userData choice: sets
user_data. - 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. - 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
- AutoscalingGroupAcceleratorManufacturers
-
accelerator_manufacturers— derived from the provider schema description. - AutoscalingGroupAcceleratorNames
-
accelerator_names— derived from the provider schema description. - AutoscalingGroupAcceleratorTypes
-
accelerator_types— derived from the provider schema description. - AutoscalingGroupBareMetal
-
bare_metal— derived from the provider schema description. - AutoscalingGroupBurstablePerformance
-
burstable_performance— derived from the provider schema description. - AutoscalingGroupCapacityDistributionStrategy
-
capacity_distribution_strategy— derived from the provider schema description. - AutoscalingGroupCapacityReservationPreference
-
capacity_reservation_preference— derived from the provider schema description. - AutoscalingGroupCpuManufacturers
-
cpu_manufacturers— derived from the provider schema description. - AutoscalingGroupDefaultResult
-
default_result— derived from the provider schema description. - AutoscalingGroupDesiredCapacityType
-
Autoscaling Group Desired Capacity enum for
desired_capacity_type. - AutoscalingGroupInstanceGenerations
-
instance_generations— derived from the provider schema description. - AutoscalingGroupLifecycleTransition
-
lifecycle_transition— derived from the provider schema description. - AutoscalingGroupLocalStorage
-
local_storage— derived from the provider schema description. - AutoscalingGroupLocalStorageTypes
-
local_storage_types— derived from the provider schema description. - AutoscalingGroupPoolState
-
pool_state— derived from the provider schema description. - AutoscalingGroupScaleInProtectedInstances
-
scale_in_protected_instances— derived from the provider schema description. - AutoscalingGroupStandbyInstances
-
standby_instances— derived from the provider schema description. - AutoscalingGroupStrategy
-
strategy— derived from the provider schema description. - AutoscalingGroupTerminateHookAbandon
-
terminate_hook_abandon— derived from the provider schema description. - AutoscalingLifecycleHookDefaultResult
-
Autoscaling Lifecycle Hook Default enum for
default_result. - AutoscalingLifecycleHookLifecycleTransition
-
Autoscaling Lifecycle Hook Lifecycle enum for
lifecycle_transition. - AutoscalingPolicyMaxCapacityBreachBehavior
-
max_capacity_breach_behavior— derived from the provider schema description. - AutoscalingPolicyMode
-
mode— derived from the provider schema description. - AutoscalingPolicyPredefinedLoadMetricSpecificationPredefinedMetricType
-
predefined_metric_type— derived from the provider schema description. - AutoscalingPolicyPredefinedMetricPairSpecificationPredefinedMetricType
-
predefined_metric_type— derived from the provider schema description. - AutoscalingPolicyPredefinedScalingMetricSpecificationPredefinedMetricType
-
predefined_metric_type— derived from the provider schema description. - AutoscalingPolicyType
-
Autoscaling Policy enum for
policy_type. - LaunchConfigurationHttpEndpoint
-
http_endpoint— derived from the provider schema description. - LaunchConfigurationHttpTokens
-
http_tokens— derived from the provider schema description. - 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, ...).
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.