@cdklabs/generative-ai-cdk-constructs • Docs
@cdklabs/generative-ai-cdk-constructs / bedrock / Topic
Defines a topic to deny.
protected
new Topic(props
):Topic
• props: CustomTopicProps
readonly
definition:string
Definition of the topic.
readonly
optional
examples:string
[]
Representative phrases that refer to the topic.
readonly
name:string
The name of the topic to deny.
readonly
static
FINANCIAL_ADVICE:Topic
readonly
static
INNOPROPRIATE_CONTENT:Topic
readonly
static
LEGAL_ADVICE:Topic
readonly
static
MEDICAL_ADVICE:Topic
readonly
static
POLITICAL_ADVICE:Topic
static
custom(props
):Topic
• props: CustomTopicProps