interface SelectiveContentGuardingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.SelectiveContentGuardingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnEnforcedGuardrailConfigurationPropsMixin_SelectiveContentGuardingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.SelectiveContentGuardingProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.SelectiveContentGuardingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnEnforcedGuardrailConfigurationPropsMixin » 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/cfn-property-mixins';
const selectiveContentGuardingProperty: bedrock.CfnEnforcedGuardrailConfigurationPropsMixin.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