AwsBedrockDeniedTopicArgs

interface AwsBedrockDeniedTopicArgs { definition: string; examples?: readonly string[]; }

Defines one topic that the guardrail must deny.

Example

CODE
const topic: AwsBedrockDeniedTopicArgs = {
  definition: 'Advice about investing money or assets.',
  examples: ['Which shares should I buy?'],
};

Properties

definition: string

Clear definition of the denied topic.

examples: readonly string[]

Representative requests that belong to the denied topic.