interface GuardrailTopicConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Wisdom.CfnAIGuardrail.GuardrailTopicConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awswisdom#CfnAIGuardrail_GuardrailTopicConfigProperty |
Java | software.amazon.awscdk.services.wisdom.CfnAIGuardrail.GuardrailTopicConfigProperty |
Python | aws_cdk.aws_wisdom.CfnAIGuardrail.GuardrailTopicConfigProperty |
TypeScript | aws-cdk-lib » aws_wisdom » CfnAIGuardrail » GuardrailTopicConfigProperty |
Topic configuration in topic policy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const guardrailTopicConfigProperty: wisdom.CfnAIGuardrail.GuardrailTopicConfigProperty = {
definition: 'definition',
name: 'name',
type: 'type',
// the properties below are optional
examples: ['examples'],
};
Properties
| Name | Type | Description |
|---|---|---|
| definition | string | Definition of topic in topic policy. |
| name | string | Name of topic in topic policy. |
| type | string | Type of topic in a policy. |
| examples? | string[] | Text example in topic policy. |
definition
Type:
string
Definition of topic in topic policy.
name
Type:
string
Name of topic in topic policy.
type
Type:
string
Type of topic in a policy.
examples?
Type:
string[]
(optional)
Text example in topic policy.

.NET
Go
Java
Python
TypeScript