Interface CfnGuardrailPropsMixin.ContextualGroundingPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrailPropsMixin.ContextualGroundingPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrailPropsMixin
@Stability(Stable)
public static interface CfnGuardrailPropsMixin.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.cfnpropertymixins.services.bedrock.*;
ContextualGroundingPolicyConfigProperty contextualGroundingPolicyConfigProperty = ContextualGroundingPolicyConfigProperty.builder()
.filtersConfig(List.of(ContextualGroundingFilterConfigProperty.builder()
.action("action")
.enabled(false)
.threshold(123)
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnGuardrailPropsMixin.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: '<'eitherIResolvableorCfnGuardrailPropsMixin.ContextualGroundingFilterConfigProperty>- See Also:
-
builder
@Stability(Stable) static CfnGuardrailPropsMixin.ContextualGroundingPolicyConfigProperty.Builder builder()
-