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 GuardrailActionContextualGroundingFilter.getAction()(experimental) The action to take when contextual grounding is detected.final GuardrailActionContextualGroundingFilter.Jsii$Proxy.getAction()PIIFilter.getAction()(experimental) The action to take when PII is detected.final GuardrailActionPIIFilter.Jsii$Proxy.getAction()RegexFilter.getAction()(experimental) The action to take when a regex match is detected.final GuardrailActionRegexFilter.Jsii$Proxy.getAction()default GuardrailActionContentFilter.getInputAction()(experimental) The action to take when content is detected in the input.final GuardrailActionContentFilter.Jsii$Proxy.getInputAction()default GuardrailActionCustomTopicProps.getInputAction()(experimental) The action to take when a topic is detected in the input.final GuardrailActionCustomTopicProps.Jsii$Proxy.getInputAction()default GuardrailActionManagedWordFilter.getInputAction()(experimental) The action to take when a managed word is detected in the input.final GuardrailActionManagedWordFilter.Jsii$Proxy.getInputAction()default GuardrailActionPIIFilter.getInputAction()(experimental) The action to take when PII is detected in the input.final GuardrailActionPIIFilter.Jsii$Proxy.getInputAction()default GuardrailActionRegexFilter.getInputAction()(experimental) The action to take when a regex match is detected in the input.final GuardrailActionRegexFilter.Jsii$Proxy.getInputAction()Topic.getInputAction()(experimental) The action to take when a topic is detected in the input.default GuardrailActionWordFilter.getInputAction()(experimental) The action to take when a word is detected in the input.final GuardrailActionWordFilter.Jsii$Proxy.getInputAction()default GuardrailActionContentFilter.getOutputAction()(experimental) The action to take when content is detected in the output.final GuardrailActionContentFilter.Jsii$Proxy.getOutputAction()default GuardrailActionCustomTopicProps.getOutputAction()(experimental) The action to take when a topic is detected in the output.final GuardrailActionCustomTopicProps.Jsii$Proxy.getOutputAction()default GuardrailActionManagedWordFilter.getOutputAction()(experimental) The action to take when a managed word is detected in the output.final GuardrailActionManagedWordFilter.Jsii$Proxy.getOutputAction()default GuardrailActionPIIFilter.getOutputAction()(experimental) The action to take when PII is detected in the output.final GuardrailActionPIIFilter.Jsii$Proxy.getOutputAction()default GuardrailActionRegexFilter.getOutputAction()(experimental) The action to take when a regex match is detected in the output.final GuardrailActionRegexFilter.Jsii$Proxy.getOutputAction()Topic.getOutputAction()(experimental) The action to take when a topic is detected in the output.default GuardrailActionWordFilter.getOutputAction()(experimental) The action to take when a word is detected in the output.final GuardrailActionWordFilter.Jsii$Proxy.getOutputAction()static GuardrailActionReturns 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()voidGuardrail.addWordFilterFromFile(String filePath, GuardrailAction inputAction) (experimental) Adds a word filter to the guardrail.voidGuardrail.addWordFilterFromFile(String filePath, GuardrailAction inputAction, GuardrailAction outputAction) (experimental) Adds a word filter to the guardrail.voidGuardrail.addWordFilterFromFile(String filePath, GuardrailAction inputAction, GuardrailAction outputAction, Boolean inputEnabled) (experimental) Adds a word filter to the guardrail.voidGuardrail.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()