---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "awscc_databrew_dataset Resource - terraform-provider-awscc"
subcategory: ""
description: |-
Resource schema for AWS::DataBrew::Dataset.
---
# awscc_databrew_dataset (Resource)
Resource schema for AWS::DataBrew::Dataset.
## Schema
### Required
- `input` (Attributes) Input (see [below for nested schema](#nestedatt--input))
- `name` (String) Dataset name
### Optional
- `format` (String) Dataset format
- `format_options` (Attributes) Format options for dataset (see [below for nested schema](#nestedatt--format_options))
- `path_options` (Attributes) PathOptions (see [below for nested schema](#nestedatt--path_options))
- `tags` (Attributes List) (see [below for nested schema](#nestedatt--tags))
### Read-Only
- `id` (String) Uniquely identifies the resource.
### Nested Schema for `input`
Required:
- `data_catalog_input_definition` (Attributes) (see [below for nested schema](#nestedatt--input--data_catalog_input_definition))
- `database_input_definition` (Attributes) (see [below for nested schema](#nestedatt--input--database_input_definition))
- `metadata` (Attributes) (see [below for nested schema](#nestedatt--input--metadata))
- `s3_input_definition` (Attributes) Input location (see [below for nested schema](#nestedatt--input--s3_input_definition))
### Nested Schema for `input.data_catalog_input_definition`
Required:
- `catalog_id` (String) Catalog id
- `database_name` (String) Database name
- `table_name` (String) Table name
- `temp_directory` (Attributes) Input location (see [below for nested schema](#nestedatt--input--data_catalog_input_definition--temp_directory))
### Nested Schema for `input.data_catalog_input_definition.temp_directory`
Required:
- `bucket` (String)
- `key` (String)
### Nested Schema for `input.database_input_definition`
Required:
- `database_table_name` (String) Database table name
- `glue_connection_name` (String) Glue connection name
- `query_string` (String) Custom SQL to run against the provided AWS Glue connection. This SQL will be used as the input for DataBrew projects and jobs.
- `temp_directory` (Attributes) Input location (see [below for nested schema](#nestedatt--input--database_input_definition--temp_directory))
### Nested Schema for `input.database_input_definition.temp_directory`
Required:
- `bucket` (String)
- `key` (String)
### Nested Schema for `input.metadata`
Required:
- `source_arn` (String) Arn of the source of the dataset. For e.g.: AppFlow Flow ARN.
### Nested Schema for `input.s3_input_definition`
Required:
- `bucket` (String)
- `key` (String)
### Nested Schema for `format_options`
Optional:
- `csv` (Attributes) Csv options (see [below for nested schema](#nestedatt--format_options--csv))
- `excel` (Attributes) (see [below for nested schema](#nestedatt--format_options--excel))
- `json` (Attributes) Json options (see [below for nested schema](#nestedatt--format_options--json))
### Nested Schema for `format_options.csv`
Optional:
- `delimiter` (String)
- `header_row` (Boolean)
### Nested Schema for `format_options.excel`
Optional:
- `header_row` (Boolean)
- `sheet_indexes` (List of Number)
- `sheet_names` (List of String)
### Nested Schema for `format_options.json`
Optional:
- `multi_line` (Boolean)
### Nested Schema for `path_options`
Optional:
- `files_limit` (Attributes) (see [below for nested schema](#nestedatt--path_options--files_limit))
- `last_modified_date_condition` (Attributes) (see [below for nested schema](#nestedatt--path_options--last_modified_date_condition))
- `parameters` (Attributes List) (see [below for nested schema](#nestedatt--path_options--parameters))
### Nested Schema for `path_options.files_limit`
Optional:
- `max_files` (Number) Maximum number of files
- `order` (String) Order
- `ordered_by` (String) Ordered by
### Nested Schema for `path_options.last_modified_date_condition`
Optional:
- `expression` (String) Filtering expression for a parameter
- `values_map` (Attributes List) (see [below for nested schema](#nestedatt--path_options--last_modified_date_condition--values_map))
### Nested Schema for `path_options.last_modified_date_condition.values_map`
Optional:
- `value` (String)
- `value_reference` (String) Variable name
### Nested Schema for `path_options.parameters`
Optional:
- `dataset_parameter` (Attributes) (see [below for nested schema](#nestedatt--path_options--parameters--dataset_parameter))
- `path_parameter_name` (String) Parameter name
### Nested Schema for `path_options.parameters.dataset_parameter`
Optional:
- `create_column` (Boolean) Add the value of this parameter as a column in a dataset.
- `datetime_options` (Attributes) (see [below for nested schema](#nestedatt--path_options--parameters--dataset_parameter--datetime_options))
- `filter` (Attributes) (see [below for nested schema](#nestedatt--path_options--parameters--dataset_parameter--filter))
- `name` (String) Parameter name
- `type` (String) Parameter type
### Nested Schema for `path_options.parameters.dataset_parameter.type`
Optional:
- `format` (String) Date/time format of a date parameter
- `locale_code` (String) Locale code for a date parameter
- `timezone_offset` (String) Timezone offset
### Nested Schema for `path_options.parameters.dataset_parameter.type`
Optional:
- `expression` (String) Filtering expression for a parameter
- `values_map` (Attributes List) (see [below for nested schema](#nestedatt--path_options--parameters--dataset_parameter--type--values_map))
### Nested Schema for `path_options.parameters.dataset_parameter.type.values_map`
Optional:
- `value` (String)
- `value_reference` (String) Variable name
### Nested Schema for `tags`
Optional:
- `key` (String)
- `value` (String)
## Import
Import is supported using the following syntax:
```shell
$ terraform import awscc_databrew_dataset.example
```