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 =
[:action, :description, :name, :pattern]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

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

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
5121
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5114

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

#descriptionString

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

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
5121
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5114

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

#nameString

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

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
5121
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5114

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

#patternString

The regular expression pattern to configure for the AI Guardrail.

Returns:

  • (String)


5114
5115
5116
5117
5118
5119
5120
5121
# File 'gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/types.rb', line 5114

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