Interface CfnEnforcedGuardrailConfigurationMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEnforcedGuardrailConfigurationMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-14T18:32:09.267Z")
@Stability(Stable)
public interface CfnEnforcedGuardrailConfigurationMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnEnforcedGuardrailConfigurationPropsMixin.
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.*;
CfnEnforcedGuardrailConfigurationMixinProps cfnEnforcedGuardrailConfigurationMixinProps = CfnEnforcedGuardrailConfigurationMixinProps.builder()
.guardrailIdentifier("guardrailIdentifier")
.guardrailVersion("guardrailVersion")
.modelEnforcement(ModelEnforcementProperty.builder()
.excludedModels(List.of("excludedModels"))
.includedModels(List.of("includedModels"))
.build())
.selectiveContentGuarding(SelectiveContentGuardingProperty.builder()
.messages("messages")
.system("system")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEnforcedGuardrailConfigurationMixinPropsstatic final classAn implementation forCfnEnforcedGuardrailConfigurationMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringIdentifier for the guardrail, could be the ID or the ARN.default StringNumerical guardrail version (not DRAFT).default ObjectModel-specific information for the enforced guardrail configuration.default ObjectSelective content guarding controls for enforced guardrails.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGuardrailIdentifier
Identifier for the guardrail, could be the ID or the ARN.- See Also:
-
getGuardrailVersion
Numerical guardrail version (not DRAFT).- See Also:
-
getModelEnforcement
Model-specific information for the enforced guardrail configuration.If not present, the configuration is enforced on all models
Returns union: either
IResolvableorCfnEnforcedGuardrailConfigurationPropsMixin.ModelEnforcementProperty- See Also:
-
getSelectiveContentGuarding
Selective content guarding controls for enforced guardrails.Returns union: either
IResolvableorCfnEnforcedGuardrailConfigurationPropsMixin.SelectiveContentGuardingProperty- See Also:
-
builder
-