> **Experimental**
>
> `@aws-cdk/aws-bedrock-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# PromptPostProcessingConfigCustomParser

Configuration for the post-processing step.

Extends: PromptPostProcessingConfigCustomParser
Extends: PromptStepConfigBase

- Stability: [Experimental](/cdk/api/stability.html)
- Source: [`bedrock/agents/prompt-override.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0-alpha.0/packages/@aws-cdk/aws-bedrock-alpha/bedrock/agents/prompt-override.ts#L159)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
const promptPostProcessingConfigCustomParser: bedrock_alpha.PromptPostProcessingConfigCustomParser = {
  stepType: bedrock_alpha.AgentStepType.PRE_PROCESSING,

  // the properties below are optional
  customPromptTemplate: 'customPromptTemplate',
  inferenceConfig: {
    maximumLength: 123,
    stopSequences: ['stopSequences'],
    temperature: 123,
    topK: 123,
    topP: 123,
  },
  stepEnabled: false,
  useCustomParser: false,
};
```

## Properties

- `customPromptTemplate`: string — The custom prompt template to be used.

  **Default:** The default prompt template will be used.

- `inferenceConfig`: [InferenceConfiguration](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.InferenceConfiguration.html) — The inference configuration parameters to use.

  **Default:** undefined - Default inference configuration will be used

- `stepEnabled`: boolean — Whether to enable or skip this step in the agent sequence.

  **Default:** The default state for each step type is as follows. PRE_PROCESSING – ENABLED ORCHESTRATION – ENABLED KNOWLEDGE_BASE_RESPONSE_GENERATION – ENABLED POST_PROCESSING – DISABLED

- `stepType`: [AgentStepType](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.AgentStepType.html) (required) — The type of step this configuration applies to.

- `useCustomParser`: boolean = false — Whether to use the custom Lambda parser defined for the sequence.
