# DocumentsMetadataConfigurationProperty

Document metadata files that contain information such as the document access control information, source URI, document author, and custom attributes.

Each metadata file contains metadata about a single document.

- 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 documentsMetadataConfigurationProperty: kendra.CfnDataSource.DocumentsMetadataConfigurationProperty = {
  s3Prefix: 's3Prefix',
};
```

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

documents_metadata_configuration_property = kendra.CfnDataSource.DocumentsMetadataConfigurationProperty(
    s3_prefix="s3Prefix"
)
```

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.*;

DocumentsMetadataConfigurationProperty documentsMetadataConfigurationProperty = DocumentsMetadataConfigurationProperty.builder()
        .s3Prefix("s3Prefix")
        .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 documentsMetadataConfigurationProperty = new DocumentsMetadataConfigurationProperty {
    S3Prefix = "s3Prefix"
};
```

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"

documentsMetadataConfigurationProperty := &DocumentsMetadataConfigurationProperty{
	S3Prefix: jsii.String("s3Prefix"),
}
```

## Properties

- `s3Prefix`: string — A prefix used to filter metadata configuration files in the AWS S3 bucket.

  The S3 bucket might contain multiple metadata files. Use `S3Prefix` to include only the desired metadata files.
