Class: AWSCDK::Bedrock::CfnGuardrail::ContentFiltersTierConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnGuardrail::ContentFiltersTierConfigProperty
- Defined in:
- bedrock/cfn_guardrail.rb
Overview
The tier that your guardrail uses for content filters.
Consider using a tier that balances performance, accuracy, and compatibility with your existing generative AI workflows.
Instance Attribute Summary collapse
-
#tier_name ⇒ String
readonly
The tier that your guardrail uses for content filters.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(tier_name:) ⇒ ContentFiltersTierConfigProperty
constructor
A new instance of ContentFiltersTierConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(tier_name:) ⇒ ContentFiltersTierConfigProperty
Returns a new instance of ContentFiltersTierConfigProperty.
937 938 939 940 |
# File 'bedrock/cfn_guardrail.rb', line 937 def initialize(tier_name:) @tier_name = tier_name Jsii::Type.check_type(@tier_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tierName") end |
Instance Attribute Details
#tier_name ⇒ String (readonly)
The tier that your guardrail uses for content filters. Valid values include:.
CLASSICtier – Provides established guardrails functionality supporting English, French, and Spanish languages.STANDARDtier – Provides a more robust solution than theCLASSICtier and has more comprehensive language support. This tier requires that your guardrail use cross-Region inference .
949 950 951 |
# File 'bedrock/cfn_guardrail.rb', line 949 def tier_name @tier_name end |
Class Method Details
.jsii_properties ⇒ Object
951 952 953 954 955 |
# File 'bedrock/cfn_guardrail.rb', line 951 def self.jsii_properties { :tier_name => "tierName", } end |
Instance Method Details
#to_jsii ⇒ Object
957 958 959 960 961 962 963 |
# File 'bedrock/cfn_guardrail.rb', line 957 def to_jsii result = {} result.merge!({ "tierName" => @tier_name, }) result.compact end |