Class: AWSCDK::BedrockAgentCore::CfnCodeInterpreterCustom::CertificateProperty

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

Overview

A root CA certificate configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(certificate_location:) ⇒ CertificateProperty

Returns a new instance of CertificateProperty.

Parameters:



687
688
689
690
# File 'bedrock_agent_core/cfn_code_interpreter_custom.rb', line 687

def initialize(certificate_location:)
  @certificate_location = certificate_location.is_a?(Hash) ? ::AWSCDK::BedrockAgentCore::CfnCodeInterpreterCustom::CertificateLocationProperty.new(**certificate_location.transform_keys(&:to_sym)) : certificate_location
  Jsii::Type.check_type(@certificate_location, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iZWRyb2NrYWdlbnRjb3JlLkNmbkNvZGVJbnRlcnByZXRlckN1c3RvbS5DZXJ0aWZpY2F0ZUxvY2F0aW9uUHJvcGVydHkifV19fQ==")), "certificateLocation")
end

Class Method Details

.jsii_propertiesObject



698
699
700
701
702
# File 'bedrock_agent_core/cfn_code_interpreter_custom.rb', line 698

def self.jsii_properties
  {
    :certificate_location => "certificateLocation",
  }
end

Instance Method Details

#to_jsiiObject



704
705
706
707
708
709
710
# File 'bedrock_agent_core/cfn_code_interpreter_custom.rb', line 704

def to_jsii
  result = {}
  result.merge!({
    "certificateLocation" => @certificate_location,
  })
  result.compact
end