Class CfnGuardrailPropsMixin.WordPolicyConfigProperty
Contains details about the word policy to configured for the guardrail.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnGuardrailPropsMixin.WordPolicyConfigProperty : CfnGuardrailPropsMixin.IWordPolicyConfigProperty
Syntax (vb)
Public Class CfnGuardrailPropsMixin.WordPolicyConfigProperty Implements CfnGuardrailPropsMixin.IWordPolicyConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var wordPolicyConfigProperty = new WordPolicyConfigProperty {
ManagedWordListsConfig = new [] { new ManagedWordsConfigProperty {
InputAction = "inputAction",
InputEnabled = false,
OutputAction = "outputAction",
OutputEnabled = false,
Type = "type"
} },
WordsConfig = new [] { new WordConfigProperty {
InputAction = "inputAction",
InputEnabled = false,
OutputAction = "outputAction",
OutputEnabled = false,
Text = "text"
} }
};
Synopsis
Constructors
| WordPolicyConfigProperty() | Contains details about the word policy to configured for the guardrail. |
Properties
| ManagedWordListsConfig | A list of managed words to configure for the guardrail. |
| WordsConfig | A list of words to configure for the guardrail. |
Constructors
WordPolicyConfigProperty()
Contains details about the word policy to configured for the guardrail.
public WordPolicyConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;
var wordPolicyConfigProperty = new WordPolicyConfigProperty {
ManagedWordListsConfig = new [] { new ManagedWordsConfigProperty {
InputAction = "inputAction",
InputEnabled = false,
OutputAction = "outputAction",
OutputEnabled = false,
Type = "type"
} },
WordsConfig = new [] { new WordConfigProperty {
InputAction = "inputAction",
InputEnabled = false,
OutputAction = "outputAction",
OutputEnabled = false,
Text = "text"
} }
};
Properties
ManagedWordListsConfig
A list of managed words to configure for the guardrail.
public object? ManagedWordListsConfig { get; set; }
Property Value
Remarks
WordsConfig
A list of words to configure for the guardrail.
public object? WordsConfig { get; set; }