interface ModelEnforcementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.ModelEnforcementProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnEnforcedGuardrailConfigurationPropsMixin_ModelEnforcementProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.ModelEnforcementProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.ModelEnforcementProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnEnforcedGuardrailConfigurationPropsMixin » ModelEnforcementProperty |
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 { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const modelEnforcementProperty: bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.ModelEnforcementProperty = {
excludedModels: ['excludedModels'],
includedModels: ['includedModels'],
};
Properties
| Name | Type | Description |
|---|---|---|
| excluded | string[] | Models to exclude from enforcement. |
| included | string[] | Models to enforce the guardrail on. |
excludedModels?
Type:
string[]
(optional)
Models to exclude from enforcement.
If a model is in both lists, it is excluded
includedModels?
Type:
string[]
(optional)
Models to enforce the guardrail on.

.NET
Go
Java
Python
TypeScript