Class: AWSCDK::BedrockAgentCore::CfnMemory::ContentConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::BedrockAgentCore::CfnMemory::ContentConfigurationProperty
- Defined in:
- bedrock_agent_core/cfn_memory.rb
Overview
Instance Attribute Summary collapse
-
#level ⇒ String?
readonly
The level of content detail to deliver.
-
#type ⇒ String
readonly
The type of content to deliver.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(type:, level: nil) ⇒ ContentConfigurationProperty
constructor
A new instance of ContentConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(type:, level: nil) ⇒ ContentConfigurationProperty
Returns a new instance of ContentConfigurationProperty.
658 659 660 661 662 663 |
# File 'bedrock_agent_core/cfn_memory.rb', line 658 def initialize(type:, level: nil) @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") @level = level Jsii::Type.check_type(@level, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "level") unless @level.nil? end |
Instance Attribute Details
#level ⇒ String? (readonly)
The level of content detail to deliver.
674 675 676 |
# File 'bedrock_agent_core/cfn_memory.rb', line 674 def level @level end |
#type ⇒ String (readonly)
The type of content to deliver.
669 670 671 |
# File 'bedrock_agent_core/cfn_memory.rb', line 669 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
676 677 678 679 680 681 |
# File 'bedrock_agent_core/cfn_memory.rb', line 676 def self.jsii_properties { :type => "type", :level => "level", } end |
Instance Method Details
#to_jsii ⇒ Object
683 684 685 686 687 688 689 690 |
# File 'bedrock_agent_core/cfn_memory.rb', line 683 def to_jsii result = {} result.merge!({ "type" => @type, "level" => @level, }) result.compact end |