AWS::Wisdom::AIGuardrailCreates an Amazon Q in Connect AI Guardrail.
import { CfnAIGuardrail } from 'aws-cdk-lib/aws-wisdom';Or use the module namespace:
import * as wisdom from 'aws-cdk-lib/aws-wisdom';
// wisdom.CfnAIGuardrailConfiguration passed to the constructor as CfnAIGuardrailProps.
assistantIdRequiredstringThe identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
blockedInputMessagingRequiredstringThe message to return when the AI Guardrail blocks a prompt.
blockedOutputsMessagingRequiredstringThe message to return when the AI Guardrail blocks a model response.
contentPolicyConfigOptionalIResolvable | AIGuardrailContentPolicyConfigPropertyContains details about how to handle harmful content.
contextualGroundingPolicyConfigOptionalIResolvable | AIGuardrailContextualGroundingPolicyConfigPropertyThe policy configuration details for the AI Guardrail's contextual grounding policy.
descriptionOptionalstringA description of the AI Guardrail.
nameOptionalstringThe name of the AI Guardrail.
sensitiveInformationPolicyConfigOptionalIResolvable | AIGuardrailSensitiveInformationPolicyConfigPropertyContains details about PII entities and regular expressions to configure for the AI Guardrail.
tagsOptional{ [key: string]: string }The tags used to organize, track, or control access for this resource.
topicPolicyConfigOptionalIResolvable | AIGuardrailTopicPolicyConfigPropertyContains details about topics that the AI Guardrail should identify and deny.
wordPolicyConfigOptionalIResolvable | AIGuardrailWordPolicyConfigPropertyContains details about the word policy to configured for the AI Guardrail.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-wisdomAWS::Wisdom::AIGuardrail