# CfnRetrievalInstructionProps

Properties for defining a `CfnRetrievalInstruction`.

Extends: CfnRetrievalInstructionProps
Used as props by: CfnRetrievalInstruction

- Source: Generated code
- Type last changed: v2.276.0 · 10 Nov 2026

## 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 cfnRetrievalInstructionProps: bedrock.CfnRetrievalInstructionProps = {
  instruction: {
    answerFormat: 'answerFormat',
    answerPolicy: 'answerPolicy',
    persona: 'persona',
    retrievalGuidance: 'retrievalGuidance',
  },
  name: 'name',

  // the properties below are optional
  customerEncryptionKeyArn: 'customerEncryptionKeyArn',
  description: 'description',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

## Properties

- `customerEncryptionKeyArn`: string — The ARN of the customer managed KMS key protecting this content, when one was supplied at create.

- `description`: string — A description of the retrieval instruction.

  On a numbered version, the description of that version.

- `instruction`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnRetrievalInstruction.InstructionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnRetrievalInstruction.InstructionProperty.html) (required) — The reviewed content this instruction serves — what AgenticRetrieveStream resolves while status is ACTIVE.

  Absent until the first create review passes. Always present on a numbered version.

- `name`: string (required) — The name of the retrieval instruction.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — An array of key-value pairs to apply to this resource.
