interface PromptFlowNodeSourceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnFlowVersionPropsMixin.PromptFlowNodeSourceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnFlowVersionPropsMixin_PromptFlowNodeSourceConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.PromptFlowNodeSourceConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnFlowVersionPropsMixin.PromptFlowNodeSourceConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnFlowVersionPropsMixin » PromptFlowNodeSourceConfigurationProperty |
Contains configurations for a prompt and whether it is from Prompt management or defined inline.
Example
// 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/cfn-property-mixins';
const promptFlowNodeSourceConfigurationProperty: bedrock.CfnFlowVersionPropsMixin.PromptFlowNodeSourceConfigurationProperty = {
inline: {
inferenceConfiguration: {
text: {
maxTokens: 123,
stopSequences: ['stopSequences'],
temperature: 123,
topP: 123,
},
},
modelId: 'modelId',
templateConfiguration: {
text: {
inputVariables: [{
name: 'name',
}],
text: 'text',
},
},
templateType: 'templateType',
},
resource: {
promptArn: 'promptArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| inline? | IResolvable | Prompt | Contains configurations for a prompt that is defined inline. |
| resource? | IResolvable | Prompt | Contains configurations for a prompt from Prompt management. |
inline?
Type:
IResolvable | Prompt
(optional)
Contains configurations for a prompt that is defined inline.
resource?
Type:
IResolvable | Prompt
(optional)
Contains configurations for a prompt from Prompt management.

.NET
Go
Java
Python
TypeScript