Interface CfnAIGuardrail.AIGuardrailTopicPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAIGuardrail.AIGuardrailTopicPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnAIGuardrail
@Stability(Stable)
public static interface CfnAIGuardrail.AIGuardrailTopicPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
Topic policy configuration for a guardrail.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.wisdom.*;
AIGuardrailTopicPolicyConfigProperty aIGuardrailTopicPolicyConfigProperty = AIGuardrailTopicPolicyConfigProperty.builder()
.topicsConfig(List.of(GuardrailTopicConfigProperty.builder()
.definition("definition")
.name("name")
.type("type")
// the properties below are optional
.examples(List.of("examples"))
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAIGuardrail.AIGuardrailTopicPolicyConfigPropertystatic final classAn implementation forCfnAIGuardrail.AIGuardrailTopicPolicyConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopicsConfig
List of topic configs in topic policy.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAIGuardrail.GuardrailTopicConfigProperty>- See Also:
-
builder
-