interface TopicPolicyConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_bedrock.CfnGuardrail.TopicPolicyConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnGuardrail_TopicPolicyConfigProperty |
Java | software.amazon.awscdk.services.bedrock.CfnGuardrail.TopicPolicyConfigProperty |
Python | aws_cdk.aws_bedrock.CfnGuardrail.TopicPolicyConfigProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnGuardrail » TopicPolicyConfigProperty |
Contains details about topics that the guardrail should identify and deny.
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 topicPolicyConfigProperty: bedrock.CfnGuardrail.TopicPolicyConfigProperty = {
topicsConfig: [{
definition: 'definition',
name: 'name',
type: 'type',
// the properties below are optional
examples: ['examples'],
inputAction: 'inputAction',
inputEnabled: false,
outputAction: 'outputAction',
outputEnabled: false,
}],
// the properties below are optional
topicsTierConfig: {
tierName: 'tierName',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| topics | IResolvable | (IResolvable | Topic)[] | A list of policies related to topics that the guardrail should deny. |
| topics | IResolvable | Topics | The tier that your guardrail uses for denied topic filters. |
topicsConfig
Type:
IResolvable | (IResolvable | Topic)[]
A list of policies related to topics that the guardrail should deny.
topicsTierConfig?
Type:
IResolvable | Topics
(optional)
The tier that your guardrail uses for denied topic filters.

.NET
Go
Java
Python
TypeScript