interface SelectiveContentGuardingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnEnforcedGuardrailConfiguration.SelectiveContentGuardingProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnEnforcedGuardrailConfiguration_SelectiveContentGuardingProperty |
Java | software.amazon.awscdk.services.bedrock.CfnEnforcedGuardrailConfiguration.SelectiveContentGuardingProperty |
Python | aws_cdk.aws_bedrock.CfnEnforcedGuardrailConfiguration.SelectiveContentGuardingProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnEnforcedGuardrailConfiguration » SelectiveContentGuardingProperty |
Selective content guarding controls for enforced guardrails.
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 selectiveContentGuardingProperty: bedrock.CfnEnforcedGuardrailConfiguration.SelectiveContentGuardingProperty = {
messages: 'messages',
system: 'system',
};
Properties
| Name | Type | Description |
|---|---|---|
| messages? | string | Selective guarding mode for user messages. |
| system? | string | Selective guarding mode for system prompts. |
messages?
Type:
string
(optional)
Selective guarding mode for user messages.
system?
Type:
string
(optional)
Selective guarding mode for system prompts.

.NET
Go
Java
Python
TypeScript