--- # generated by https://github.com/hashicorp/terraform-plugin-docs page_title: "awscc_stepfunctions_state_machine Resource - terraform-provider-awscc" subcategory: "" description: |- Resource schema for StateMachine --- # awscc_stepfunctions_state_machine (Resource) Resource schema for StateMachine ## Schema ### Required - `role_arn` (String) ### Optional - `definition` (Map of String) - `definition_s3_location` (Attributes) (see [below for nested schema](#nestedatt--definition_s3_location)) - `definition_string` (String) - `definition_substitutions` (Map of String) - `logging_configuration` (Attributes) (see [below for nested schema](#nestedatt--logging_configuration)) - `state_machine_name` (String) - `state_machine_type` (String) - `tags` (Attributes List) (see [below for nested schema](#nestedatt--tags)) - `tracing_configuration` (Attributes) (see [below for nested schema](#nestedatt--tracing_configuration)) ### Read-Only - `arn` (String) - `id` (String) Uniquely identifies the resource. - `name` (String) ### Nested Schema for `definition_s3_location` Optional: - `bucket` (String) - `key` (String) - `version` (String) ### Nested Schema for `logging_configuration` Optional: - `destinations` (Attributes List) (see [below for nested schema](#nestedatt--logging_configuration--destinations)) - `include_execution_data` (Boolean) - `level` (String) ### Nested Schema for `logging_configuration.destinations` Optional: - `cloudwatch_logs_log_group` (Attributes) (see [below for nested schema](#nestedatt--logging_configuration--destinations--cloudwatch_logs_log_group)) ### Nested Schema for `logging_configuration.destinations.cloudwatch_logs_log_group` Optional: - `log_group_arn` (String) ### Nested Schema for `tags` Optional: - `key` (String) - `value` (String) ### Nested Schema for `tracing_configuration` Optional: - `enabled` (Boolean) ## Import Import is supported using the following syntax: ```shell $ terraform import awscc_stepfunctions_state_machine.example ```