Interface CfnGuardrail.ContextualGroundingPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrail.ContextualGroundingPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrail
@Stability(Stable)
public static interface CfnGuardrail.ContextualGroundingPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
The policy configuration details for the guardrails contextual grounding policy.
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.*;
ContextualGroundingPolicyConfigProperty contextualGroundingPolicyConfigProperty = ContextualGroundingPolicyConfigProperty.builder()
.filtersConfig(List.of(ContextualGroundingFilterConfigProperty.builder()
.threshold(123)
.type("type")
// the properties below are optional
.action("action")
.enabled(false)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGuardrail.ContextualGroundingPolicyConfigPropertystatic final classAn implementation forCfnGuardrail.ContextualGroundingPolicyConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFiltersConfig
List of contextual grounding filter configs.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrail.ContextualGroundingFilterConfigProperty>- See Also:
-
builder
-