aws_ecs_serviceNivis Nix constructor for the aws_ecs_service resource (provider aws). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
availability_zone_rebalancing ? null,
cluster ? null,
deployment_maximum_percent ? null,
deployment_minimum_healthy_percent ? null,
desired_count ? null,
enable_ecs_managed_tags ? null,
enable_execute_command ? null,
force_delete ? null,
force_new_deployment ? null,
health_check_grace_period_seconds ? null,
iam_role ? null,
id ? null,
launch_type ? null,
cfg_name ? null,
platform_version ? null,
propagate_tags ? null,
region ? null,
scheduling_strategy ? null,
sigint_rollback ? null,
tags ? null,
tags_all ? null,
task_definition ? null,
triggers ? null,
wait_for_steady_state ? null,
alarms ? null,
capacity_provider_strategy ? null,
deployment_circuit_breaker ? null,
deployment_configuration ? null,
deployment_controller ? null,
load_balancer ? null,
network_configuration ? null,
ordered_placement_strategy ? null,
placement_constraints ? null,
service_connect_configuration ? null,
service_registries ? null,
timeouts ? null,
volume_configuration ? null,
vpc_lattice_configurations ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
availability_zone_rebalancing(defaults tonull)cluster(defaults tonull)deployment_maximum_percent(defaults tonull)deployment_minimum_healthy_percent(defaults tonull)desired_count(defaults tonull)enable_ecs_managed_tags(defaults tonull)enable_execute_command(defaults tonull)force_delete(defaults tonull)force_new_deployment(defaults tonull)health_check_grace_period_seconds(defaults tonull)iam_role(defaults tonull)id(defaults tonull)launch_type(defaults tonull)cfg_name(defaults tonull)platform_version(defaults tonull)propagate_tags(defaults tonull)region(defaults tonull)scheduling_strategy(defaults tonull)sigint_rollback(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)task_definition(defaults tonull)triggers(defaults tonull)wait_for_steady_state(defaults tonull)alarms(defaults tonull)capacity_provider_strategy(defaults tonull)deployment_circuit_breaker(defaults tonull)deployment_configuration(defaults tonull)deployment_controller(defaults tonull)load_balancer(defaults tonull)network_configuration(defaults tonull)ordered_placement_strategy(defaults tonull)placement_constraints(defaults tonull)service_connect_configuration(defaults tonull)service_registries(defaults tonull)timeouts(defaults tonull)volume_configuration(defaults tonull)vpc_lattice_configurations(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arn
Example
aws_ecs_service {
name = "ecs_service";
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.