Class CfnGuardrailPropsMixin.ManagedWordsConfigProperty
The managed word list to configure for the guardrail.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnGuardrailPropsMixin.ManagedWordsConfigProperty : CfnGuardrailPropsMixin.IManagedWordsConfigProperty
Syntax (vb)
Public Class CfnGuardrailPropsMixin.ManagedWordsConfigProperty Implements CfnGuardrailPropsMixin.IManagedWordsConfigProperty
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 managedWordsConfigProperty = new ManagedWordsConfigProperty {
InputAction = "inputAction",
InputEnabled = false,
OutputAction = "outputAction",
OutputEnabled = false,
Type = "type"
};
Synopsis
Constructors
| ManagedWordsConfigProperty() | The managed word list to configure for the guardrail. |
Properties
| InputAction | Specifies the action to take when harmful content is detected in the input. Supported values include:. |
| InputEnabled | Specifies whether to enable guardrail evaluation on the input. |
| OutputAction | Specifies the action to take when harmful content is detected in the output. Supported values include:. |
| OutputEnabled | Specifies whether to enable guardrail evaluation on the output. |
| Type | The managed word type to configure for the guardrail. |
Constructors
ManagedWordsConfigProperty()
The managed word list to configure for the guardrail.
public ManagedWordsConfigProperty()
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 managedWordsConfigProperty = new ManagedWordsConfigProperty {
InputAction = "inputAction",
InputEnabled = false,
OutputAction = "outputAction",
OutputEnabled = false,
Type = "type"
};
Properties
InputAction
Specifies the action to take when harmful content is detected in the input. Supported values include:.
public string? InputAction { get; set; }
Property Value
Remarks
InputEnabled
Specifies whether to enable guardrail evaluation on the input.
public object? InputEnabled { get; set; }
Property Value
Remarks
When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
Type union: either bool or IResolvable
OutputAction
Specifies the action to take when harmful content is detected in the output. Supported values include:.
public string? OutputAction { get; set; }
Property Value
Remarks
OutputEnabled
Specifies whether to enable guardrail evaluation on the output.
public object? OutputEnabled { get; set; }
Property Value
Remarks
When disabled, you aren't charged for the evaluation. The evaluation doesn't appear in the response.
Type union: either bool or IResolvable
Type
The managed word type to configure for the guardrail.
public string? Type { get; set; }