interface GuardrailContentFilterConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Wisdom.Mixins.CfnAIGuardrailPropsMixin.GuardrailContentFilterConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awswisdom/mixins#CfnAIGuardrailPropsMixin_GuardrailContentFilterConfigProperty |
Java | software.amazon.awscdk.mixins.preview.services.wisdom.mixins.CfnAIGuardrailPropsMixin.GuardrailContentFilterConfigProperty |
Python | aws_cdk.mixins_preview.aws_wisdom.mixins.CfnAIGuardrailPropsMixin.GuardrailContentFilterConfigProperty |
TypeScript | @aws-cdk/mixins-preview » aws_wisdom » mixins » CfnAIGuardrailPropsMixin » GuardrailContentFilterConfigProperty |
Content filter configuration in content policy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as wisdom_mixins } from '@aws-cdk/mixins-preview/aws-wisdom';
const guardrailContentFilterConfigProperty: wisdom_mixins.CfnAIGuardrailPropsMixin.GuardrailContentFilterConfigProperty = {
inputStrength: 'inputStrength',
outputStrength: 'outputStrength',
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| input | string | The strength of the input for the guardrail content filter. |
| output | string | The output strength of the guardrail content filter. |
| type? | string | The type of the guardrail content filter. |
inputStrength?
Type:
string
(optional)
The strength of the input for the guardrail content filter.
outputStrength?
Type:
string
(optional)
The output strength of the guardrail content filter.
type?
Type:
string
(optional)
The type of the guardrail content filter.

.NET
Go
Java
Python
TypeScript