Interface CfnGuardrail.TopicPolicyConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGuardrail.TopicPolicyConfigProperty.Jsii$Proxy
- Enclosing class:
CfnGuardrail
@Stability(Stable)
public static interface CfnGuardrail.TopicPolicyConfigProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.bedrock.*;
TopicPolicyConfigProperty topicPolicyConfigProperty = TopicPolicyConfigProperty.builder()
.topicsConfig(List.of(TopicConfigProperty.builder()
.definition("definition")
.name("name")
.type("type")
// the properties below are optional
.examples(List.of("examples"))
.inputAction("inputAction")
.inputEnabled(false)
.outputAction("outputAction")
.outputEnabled(false)
.build()))
// the properties below are optional
.topicsTierConfig(TopicsTierConfigProperty.builder()
.tierName("tierName")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGuardrail.TopicPolicyConfigPropertystatic final classAn implementation forCfnGuardrail.TopicPolicyConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTopicsConfig
A list of policies related to topics that the guardrail should deny.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGuardrail.TopicConfigProperty>- See Also:
-
getTopicsTierConfig
The tier that your guardrail uses for denied topic filters.Returns union: either
IResolvableorCfnGuardrail.TopicsTierConfigProperty- See Also:
-
builder
-