Class: Aws::Bedrock::Types::GuardrailRegexConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrock/types.rb

Overview

The regular expression to configure for the guardrail.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The guardrail action to configure when matching regular expression is detected.

Returns:

  • (String)


3690
3691
3692
3693
3694
3695
3696
3697
# File 'lib/aws-sdk-bedrock/types.rb', line 3690

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

#descriptionString

The description of the regular expression to configure for the guardrail.

Returns:

  • (String)


3690
3691
3692
3693
3694
3695
3696
3697
# File 'lib/aws-sdk-bedrock/types.rb', line 3690

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

#nameString

The name of the regular expression to configure for the guardrail.

Returns:

  • (String)


3690
3691
3692
3693
3694
3695
3696
3697
# File 'lib/aws-sdk-bedrock/types.rb', line 3690

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

#patternString

The regular expression pattern to configure for the guardrail.

Returns:

  • (String)


3690
3691
3692
3693
3694
3695
3696
3697
# File 'lib/aws-sdk-bedrock/types.rb', line 3690

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