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") .build())) .wordsConfig(List.of(WordConfigProperty.builder() .text("text") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGuardrail.WordPolicyConfigProperty
static final class
An 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.- See Also:
-
getWordsConfig
A list of words to configure for the guardrail.- See Also:
-
builder
-