aws_sfn_state_machineNivis Nix constructor for the aws_sfn_state_machine 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,
definition,
role_arn,
id ? null,
cfg_name ? null,
name_prefix ? null,
publish ? null,
region ? null,
tags ? null,
tags_all ? null,
type ? null,
encryption_configuration ? null,
logging_configuration ? null,
timeouts ? null,
tracing_configuration ? null,
overrides ? {}
}Required arguments
definitionrole_arn
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)name_prefix(defaults tonull)publish(defaults tonull)region(defaults tonull)tags(defaults tonull)tags_all(defaults tonull)type(defaults tonull)encryption_configuration(defaults tonull)logging_configuration(defaults tonull)timeouts(defaults tonull)tracing_configuration(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
arncreation_datedescriptionrevision_idstate_machine_version_arnstatusversion_description
Example
aws_sfn_state_machine {
name = "sfn_state_machine";
definition = …; # required
role_arn = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.