Interface CfnGuardrail.ContentPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrail.ContentPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrail
@Stability(Stable)
public static interface CfnGuardrail.ContentPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about how to handle harmful content.
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.*;
ContentPolicyConfigProperty contentPolicyConfigProperty = ContentPolicyConfigProperty.builder()
.filtersConfig(List.of(ContentFilterConfigProperty.builder()
.inputStrength("inputStrength")
.outputStrength("outputStrength")
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGuardrail.ContentPolicyConfigPropertystatic final classAn implementation forCfnGuardrail.ContentPolicyConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Contains the type of the content filter and how strongly it should apply to prompts and model responses.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFiltersConfig
Contains the type of the content filter and how strongly it should apply to prompts and model responses.- See Also:
-
builder
-