interface ModelEnforcementProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnEnforcedGuardrailConfiguration_ModelEnforcementProperty |
Java | software.amazon.awscdk.services.bedrock.CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty |
Python | aws_cdk.aws_bedrock.CfnEnforcedGuardrailConfiguration.ModelEnforcementProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnEnforcedGuardrailConfiguration » 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-lib';
const modelEnforcementProperty: bedrock.CfnEnforcedGuardrailConfiguration.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[]
Models to exclude from enforcement.
If a model is in both lists, it is excluded
includedModels
Type:
string[]
Models to enforce the guardrail on.

.NET
Go
Java
Python
TypeScript