Interface CfnGuardrail.WordPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrail.WordPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrail
@Stability(Stable)
public static interface CfnGuardrail.WordPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*;
WordPolicyConfigProperty wordPolicyConfigProperty = WordPolicyConfigProperty.builder()
.managedWordListsConfig(List.of(ManagedWordsConfigProperty.builder()
.type("type")
// the properties below are optional
.inputAction("inputAction")
.inputEnabled(false)
.outputAction("outputAction")
.outputEnabled(false)
.build()))
.wordsConfig(List.of(WordConfigProperty.builder()
.text("text")
// the properties below are optional
.inputAction("inputAction")
.inputEnabled(false)
.outputAction("outputAction")
.outputEnabled(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGuardrail.WordPolicyConfigPropertystatic final classAn implementation forCfnGuardrail.WordPolicyConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getManagedWordListsConfig
A list of managed words to configure for the guardrail.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrail.ManagedWordsConfigProperty>- See Also:
-
getWordsConfig
A list of words to configure for the guardrail.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrail.WordConfigProperty>- See Also:
-
builder
-