Class: AWSCDK::IoTAnalytics::CfnDataset::DatasetContentDeliveryRuleProperty

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

Overview

When dataset contents are created, they are delivered to destination specified here.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(destination:, entry_name: nil) ⇒ DatasetContentDeliveryRuleProperty

Returns a new instance of DatasetContentDeliveryRuleProperty.

Parameters:



791
792
793
794
795
796
# File 'io_t_analytics/cfn_dataset.rb', line 791

def initialize(destination:, entry_name: nil)
  @destination = destination.is_a?(Hash) ? ::AWSCDK::IoTAnalytics::CfnDataset::DatasetContentDeliveryRuleDestinationProperty.new(**destination.transform_keys(&:to_sym)) : destination
  Jsii::Type.check_type(@destination, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19pb3RhbmFseXRpY3MuQ2ZuRGF0YXNldC5EYXRhc2V0Q29udGVudERlbGl2ZXJ5UnVsZURlc3RpbmF0aW9uUHJvcGVydHkifV19fQ==")), "destination")
  @entry_name = entry_name
  Jsii::Type.check_type(@entry_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "entryName") unless @entry_name.nil?
end

Instance Attribute Details

#entry_nameString? (readonly)

The name of the dataset content delivery rules entry.



807
808
809
# File 'io_t_analytics/cfn_dataset.rb', line 807

def entry_name
  @entry_name
end

Class Method Details

.jsii_propertiesObject



809
810
811
812
813
814
# File 'io_t_analytics/cfn_dataset.rb', line 809

def self.jsii_properties
  {
    :destination => "destination",
    :entry_name => "entryName",
  }
end

Instance Method Details

#to_jsiiObject



816
817
818
819
820
821
822
823
# File 'io_t_analytics/cfn_dataset.rb', line 816

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