interface WordPolicyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnGuardrailPropsMixin.WordPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnGuardrailPropsMixin_WordPolicyConfigProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnGuardrailPropsMixin.WordPolicyConfigProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnGuardrailPropsMixin.WordPolicyConfigProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnGuardrailPropsMixin » WordPolicyConfigProperty |
Contains details about the word policy to configured for the guardrail.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const wordPolicyConfigProperty: bedrock.CfnGuardrailPropsMixin.WordPolicyConfigProperty = {
managedWordListsConfig: [{
inputAction: 'inputAction',
inputEnabled: false,
outputAction: 'outputAction',
outputEnabled: false,
type: 'type',
}],
wordsConfig: [{
inputAction: 'inputAction',
inputEnabled: false,
outputAction: 'outputAction',
outputEnabled: false,
text: 'text',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| managed | IResolvable | (IResolvable | Managed)[] | A list of managed words to configure for the guardrail. |
| words | IResolvable | (IResolvable | Word)[] | A list of words to configure for the guardrail. |
managedWordListsConfig?
Type:
IResolvable | (IResolvable | Managed)[]
(optional)
A list of managed words to configure for the guardrail.
wordsConfig?
Type:
IResolvable | (IResolvable | Word)[]
(optional)
A list of words to configure for the guardrail.

.NET
Go
Java
Python
TypeScript