Class: AWSCDK::Wisdom::CfnAIGuardrail::GuardrailManagedWordsConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Wisdom::CfnAIGuardrail::GuardrailManagedWordsConfigProperty
- Defined in:
- wisdom/cfn_ai_guardrail.rb
Overview
A managed words config.
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
The type of guardrail managed words.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:) ⇒ GuardrailManagedWordsConfigProperty
constructor
A new instance of GuardrailManagedWordsConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:) ⇒ GuardrailManagedWordsConfigProperty
Returns a new instance of GuardrailManagedWordsConfigProperty.
955 956 957 958 |
# File 'wisdom/cfn_ai_guardrail.rb', line 955 def initialize(type:) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#type ⇒ String (readonly)
The type of guardrail managed words.
964 965 966 |
# File 'wisdom/cfn_ai_guardrail.rb', line 964 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
966 967 968 969 970 |
# File 'wisdom/cfn_ai_guardrail.rb', line 966 def self.jsii_properties { :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
972 973 974 975 976 977 978 |
# File 'wisdom/cfn_ai_guardrail.rb', line 972 def to_jsii result = {} result.merge!({ "type" => @type, }) result.compact end |