Class: AWSCDK::IoTSiteWise::CfnDataset::SourceDetailProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
io_t_site_wise/cfn_dataset.rb

Overview

The details of the dataset source associated with the dataset.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(kendra: nil) ⇒ SourceDetailProperty

Returns a new instance of SourceDetailProperty.

Parameters:



689
690
691
692
# File 'io_t_site_wise/cfn_dataset.rb', line 689

def initialize(kendra: nil)
  @kendra = kendra.is_a?(Hash) ? ::AWSCDK::IoTSiteWise::CfnDataset::KendraSourceDetailProperty.new(**kendra.transform_keys(&:to_sym)) : kendra
  Jsii::Type.check_type(@kendra, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RzaXRld2lzZS5DZm5EYXRhc2V0LktlbmRyYVNvdXJjZURldGFpbFByb3BlcnR5In1dfX0=")), "kendra") unless @kendra.nil?
end

Instance Attribute Details

#kendraAWSCDK::IResolvable, ... (readonly)

Contains details about the Kendra dataset source.



698
699
700
# File 'io_t_site_wise/cfn_dataset.rb', line 698

def kendra
  @kendra
end

Class Method Details

.jsii_propertiesObject



700
701
702
703
704
# File 'io_t_site_wise/cfn_dataset.rb', line 700

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

Instance Method Details

#to_jsiiObject



706
707
708
709
710
711
712
# File 'io_t_site_wise/cfn_dataset.rb', line 706

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