DocumentsMetadataConfigurationProperty Struct
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 | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
};
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
s3Prefixoptionalstrings3_prefixoptionalstrs3PrefixoptionalStringS3PrefixoptionalstringS3Prefixoptional*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.