# PromptFlowNodeSourceConfigurationProperty

Contains configurations for a prompt and whether it is from Prompt management or defined inline.

- Source: Generated code
- Type last changed: v2.154.0 · 22 Aug 2024

## 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 promptFlowNodeSourceConfigurationProperty: bedrock.CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty = {
  inline: {
    modelId: 'modelId',
    templateConfiguration: {
      text: {
        text: 'text',

        // the properties below are optional
        inputVariables: [{
          name: 'name',
        }],
      },
    },
    templateType: 'templateType',

    // the properties below are optional
    inferenceConfiguration: {
      text: {
        maxTokens: 123,
        stopSequences: ['stopSequences'],
        temperature: 123,
        topP: 123,
      },
    },
  },
  resource: {
    promptArn: 'promptArn',
  },
};
```

## Properties

- `inline`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowVersion.PromptFlowNodeInlineConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowVersion.PromptFlowNodeInlineConfigurationProperty.html) — Contains configurations for a prompt that is defined inline.

- `resource`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowVersion.PromptFlowNodeResourceConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowVersion.PromptFlowNodeResourceConfigurationProperty.html) — Contains configurations for a prompt from Prompt management.
