Interface CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty.Jsii$Proxy
- Enclosing class:
CfnEnforcedGuardrailConfiguration
@Stability(Stable)
public static interface CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty
extends software.amazon.jsii.JsiiSerializable
Model-specific information for the enforced guardrail configuration.
If not present, the configuration is enforced on all models
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.*;
ModelEnforcementProperty modelEnforcementProperty = ModelEnforcementProperty.builder()
.excludedModels(List.of("excludedModels"))
.includedModels(List.of("includedModels"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEnforcedGuardrailConfiguration.ModelEnforcementProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Models to exclude from enforcement.Models to enforce the guardrail on.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExcludedModels
Models to exclude from enforcement.If a model is in both lists, it is excluded
- See Also:
-
getIncludedModels
Models to enforce the guardrail on.- See Also:
-
builder
@Stability(Stable) static CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty.Builder builder()
-