generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / bedrock / ManagedWordFilter

Interface: ManagedWordFilter

Properties

inputAction?

readonly optional inputAction: GuardrailAction

The action to take when a managed word is detected in the input.


inputEnabled?

readonly optional inputEnabled: boolean

Whether the managed word filter is enabled for input.


outputAction?

readonly optional outputAction: GuardrailAction

The action to take when a managed word is detected in the output.


outputEnabled?

readonly optional outputEnabled: boolean

Whether the managed word filter is enabled for output.


type

readonly type: PROFANITY

The type of managed word filter.