interface CfnEnforcedGuardrailConfigurationMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnEnforcedGuardrailConfigurationMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnEnforcedGuardrailConfigurationMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnEnforcedGuardrailConfigurationMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnEnforcedGuardrailConfigurationMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnEnforcedGuardrailConfigurationMixinProps |
Properties for CfnEnforcedGuardrailConfigurationPropsMixin.
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 cfnEnforcedGuardrailConfigurationMixinProps: bedrock.CfnEnforcedGuardrailConfigurationMixinProps = {
guardrailIdentifier: 'guardrailIdentifier',
guardrailVersion: 'guardrailVersion',
modelEnforcement: {
excludedModels: ['excludedModels'],
includedModels: ['includedModels'],
},
selectiveContentGuarding: {
messages: 'messages',
system: 'system',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| guardrail | string | Identifier for the guardrail, could be the ID or the ARN. |
| guardrail | string | Numerical guardrail version (not DRAFT). |
| model | IResolvable | Model | Model-specific information for the enforced guardrail configuration. |
| selective | IResolvable | Selective | Selective content guarding controls for enforced guardrails. |
guardrailIdentifier?
Type:
string
(optional)
Identifier for the guardrail, could be the ID or the ARN.
guardrailVersion?
Type:
string
(optional)
Numerical guardrail version (not DRAFT).
modelEnforcement?
Type:
IResolvable | Model
(optional)
Model-specific information for the enforced guardrail configuration.
If not present, the configuration is enforced on all models
selectiveContentGuarding?
Type:
IResolvable | Selective
(optional)
Selective content guarding controls for enforced guardrails.

.NET
Go
Java
Python
TypeScript