# PromptFlowNodeInlineConfigurationProperty

Contains configurations for a prompt defined inline in the node.

- 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 promptFlowNodeInlineConfigurationProperty: bedrock.CfnFlowVersion.PromptFlowNodeInlineConfigurationProperty = {
  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,
    },
  },
};
```

## Properties

- `inferenceConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowVersion.PromptInferenceConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowVersion.PromptInferenceConfigurationProperty.html) — Contains inference configurations for the prompt.

- `modelId`: string (required) — The unique identifier of the model or [inference profile](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html) to run inference with.

- `templateConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnFlowVersion.PromptTemplateConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnFlowVersion.PromptTemplateConfigurationProperty.html) (required) — Contains a prompt and variables in the prompt that can be replaced with values at runtime.

- `templateType`: string (required) — The type of prompt template.
