interface AIGuardrailWordPolicyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnAIGuardrail.AIGuardrailWordPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnAIGuardrail_AIGuardrailWordPolicyConfigProperty |
Java | software.amazon.awscdk.services.wisdom.CfnAIGuardrail.AIGuardrailWordPolicyConfigProperty |
Python | aws_cdk.aws_wisdom.CfnAIGuardrail.AIGuardrailWordPolicyConfigProperty |
TypeScript | aws-cdk-lib » aws_wisdom » CfnAIGuardrail » AIGuardrailWordPolicyConfigProperty |
Word policy config for a guardrail.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const aIGuardrailWordPolicyConfigProperty: wisdom.CfnAIGuardrail.AIGuardrailWordPolicyConfigProperty = {
managedWordListsConfig: [{
type: 'type',
}],
wordsConfig: [{
text: 'text',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| managed | IResolvable | (IResolvable | Guardrail)[] | A config for the list of managed words. |
| words | IResolvable | (IResolvable | Guardrail)[] | List of custom word configurations. |
managedWordListsConfig?
Type:
IResolvable | (IResolvable | Guardrail)[]
(optional)
A config for the list of managed words.
wordsConfig?
Type:
IResolvable | (IResolvable | Guardrail)[]
(optional)
List of custom word configurations.

.NET
Go
Java
Python
TypeScript