Class: Aws::QConnect::Types::GuardrailRegexConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb

Overview

The regular expression to configure for the AI Guardrail.

Constant Summary collapse

SENSITIVE =
[:name, :description, :pattern, :action]

Instance Attribute Summary collapse

Instance Attribute Details

#action ⇒ String

The AI Guardrail action to configure when matching regular expression is detected.

Returns:

  • (String)


6033
6034
6035
6036
6037
6038
6039
6040
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 6033

class GuardrailRegexConfig < Struct.new(
  :name,
  :description,
  :pattern,
  :action)
  SENSITIVE = [:name, :description, :pattern, :action]
  include Aws::Structure
end

#description ⇒ String

The description of the regular expression to configure for the AI Guardrail.

Returns:

  • (String)


6033
6034
6035
6036
6037
6038
6039
6040
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 6033

class GuardrailRegexConfig < Struct.new(
  :name,
  :description,
  :pattern,
  :action)
  SENSITIVE = [:name, :description, :pattern, :action]
  include Aws::Structure
end

#name ⇒ String

The name of the regular expression to configure for the AI Guardrail.

Returns:

  • (String)


6033
6034
6035
6036
6037
6038
6039
6040
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 6033

class GuardrailRegexConfig < Struct.new(
  :name,
  :description,
  :pattern,
  :action)
  SENSITIVE = [:name, :description, :pattern, :action]
  include Aws::Structure
end

#pattern ⇒ String

The regular expression pattern to configure for the AI Guardrail.

Returns:

  • (String)


6033
6034
6035
6036
6037
6038
6039
6040
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 6033

class GuardrailRegexConfig < Struct.new(
  :name,
  :description,
  :pattern,
  :action)
  SENSITIVE = [:name, :description, :pattern, :action]
  include Aws::Structure
end