Class: Topic
March 19, 2026 ยท View on GitHub
@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / Topic
Class: Topic
Defines a topic to deny.
Constructors
Constructor
protectednew Topic(props):Topic
Parameters
props
Returns
Topic
Properties
definition
readonlydefinition:string
Definition of the topic.
examples?
readonlyoptionalexamples?:string[]
Representative phrases that refer to the topic.
name
readonlyname:string
The name of the topic to deny.
FINANCIAL_ADVICE
readonlystaticFINANCIAL_ADVICE:Topic
INAPPROPRIATE_CONTENT
readonlystaticINAPPROPRIATE_CONTENT:Topic
LEGAL_ADVICE
readonlystaticLEGAL_ADVICE:Topic
MEDICAL_ADVICE
readonlystaticMEDICAL_ADVICE:Topic
POLITICAL_ADVICE
readonlystaticPOLITICAL_ADVICE:Topic
Methods
custom()
staticcustom(props):Topic
Parameters
props
Returns
Topic