Class: AWSCDK::BedrockAgentCore::CfnMemory::StringValidationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnMemory::StringValidationProperty
- Defined in:
- bedrock_agent_core/cfn_memory.rb
Overview
Instance Attribute Summary collapse
- #allowed_values ⇒ Array<String> readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allowed_values:) ⇒ StringValidationProperty
constructor
A new instance of StringValidationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allowed_values:) ⇒ StringValidationProperty
Returns a new instance of StringValidationProperty.
2084 2085 2086 2087 |
# File 'bedrock_agent_core/cfn_memory.rb', line 2084 def initialize(allowed_values:) @allowed_values = allowed_values Jsii::Type.check_type(@allowed_values, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "allowedValues") end |
Instance Attribute Details
#allowed_values ⇒ Array<String> (readonly)
2091 2092 2093 |
# File 'bedrock_agent_core/cfn_memory.rb', line 2091 def allowed_values @allowed_values end |
Class Method Details
.jsii_properties ⇒ Object
2093 2094 2095 2096 2097 |
# File 'bedrock_agent_core/cfn_memory.rb', line 2093 def self.jsii_properties { :allowed_values => "allowedValues", } end |
Instance Method Details
#to_jsii ⇒ Object
2099 2100 2101 2102 2103 2104 2105 |
# File 'bedrock_agent_core/cfn_memory.rb', line 2099 def to_jsii result = {} result.merge!({ "allowedValues" => @allowed_values, }) result.compact end |