Class: AWSCDK::Kendra::CfnDataSource::TemplateConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Kendra::CfnDataSource::TemplateConfigurationProperty
- Defined in:
- kendra/cfn_data_source.rb
Overview
Provides a template for the configuration information to connect to your data source.
Instance Attribute Summary collapse
-
#template ⇒ String
readonly
The template schema used for the data source, where templates schemas are supported.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(template:) ⇒ TemplateConfigurationProperty
constructor
A new instance of TemplateConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(template:) ⇒ TemplateConfigurationProperty
Returns a new instance of TemplateConfigurationProperty.
3665 3666 3667 3668 |
# File 'kendra/cfn_data_source.rb', line 3665 def initialize(template:) @template = template Jsii::Type.check_type(@template, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "template") end |
Instance Attribute Details
#template ⇒ String (readonly)
The template schema used for the data source, where templates schemas are supported.
3676 3677 3678 |
# File 'kendra/cfn_data_source.rb', line 3676 def template @template end |
Class Method Details
.jsii_properties ⇒ Object
3678 3679 3680 3681 3682 |
# File 'kendra/cfn_data_source.rb', line 3678 def self.jsii_properties { :template => "template", } end |
Instance Method Details
#to_jsii ⇒ Object
3684 3685 3686 3687 3688 3689 3690 |
# File 'kendra/cfn_data_source.rb', line 3684 def to_jsii result = {} result.merge!({ "template" => @template, }) result.compact end |