# S3LocationProperty

Represents an Amazon S3 location (bucket name, bucket owner, and object key) where DataBrew can read input data, or write output from a job.

- 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 s3LocationProperty: databrew.CfnRecipe.S3LocationProperty = {
  bucket: 'bucket',

  // the properties below are optional
  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

s3_location_property = databrew.CfnRecipe.S3LocationProperty(
    bucket="bucket",

    # the properties below are optional
    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.*;

S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
        .bucket("bucket")

        // the properties below are optional
        .key("key")
        .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 s3LocationProperty = new S3LocationProperty {
    Bucket = "bucket",

    // the properties below are optional
    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"

s3LocationProperty := &S3LocationProperty{
	Bucket: jsii.String("bucket"),

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

## Properties

- `bucket`: string (required) — The Amazon S3 bucket name.

- `key`: string — The unique name of the object in the bucket.
