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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/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)


1913
1914
1915
1916
1917
1918
1919
1920
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1913

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)


1913
1914
1915
1916
1917
1918
1919
1920
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1913

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)


1913
1914
1915
1916
1917
1918
1919
1920
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1913

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)


1913
1914
1915
1916
1917
1918
1919
1920
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 1913

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