Show / Hide Table of Contents

Interface CfnDataSourcePropsMixin.ICustomTransformationConfigurationProperty

Settings for customizing steps in the data source content ingestion pipeline.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnDataSourcePropsMixin.ICustomTransformationConfigurationProperty
Syntax (vb)
Public Interface CfnDataSourcePropsMixin.ICustomTransformationConfigurationProperty
Remarks

You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them.

To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-customtransformationconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;

             var customTransformationConfigurationProperty = new CustomTransformationConfigurationProperty {
                 IntermediateStorage = new IntermediateStorageProperty {
                     S3Location = new S3LocationProperty {
                         Uri = "uri"
                     }
                 },
                 Transformations = new [] { new TransformationProperty {
                     StepToApply = "stepToApply",
                     TransformationFunction = new TransformationFunctionProperty {
                         TransformationLambdaConfiguration = new TransformationLambdaConfigurationProperty {
                             LambdaArn = "lambdaArn"
                         }
                     }
                 } }
             };

Synopsis

Properties

IntermediateStorage

An S3 bucket path for input and output objects.

Transformations

A Lambda function that processes documents.

Properties

IntermediateStorage

An S3 bucket path for input and output objects.

object? IntermediateStorage { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-customtransformationconfiguration.html#cfn-bedrock-datasource-customtransformationconfiguration-intermediatestorage

Type union: either IResolvable or CfnDataSourcePropsMixin.IIntermediateStorageProperty

Transformations

A Lambda function that processes documents.

object? Transformations { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-customtransformationconfiguration.html#cfn-bedrock-datasource-customtransformationconfiguration-transformations

Type union: either IResolvable or (either IResolvable or CfnDataSourcePropsMixin.ITransformationProperty)[]

Back to top Generated by DocFX