Class: AWSCDK::BedrockAgentCore::CfnMemory::ContentConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock_agent_core/cfn_memory.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, level: nil) ⇒ ContentConfigurationProperty

Returns a new instance of ContentConfigurationProperty.

Parameters:

  • type (String)

    The type of content to deliver.

  • level (String, nil) (defaults to: nil)

    The level of content detail to deliver.



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

#levelString? (readonly)

The level of content detail to deliver.



674
675
676
# File 'bedrock_agent_core/cfn_memory.rb', line 674

def level
  @level
end

#typeString (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_propertiesObject



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_jsiiObject



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