@Stability(value=Stable) public static final class CfnDataSource.HookConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.HookConfigurationProperty>
CfnDataSource.HookConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnDataSource.HookConfigurationProperty |
build()
Builds the configured instance.
|
CfnDataSource.HookConfigurationProperty.Builder |
invocationCondition(CfnDataSource.DocumentAttributeConditionProperty invocationCondition)
Sets the value of
CfnDataSource.HookConfigurationProperty.getInvocationCondition() |
CfnDataSource.HookConfigurationProperty.Builder |
invocationCondition(IResolvable invocationCondition)
Sets the value of
CfnDataSource.HookConfigurationProperty.getInvocationCondition() |
CfnDataSource.HookConfigurationProperty.Builder |
lambdaArn(String lambdaArn)
Sets the value of
CfnDataSource.HookConfigurationProperty.getLambdaArn() |
CfnDataSource.HookConfigurationProperty.Builder |
s3Bucket(String s3Bucket)
Sets the value of
CfnDataSource.HookConfigurationProperty.getS3Bucket() |
@Stability(value=Stable) public CfnDataSource.HookConfigurationProperty.Builder lambdaArn(String lambdaArn)
CfnDataSource.HookConfigurationProperty.getLambdaArn()lambdaArn - The Amazon Resource Name (ARN) of a role with permission to run a Lambda function during ingestion. This parameter is required.
For more information, see IAM roles for Amazon Kendra .this@Stability(value=Stable) public CfnDataSource.HookConfigurationProperty.Builder s3Bucket(String s3Bucket)
CfnDataSource.HookConfigurationProperty.getS3Bucket()s3Bucket - Stores the original, raw documents or the structured, parsed documents before and after altering them. This parameter is required.
For more information, see Data contracts for Lambda functions .this@Stability(value=Stable) public CfnDataSource.HookConfigurationProperty.Builder invocationCondition(CfnDataSource.DocumentAttributeConditionProperty invocationCondition)
CfnDataSource.HookConfigurationProperty.getInvocationCondition()invocationCondition - The condition used for when a Lambda function should be invoked.
For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.this@Stability(value=Stable) public CfnDataSource.HookConfigurationProperty.Builder invocationCondition(IResolvable invocationCondition)
CfnDataSource.HookConfigurationProperty.getInvocationCondition()invocationCondition - The condition used for when a Lambda function should be invoked.
For example, you can specify a condition that if there are empty date-time values, then Amazon Kendra should invoke a function that inserts the current date-time.this@Stability(value=Stable) public CfnDataSource.HookConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.HookConfigurationProperty>CfnDataSource.HookConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.