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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

#actionString

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

Returns:

  • (String)


5763
5764
5765
5766
5767
5768
5769
5770
# File 'lib/aws-sdk-qconnect/types.rb', line 5763

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

#descriptionString

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

Returns:

  • (String)


5763
5764
5765
5766
5767
5768
5769
5770
# File 'lib/aws-sdk-qconnect/types.rb', line 5763

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

#nameString

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

Returns:

  • (String)


5763
5764
5765
5766
5767
5768
5769
5770
# File 'lib/aws-sdk-qconnect/types.rb', line 5763

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

#patternString

The regular expression pattern to configure for the AI Guardrail.

Returns:

  • (String)


5763
5764
5765
5766
5767
5768
5769
5770
# File 'lib/aws-sdk-qconnect/types.rb', line 5763

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