ecs library

AWS Elastic Container Service (ECS).

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.
AwsEcsAccountSettingDefault
Factory wrapper for aws_ecs_account_setting_default.
AwsEcsCapacityProvider
Factory wrapper for aws_ecs_capacity_provider.
AwsEcsCluster
Factory wrapper for aws_ecs_cluster.
AwsEcsClusterCapacityProviders
Factory wrapper for aws_ecs_cluster_capacity_providers.
AwsEcsDaemon
Factory wrapper for aws_ecs_daemon.
AwsEcsDaemonTaskDefinition
Factory wrapper for aws_ecs_daemon_task_definition.
AwsEcsExpressGatewayService
Factory wrapper for aws_ecs_express_gateway_service.
AwsEcsService
Factory wrapper for aws_ecs_service.
AwsEcsTag
Factory wrapper for aws_ecs_tag.
AwsEcsTaskDefinition
Factory wrapper for aws_ecs_task_definition.
AwsEcsTaskSet
Factory wrapper for aws_ecs_task_set.
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.
DataAwsEcsCluster
Factory wrapper for aws_ecs_cluster.
DataAwsEcsClusters
Factory wrapper for aws_ecs_clusters.
DataAwsEcsContainerDefinition
Factory wrapper for aws_ecs_container_definition.
DataAwsEcsService
Factory wrapper for aws_ecs_service.
DataAwsEcsTaskDefinition
Factory wrapper for aws_ecs_task_definition.
DataAwsEcsTaskExecution
Factory wrapper for aws_ecs_task_execution.
DataEcsTaskExecutionCapacityProviderStrategy
Typed helper for the capacity_provider_strategy block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionContainerOverrides
Typed helper for the overrides.container_overrides block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionEnvironment
Typed helper for the overrides.container_overrides.environment block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionNetworkConfiguration
Typed helper for the network_configuration block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionOverrides
Typed helper for the overrides block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionPlacementConstraints
Typed helper for the placement_constraints block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionPlacementStrategy
Typed helper for the placement_strategy block of aws_ecs_task_execution (derived from provider schema).
DataEcsTaskExecutionResourceRequirements
Typed helper for the overrides.container_overrides.resource_requirements block of aws_ecs_task_execution (derived from provider schema).
DataRef<T>
Public for sealed pattern matching, but constructor is private — only TfRef.data() may construct instances.
EcsCapacityProviderAcceleratorCount
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.accelerator_count block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderAcceleratorTotalMemoryMib
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.accelerator_total_memory_mib block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderAutoRepairConfiguration
Typed helper for the managed_instances_provider.auto_repair_configuration block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderAutoScalingGroupProvider
Typed helper for the auto_scaling_group_provider block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderBaselineEbsBandwidthMbps
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.baseline_ebs_bandwidth_mbps block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderCapacityReservations
Typed helper for the managed_instances_provider.instance_launch_template.capacity_reservations block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderInfrastructureOptimization
Typed helper for the managed_instances_provider.infrastructure_optimization block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderInstanceLaunchTemplate
Typed helper for the managed_instances_provider.instance_launch_template block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderInstanceRequirements
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderLocalStorageConfiguration
Typed helper for the managed_instances_provider.instance_launch_template.local_storage_configuration block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderManagedInstancesProvider
Typed helper for the managed_instances_provider block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderManagedScaling
Typed helper for the auto_scaling_group_provider.managed_scaling block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderMemoryGibPerVcpu
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.memory_gib_per_vcpu block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderMemoryMib
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.memory_mib block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderNetworkBandwidthGbps
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.network_bandwidth_gbps block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderNetworkConfiguration
Typed helper for the managed_instances_provider.instance_launch_template.network_configuration block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderNetworkInterfaceCount
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.network_interface_count block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderStorageConfiguration
Typed helper for the managed_instances_provider.instance_launch_template.storage_configuration block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderTotalLocalStorageGb
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.total_local_storage_gb block of aws_ecs_capacity_provider (derived from provider schema).
EcsCapacityProviderVcpuCount
Typed helper for the managed_instances_provider.instance_launch_template.instance_requirements.vcpu_count block of aws_ecs_capacity_provider (derived from provider schema).
EcsClusterCapacityProvidersDefaultCapacityProviderStrategy
Typed helper for the default_capacity_provider_strategy block of aws_ecs_cluster_capacity_providers (derived from provider schema).
EcsClusterConfiguration
Typed helper for the configuration block of aws_ecs_cluster (derived from provider schema).
EcsClusterExecuteCommandConfiguration
Typed helper for the configuration.execute_command_configuration block of aws_ecs_cluster (derived from provider schema).
EcsClusterLogConfiguration
Typed helper for the configuration.execute_command_configuration.log_configuration block of aws_ecs_cluster (derived from provider schema).
EcsClusterManagedStorageConfiguration
Typed helper for the configuration.managed_storage_configuration block of aws_ecs_cluster (derived from provider schema).
EcsClusterServiceConnectDefaults
Typed helper for the service_connect_defaults block of aws_ecs_cluster (derived from provider schema).
EcsClusterSetting
Typed helper for the setting block of aws_ecs_cluster (derived from provider schema).
EcsDaemonAlarms
Typed helper for the deployment_configuration.alarms block of aws_ecs_daemon (derived from provider schema).
EcsDaemonDeploymentConfiguration
Typed helper for the deployment_configuration block of aws_ecs_daemon (derived from provider schema).
EcsDaemonTaskDefinitionCapabilities
Typed helper for the container_definition.linux_parameters.capabilities block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionContainerDefinition
Typed helper for the container_definition block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionDependsOn
Typed helper for the container_definition.depends_on block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionDevice
Typed helper for the container_definition.linux_parameters.device block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionEnvironment
Typed helper for the container_definition.environment block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionEnvironmentFile
Typed helper for the container_definition.environment_file block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionFirelensConfiguration
Typed helper for the container_definition.firelens_configuration block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionHealthCheck
Typed helper for the container_definition.health_check block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionHost
Typed helper for the volume.host block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionLinuxParameters
Typed helper for the container_definition.linux_parameters block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionLogConfiguration
Typed helper for the container_definition.log_configuration block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionMountPoint
Typed helper for the container_definition.mount_point block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionRepositoryCredentials
Typed helper for the container_definition.repository_credentials block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionRestartPolicy
Typed helper for the container_definition.restart_policy block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionSecret
Typed helper for the container_definition.secret block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionSecretOption
Typed helper for the container_definition.log_configuration.secret_option block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionSystemControl
Typed helper for the container_definition.system_control block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionTmpfs
Typed helper for the container_definition.linux_parameters.tmpfs block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionUlimit
Typed helper for the container_definition.ulimit block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsDaemonTaskDefinitionVolume
Typed helper for the volume block of aws_ecs_daemon_task_definition (derived from provider schema).
EcsExpressGatewayServiceEnvironment
Typed helper for the primary_container.environment block of aws_ecs_express_gateway_service (derived from provider schema).
EcsExpressGatewayServicePrimaryContainer
Typed helper for the primary_container block of aws_ecs_express_gateway_service (derived from provider schema).
EcsExpressGatewayServiceRepositoryCredentials
Typed helper for the primary_container.repository_credentials block of aws_ecs_express_gateway_service (derived from provider schema).
EcsExpressGatewayServiceSecret
Typed helper for the primary_container.secret block of aws_ecs_express_gateway_service (derived from provider schema).
EcsService
Typed helper for the service_connect_configuration.service block of aws_ecs_service (derived from provider schema).
EcsServiceAccessLogConfiguration
Typed helper for the service_connect_configuration.access_log_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceAdvancedConfiguration
Typed helper for the load_balancer.advanced_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceAlarms
Typed helper for the alarms block of aws_ecs_service (derived from provider schema).
EcsServiceCanaryConfiguration
Typed helper for the deployment_configuration.canary_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceCapacityProviderStrategy
Typed helper for the capacity_provider_strategy block of aws_ecs_service (derived from provider schema).
EcsServiceClientAlias
Typed helper for the service_connect_configuration.service.client_alias block of aws_ecs_service (derived from provider schema).
EcsServiceConnectConfiguration
Typed helper for the service_connect_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceDeploymentCircuitBreaker
Typed helper for the deployment_circuit_breaker block of aws_ecs_service (derived from provider schema).
EcsServiceDeploymentConfiguration
Typed helper for the deployment_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceDeploymentController
Typed helper for the deployment_controller block of aws_ecs_service (derived from provider schema).
EcsServiceHeader
Typed helper for the service_connect_configuration.service.client_alias.test_traffic_rules.header block of aws_ecs_service (derived from provider schema).
EcsServiceIssuerCertAuthority
Typed helper for the service_connect_configuration.service.tls.issuer_cert_authority block of aws_ecs_service (derived from provider schema).
EcsServiceLifecycleHook
Typed helper for the deployment_configuration.lifecycle_hook block of aws_ecs_service (derived from provider schema).
EcsServiceLinearConfiguration
Typed helper for the deployment_configuration.linear_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceLoadBalancer
Typed helper for the load_balancer block of aws_ecs_service (derived from provider schema).
EcsServiceLogConfiguration
Typed helper for the service_connect_configuration.log_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceManagedEbsVolume
Typed helper for the volume_configuration.managed_ebs_volume block of aws_ecs_service (derived from provider schema).
EcsServiceNetworkConfiguration
Typed helper for the network_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceOrderedPlacementStrategy
Typed helper for the ordered_placement_strategy block of aws_ecs_service (derived from provider schema).
EcsServicePlacementConstraints
Typed helper for the placement_constraints block of aws_ecs_service (derived from provider schema).
EcsServiceRegistries
Typed helper for the service_registries block of aws_ecs_service (derived from provider schema).
EcsServiceSecretOption
Typed helper for the service_connect_configuration.log_configuration.secret_option block of aws_ecs_service (derived from provider schema).
EcsServiceTagSpecifications
Typed helper for the volume_configuration.managed_ebs_volume.tag_specifications block of aws_ecs_service (derived from provider schema).
EcsServiceTestTrafficRules
Typed helper for the service_connect_configuration.service.client_alias.test_traffic_rules block of aws_ecs_service (derived from provider schema).
EcsServiceTimeout
Typed helper for the service_connect_configuration.service.timeout block of aws_ecs_service (derived from provider schema).
EcsServiceTimeoutConfiguration
Typed helper for the deployment_configuration.lifecycle_hook.timeout_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceTls
Typed helper for the service_connect_configuration.service.tls block of aws_ecs_service (derived from provider schema).
EcsServiceValue
Typed helper for the service_connect_configuration.service.client_alias.test_traffic_rules.header.value block of aws_ecs_service (derived from provider schema).
EcsServiceVolumeConfiguration
Typed helper for the volume_configuration block of aws_ecs_service (derived from provider schema).
EcsServiceVpcLatticeConfigurations
Typed helper for the vpc_lattice_configurations block of aws_ecs_service (derived from provider schema).
EcsTaskDefinitionDockerVolumeConfiguration
Typed helper for the volume.docker_volume_configuration block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionEfsVolumeConfiguration
Typed helper for the volume.efs_volume_configuration block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionEfsVolumeConfigurationAuthorizationConfig
Typed helper for the volume.efs_volume_configuration.authorization_config block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionEphemeralStorage
Typed helper for the ephemeral_storage block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionFsxWindowsFileServerVolumeConfiguration
Typed helper for the volume.fsx_windows_file_server_volume_configuration block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionFsxWindowsFileServerVolumeConfigurationAuthorizationConfig
Typed helper for the volume.fsx_windows_file_server_volume_configuration.authorization_config block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionPlacementConstraints
Typed helper for the placement_constraints block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionProxyConfiguration
Typed helper for the proxy_configuration block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionRuntimePlatform
Typed helper for the runtime_platform block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionS3filesVolumeConfiguration
Typed helper for the volume.s3files_volume_configuration block of aws_ecs_task_definition (derived from provider schema).
EcsTaskDefinitionVolume
Typed helper for the volume block of aws_ecs_task_definition (derived from provider schema).
EcsTaskSetCapacityProviderStrategy
Typed helper for the capacity_provider_strategy block of aws_ecs_task_set (derived from provider schema).
EcsTaskSetCompute
At most one of capacity_provider_strategy, launch_type on aws_ecs_task_set: the provider rejects more than one, so each variant sets one of them and a null choice sets none.
EcsTaskSetComputeCapacityProviderStrategy
The EcsTaskSetCompute.capacityProviderStrategy choice: sets capacity_provider_strategy.
EcsTaskSetComputeLaunchType
The EcsTaskSetCompute.launchType choice: sets launch_type.
EcsTaskSetLoadBalancer
Typed helper for the load_balancer block of aws_ecs_task_set (derived from provider schema).
EcsTaskSetNetworkConfiguration
Typed helper for the network_configuration block of aws_ecs_task_set (derived from provider schema).
EcsTaskSetScale
Typed helper for the scale block of aws_ecs_task_set (derived from provider schema).
EcsTaskSetServiceRegistries
Typed helper for the service_registries block of aws_ecs_task_set (derived from provider schema).
EnvironmentConstant
The AppConstant.fromEnvironment choice.
GcsBackend
terraform { backend "gcs" { ... } } configuration.
IgnoreAllChanges
IgnoreChanges.all.
IgnoreAttributes
IgnoreChanges.of.
IgnoreChanges
What ignore_changes covers: every attribute, or the listed ones.
InvalidDartDefineOutput
An output of Stack.addDartDefineOutput that cannot carry what it names: an output that is not registered, is sensitive or has no environment value, two outputs read from one variable, or no output at all.
InvalidLifecycle
A lifecycle block Terraform rejects: a data source (or one of its attributes) in replaceTriggeredBy, all inside IgnoreChanges.of, or a condition with an empty error message.
InvalidMoveTarget
A moved block whose to names no resource of the Stack.
InvalidTimeout
A negative timeouts duration.
LifecycleCondition
A precondition or postcondition block: Terraform fails the plan (LifecycleCondition.pre) or the apply (LifecycleCondition.post) with errorMessage when condition is false.
LifecycleOptions
lifecycle { ... } block on a resource.
LocalBackend
terraform { backend "local" { ... } } configuration.
MissingProvider
A block needs a provider configuration the Stack does not register: the provider its type implies (google for google_pubsub_topic), the one its provider meta-argument names, or one a module call passes on.
ModuleCall
A module "<localName>" { ... } call as a Dart value.
NoProviders
The Stack registers no provider, but declares resources or data sources.
ProviderConflict
Two provider registrations Terraform rejects together: two defaults of one name, a repeated alias, an alias that is not an identifier, or configurations of one name with different source / version constraints.
RefConstant<T>
The AppConstant.ref choice.
ReplaceTrigger
What lifecycle.replaceTriggeredBy lists: a resource of the Stack or an attribute getter of one. Resource and TfRef implement it; synth reports a data source or a data-source attribute as an InvalidLifecycle.
Resource
Base of every user-instantiable Terraform resource.
ResourceRef
Public for sealed pattern matching, but constructor is private — only TfRef.resource() may construct instances.
S3Backend
terraform { backend "s3" { ... } } configuration.
Sensitive<T>
What an argument Terraform marks sensitive takes: a variable, an expression or an attribute getter — a value Terraform resolves, never a Dart literal that would be written into main.tf.json.
SensitiveLiteral
A sensitive field is set to a literal, which would write the secret in plain text into main.tf.json.
Stack
User-extended IaC composition root.
StackBackend
Lightweight backend hook. Core ships GcsBackend, S3Backend, and LocalBackend; anything else implements this interface in the caller. The Stack only stores the value and exposes a discriminator for synth's terraform { backend ... } emitter.
StackProvider
Coordination interface between Stack (in this package) and concrete providers (e.g. GoogleProvider in terradart_google). Concrete providers implement every getter using their baked-in constants from Stage 2 codegen.
SynthIssue
One reason a Stack cannot be synthesized.
SynthResult
Bundle returned by StackSynth.synth.
TfAddressed
Anything that exposes a Terraform address, e.g. google_pubsub_topic.orders.
TfArg<T>
A Terraform argument: a Dart-side literal, a reference to another block's attribute (TfRef), a variable or a raw expression.
TfArgExpression<T>
A raw Terraform expression — the tf.json template string, verbatim.
TfArgLiteral<T>
TfArgVariable<T>
TfCollectionType
list(...), set(...) or map(...).
TfMoved
One moved { from = ... to = ... } block: the state object at from now belongs to the resource at to, so a rename does not become a destroy-and-create.
TfObjectType
object({ ... }).
TfOptionalType
optional(<type>[, <default>]).
TfOutput<T>
An output "<name>" { value = ... } block, registered with Stack.addOutput.
TfPrimitiveType
string, number, bool or any.
TfRef<T>
A Terraform-side reference: an attribute of a resource (AttributeRef) or a data source (DataRef), or a whole resource (ResourceRef).
TfTimeouts
timeouts { ... } on a resource or data source: how long Terraform waits for each operation before giving up.
TfTupleType
tuple([...]).
TfType
A Terraform type constraint: string, list(number), object({ name = string }).
TfVariable
One variable "<name>" { ... } declaration.
UndeclaredVariable
A TfArg.variable or var.<name> in an expression names a variable the Stack does not declare.
UnregisteredReference
A block references another block that was never registered on the Stack: built, but not passed to add(...) / addModule(...).
UnresolvableConstant
An AppConstant.ref whose value is not known at synth: the attribute is not set to a literal, is sensitive, does not match the constant's type, or belongs to a block that is not registered.
ValueConstant<T>
The AppConstant.value choice.

Enums

ResourceKind
Whether a Stack entry is a resource block or a data block in Terraform JSON.

Extension Types

EcsCapacityProviderAcceleratorManufacturers
accelerator_manufacturers — derived from the provider schema description.
EcsCapacityProviderAcceleratorNames
accelerator_names — derived from the provider schema description.
EcsCapacityProviderAcceleratorTypes
accelerator_types — derived from the provider schema description.
EcsCapacityProviderActionsStatus
actions_status — derived from the provider schema description.
EcsCapacityProviderBareMetal
bare_metal — derived from the provider schema description.
EcsCapacityProviderBurstablePerformance
burstable_performance — derived from the provider schema description.
EcsCapacityProviderCapacityOptionType
capacity_option_type — derived from the provider schema description.
EcsCapacityProviderCpuManufacturers
cpu_manufacturers — derived from the provider schema description.
EcsCapacityProviderInstanceGenerations
instance_generations — derived from the provider schema description.
EcsCapacityProviderLocalStorage
local_storage — derived from the provider schema description.
EcsCapacityProviderLocalStorageTypes
local_storage_types — derived from the provider schema description.
EcsCapacityProviderManagedDraining
managed_draining — derived from the provider schema description.
EcsCapacityProviderManagedTerminationProtection
managed_termination_protection — derived from the provider schema description.
EcsCapacityProviderMonitoring
monitoring — derived from the provider schema description.
EcsCapacityProviderPropagateTags
propagate_tags — derived from the provider schema description.
EcsCapacityProviderReservationPreference
reservation_preference — derived from the provider schema description.
EcsCapacityProviderStatus
status — derived from the provider schema description.
EcsClusterLogging
logging — derived from the provider schema description.
EcsClusterSettingName
name — derived from the provider schema description.
EcsDaemonPropagateTags
Ecs Daemon Propagate enum for propagate_tags.
EcsDaemonTaskDefinitionCondition
condition — derived from the provider schema description.
EcsDaemonTaskDefinitionEnvironmentFileType
type — derived from the provider schema description.
EcsDaemonTaskDefinitionFirelensConfigurationType
type — derived from the provider schema description.
EcsDaemonTaskDefinitionLogDriver
log_driver — derived from the provider schema description.
EcsDaemonTaskDefinitionName
name — derived from the provider schema description.
EcsDaemonTaskDefinitionPermissions
permissions — derived from the provider schema description.
EcsServiceAction
action — derived from the provider schema description.
EcsServiceAvailabilityZoneRebalancing
Ecs Service Availability Zone enum for availability_zone_rebalancing.
EcsServiceDeploymentControllerType
type — derived from the provider schema description.
EcsServiceFileSystemType
file_system_type — derived from the provider schema description.
EcsServiceFormat
format — derived from the provider schema description.
EcsServiceIncludeQueryParameters
include_query_parameters — derived from the provider schema description.
EcsServiceLaunchType
Ecs Service Launch enum for launch_type.
EcsServiceLifecycleStages
lifecycle_stages — derived from the provider schema description.
EcsServiceLogDriver
log_driver — derived from the provider schema description.
EcsServiceOrderedPlacementStrategyType
type — derived from the provider schema description.
EcsServicePlacementConstraintsType
type — derived from the provider schema description.
EcsServicePropagateTags
Ecs Service Propagate enum for propagate_tags.
EcsServiceResourceType
resource_type — derived from the provider schema description.
EcsServiceSchedulingStrategy
Ecs Service Scheduling enum for scheduling_strategy.
EcsServiceStrategy
strategy — derived from the provider schema description.
EcsServiceTagSpecificationsPropagateTags
propagate_tags — derived from the provider schema description.
EcsServiceTargetType
target_type — derived from the provider schema description.
EcsTaskDefinitionCpuArchitecture
cpu_architecture — derived from the provider schema description.
EcsTaskDefinitionIam
iam — derived from the provider schema description.
EcsTaskDefinitionIpcMode
Ecs Task Definition Ipc enum for ipc_mode.
EcsTaskDefinitionNetworkMode
Ecs Task Definition Network enum for network_mode.
EcsTaskDefinitionOperatingSystemFamily
operating_system_family — derived from the provider schema description.
EcsTaskDefinitionPidMode
Ecs Task Definition Pid enum for pid_mode.
EcsTaskDefinitionPlacementConstraintsType
type — derived from the provider schema description.
EcsTaskDefinitionProxyConfigurationType
type — derived from the provider schema description.
EcsTaskDefinitionRequiresCompatibilities
Ecs Task Definition Requires enum for requires_compatibilities.
EcsTaskDefinitionScope
scope — derived from the provider schema description.
EcsTaskDefinitionTransitEncryption
transit_encryption — derived from the provider schema description.
EcsTaskSetLaunchType
Ecs Task Set Launch enum for launch_type.
EcsTaskSetUnit
unit — 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").

Constants

terradartManifestVariable → const String
The environment variable the terradart command 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)?, E? defaultEnv}) → 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 env and 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 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.