Class: AWSCDK::Kendra::CfnDataSource::TemplateConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(template:) ⇒ TemplateConfigurationProperty

Returns a new instance of TemplateConfigurationProperty.

Parameters:

  • template (String)

    The template schema used for the data source, where templates schemas are supported.



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

#templateString (readonly)

The template schema used for the data source, where templates schemas are supported.

See Data source template schemas .



3676
3677
3678
# File 'kendra/cfn_data_source.rb', line 3676

def template
  @template
end

Class Method Details

.jsii_propertiesObject



3678
3679
3680
3681
3682
# File 'kendra/cfn_data_source.rb', line 3678

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

Instance Method Details

#to_jsiiObject



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