Class: AWSCDK::IoTAnalytics::CfnDataset::DatasetContentDeliveryRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::IoTAnalytics::CfnDataset::DatasetContentDeliveryRuleProperty
- 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
-
#destination ⇒ AWSCDK::IResolvable, AWSCDK::IoTAnalytics::CfnDataset::DatasetContentDeliveryRuleDestinationProperty
readonly
The destination to which dataset contents are delivered.
-
#entry_name ⇒ String?
readonly
The name of the dataset content delivery rules entry.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination:, entry_name: nil) ⇒ DatasetContentDeliveryRuleProperty
constructor
A new instance of DatasetContentDeliveryRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination:, entry_name: nil) ⇒ DatasetContentDeliveryRuleProperty
Returns a new instance of DatasetContentDeliveryRuleProperty.
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
#destination ⇒ AWSCDK::IResolvable, AWSCDK::IoTAnalytics::CfnDataset::DatasetContentDeliveryRuleDestinationProperty (readonly)
The destination to which dataset contents are delivered.
802 803 804 |
# File 'io_t_analytics/cfn_dataset.rb', line 802 def destination @destination end |
#entry_name ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |