Uses of Enum
software.amazon.awscdk.services.bedrock.alpha.GuardrailAction
Packages that use GuardrailAction
-
Uses of GuardrailAction in software.amazon.awscdk.services.bedrock.alpha
Methods in software.amazon.awscdk.services.bedrock.alpha that return GuardrailActionModifier and TypeMethodDescriptiondefault GuardrailAction
ContextualGroundingFilter.getAction()
(experimental) The action to take when contextual grounding is detected.final GuardrailAction
ContextualGroundingFilter.Jsii$Proxy.getAction()
PIIFilter.getAction()
(experimental) The action to take when PII is detected.final GuardrailAction
PIIFilter.Jsii$Proxy.getAction()
RegexFilter.getAction()
(experimental) The action to take when a regex match is detected.final GuardrailAction
RegexFilter.Jsii$Proxy.getAction()
default GuardrailAction
ContentFilter.getInputAction()
(experimental) The action to take when content is detected in the input.final GuardrailAction
ContentFilter.Jsii$Proxy.getInputAction()
default GuardrailAction
CustomTopicProps.getInputAction()
(experimental) The action to take when a topic is detected in the input.final GuardrailAction
CustomTopicProps.Jsii$Proxy.getInputAction()
default GuardrailAction
ManagedWordFilter.getInputAction()
(experimental) The action to take when a managed word is detected in the input.final GuardrailAction
ManagedWordFilter.Jsii$Proxy.getInputAction()
default GuardrailAction
PIIFilter.getInputAction()
(experimental) The action to take when PII is detected in the input.final GuardrailAction
PIIFilter.Jsii$Proxy.getInputAction()
default GuardrailAction
RegexFilter.getInputAction()
(experimental) The action to take when a regex match is detected in the input.final GuardrailAction
RegexFilter.Jsii$Proxy.getInputAction()
Topic.getInputAction()
(experimental) The action to take when a topic is detected in the input.default GuardrailAction
WordFilter.getInputAction()
(experimental) The action to take when a word is detected in the input.final GuardrailAction
WordFilter.Jsii$Proxy.getInputAction()
default GuardrailAction
ContentFilter.getOutputAction()
(experimental) The action to take when content is detected in the output.final GuardrailAction
ContentFilter.Jsii$Proxy.getOutputAction()
default GuardrailAction
CustomTopicProps.getOutputAction()
(experimental) The action to take when a topic is detected in the output.final GuardrailAction
CustomTopicProps.Jsii$Proxy.getOutputAction()
default GuardrailAction
ManagedWordFilter.getOutputAction()
(experimental) The action to take when a managed word is detected in the output.final GuardrailAction
ManagedWordFilter.Jsii$Proxy.getOutputAction()
default GuardrailAction
PIIFilter.getOutputAction()
(experimental) The action to take when PII is detected in the output.final GuardrailAction
PIIFilter.Jsii$Proxy.getOutputAction()
default GuardrailAction
RegexFilter.getOutputAction()
(experimental) The action to take when a regex match is detected in the output.final GuardrailAction
RegexFilter.Jsii$Proxy.getOutputAction()
Topic.getOutputAction()
(experimental) The action to take when a topic is detected in the output.default GuardrailAction
WordFilter.getOutputAction()
(experimental) The action to take when a word is detected in the output.final GuardrailAction
WordFilter.Jsii$Proxy.getOutputAction()
static GuardrailAction
Returns the enum constant of this type with the specified name.static GuardrailAction[]
GuardrailAction.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in software.amazon.awscdk.services.bedrock.alpha with parameters of type GuardrailActionModifier and TypeMethodDescriptionContextualGroundingFilter.Builder.action
(GuardrailAction action) Sets the value ofContextualGroundingFilter.getAction()
PIIFilter.Builder.action
(GuardrailAction action) Sets the value ofPIIFilter.getAction()
RegexFilter.Builder.action
(GuardrailAction action) Sets the value ofRegexFilter.getAction()
void
Guardrail.addWordFilterFromFile
(String filePath, GuardrailAction inputAction) (experimental) Adds a word filter to the guardrail.void
Guardrail.addWordFilterFromFile
(String filePath, GuardrailAction inputAction, GuardrailAction outputAction) (experimental) Adds a word filter to the guardrail.void
Guardrail.addWordFilterFromFile
(String filePath, GuardrailAction inputAction, GuardrailAction outputAction, Boolean inputEnabled) (experimental) Adds a word filter to the guardrail.void
Guardrail.addWordFilterFromFile
(String filePath, GuardrailAction inputAction, GuardrailAction outputAction, Boolean inputEnabled, Boolean outputEnabled) (experimental) Adds a word filter to the guardrail.ContentFilter.Builder.inputAction
(GuardrailAction inputAction) Sets the value ofContentFilter.getInputAction()
CustomTopicProps.Builder.inputAction
(GuardrailAction inputAction) Sets the value ofCustomTopicProps.getInputAction()
ManagedWordFilter.Builder.inputAction
(GuardrailAction inputAction) Sets the value ofManagedWordFilter.getInputAction()
PIIFilter.Builder.inputAction
(GuardrailAction inputAction) Sets the value ofPIIFilter.getInputAction()
RegexFilter.Builder.inputAction
(GuardrailAction inputAction) Sets the value ofRegexFilter.getInputAction()
WordFilter.Builder.inputAction
(GuardrailAction inputAction) Sets the value ofWordFilter.getInputAction()
ContentFilter.Builder.outputAction
(GuardrailAction outputAction) Sets the value ofContentFilter.getOutputAction()
CustomTopicProps.Builder.outputAction
(GuardrailAction outputAction) Sets the value ofCustomTopicProps.getOutputAction()
ManagedWordFilter.Builder.outputAction
(GuardrailAction outputAction) Sets the value ofManagedWordFilter.getOutputAction()
PIIFilter.Builder.outputAction
(GuardrailAction outputAction) Sets the value ofPIIFilter.getOutputAction()
RegexFilter.Builder.outputAction
(GuardrailAction outputAction) Sets the value ofRegexFilter.getOutputAction()
WordFilter.Builder.outputAction
(GuardrailAction outputAction) Sets the value ofWordFilter.getOutputAction()