# DatabaseTableOutputOptionsProperty

Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_databrew as databrew } from 'aws-cdk-lib';
const databaseTableOutputOptionsProperty: databrew.CfnJob.DatabaseTableOutputOptionsProperty = {
  tableName: 'tableName',

  // the properties below are optional
  tempDirectory: {
    bucket: 'bucket',

    // the properties below are optional
    bucketOwner: 'bucketOwner',
    key: 'key',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_databrew as databrew

database_table_output_options_property = databrew.CfnJob.DatabaseTableOutputOptionsProperty(
    table_name="tableName",

    # the properties below are optional
    temp_directory=databrew.CfnJob.S3LocationProperty(
        bucket="bucket",

        # the properties below are optional
        bucket_owner="bucketOwner",
        key="key"
    )
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.databrew.*;

DatabaseTableOutputOptionsProperty databaseTableOutputOptionsProperty = DatabaseTableOutputOptionsProperty.builder()
        .tableName("tableName")

        // the properties below are optional
        .tempDirectory(S3LocationProperty.builder()
                .bucket("bucket")

                // the properties below are optional
                .bucketOwner("bucketOwner")
                .key("key")
                .build())
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataBrew;

var databaseTableOutputOptionsProperty = new DatabaseTableOutputOptionsProperty {
    TableName = "tableName",

    // the properties below are optional
    TempDirectory = new S3LocationProperty {
        Bucket = "bucket",

        // the properties below are optional
        BucketOwner = "bucketOwner",
        Key = "key"
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

databaseTableOutputOptionsProperty := &DatabaseTableOutputOptionsProperty{
	TableName: jsii.String("tableName"),

	// the properties below are optional
	TempDirectory: &S3LocationProperty{
		Bucket: jsii.String("bucket"),

		// the properties below are optional
		BucketOwner: jsii.String("bucketOwner"),
		Key: jsii.String("key"),
	},
}
```

## Properties

- `tableName`: string (required) — A prefix for the name of a table DataBrew will create in the database.

- `tempDirectory`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnJob.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_databrew.CfnJob.S3LocationProperty.html) — Represents an Amazon S3 location (bucket name and object key) where DataBrew can store intermediate results.
