RetrievalFlowNodeConfigurationProperty Struct
Contains configurations for a Retrieval node in a flow.
This node retrieves data from the Amazon S3 location that you specify and returns it as the output.
| 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_bedrock as bedrock } from 'aws-cdk-lib';
const retrievalFlowNodeConfigurationProperty: bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty = {
serviceConfiguration: {
s3: {
bucketName: 'bucketName',
},
},
};
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_bedrock as bedrock
retrieval_flow_node_configuration_property = bedrock.CfnFlowVersion.RetrievalFlowNodeConfigurationProperty(
service_configuration=bedrock.CfnFlowVersion.RetrievalFlowNodeServiceConfigurationProperty(
s3=bedrock.CfnFlowVersion.RetrievalFlowNodeS3ConfigurationProperty(
bucket_name="bucketName"
)
)
)
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.bedrock.*;
RetrievalFlowNodeConfigurationProperty retrievalFlowNodeConfigurationProperty = RetrievalFlowNodeConfigurationProperty.builder()
.serviceConfiguration(RetrievalFlowNodeServiceConfigurationProperty.builder()
.s3(RetrievalFlowNodeS3ConfigurationProperty.builder()
.bucketName("bucketName")
.build())
.build())
.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.Bedrock;
var retrievalFlowNodeConfigurationProperty = new RetrievalFlowNodeConfigurationProperty {
ServiceConfiguration = new RetrievalFlowNodeServiceConfigurationProperty {
S3 = new RetrievalFlowNodeS3ConfigurationProperty {
BucketName = "bucketName"
}
}
};
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"
retrievalFlowNodeConfigurationProperty := &RetrievalFlowNodeConfigurationProperty{
ServiceConfiguration: &RetrievalFlowNodeServiceConfigurationProperty{
S3: &RetrievalFlowNodeS3ConfigurationProperty{
BucketName: jsii.String("bucketName"),
},
},
}
Properties
serviceConfigurationIResolvable | CfnFlowVersion.service_configurationtyping.Union[IResolvable, RetrievalFlowNodeServiceConfigurationProperty]serviceConfigurationIResolvableServiceConfigurationIResolvableServiceConfigurationinterface{} required #Contains configurations for the service to use for retrieving data to return as the output from the node.