# S3PathProperty

Information required to find a specific file in an Amazon S3 bucket.

- 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_kendra as kendra } from 'aws-cdk-lib';
const s3PathProperty: kendra.CfnDataSource.S3PathProperty = {
  bucket: 'bucket',
  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_kendra as kendra

s3_path_property = kendra.CfnDataSource.S3PathProperty(
    bucket="bucket",
    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.kendra.*;

S3PathProperty s3PathProperty = S3PathProperty.builder()
        .bucket("bucket")
        .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.Kendra;

var s3PathProperty = new S3PathProperty {
    Bucket = "bucket",
    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"

s3PathProperty := &S3PathProperty{
	Bucket: jsii.String("bucket"),
	Key: jsii.String("key"),
}
```

## Properties

- `bucket`: string (required) — The name of the S3 bucket that contains the file.

- `key`: string (required) — The name of the file.
