Class: AWSCDK::DataZone::CfnConnection::RedshiftLineageSyncConfigurationInputProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnConnection::RedshiftLineageSyncConfigurationInputProperty
- Defined in:
- data_zone/cfn_connection.rb
Overview
The Amaon Redshift lineage sync configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean, ...
readonly
Specifies whether the Amaon Redshift lineage sync configuration is enabled.
-
#schedule ⇒ AWSCDK::IResolvable, ...
readonly
The schedule of the Amaon Redshift lineage sync configuration.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(enabled: nil, schedule: nil) ⇒ RedshiftLineageSyncConfigurationInputProperty
constructor
A new instance of RedshiftLineageSyncConfigurationInputProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(enabled: nil, schedule: nil) ⇒ RedshiftLineageSyncConfigurationInputProperty
Returns a new instance of RedshiftLineageSyncConfigurationInputProperty.
1816 1817 1818 1819 1820 1821 |
# File 'data_zone/cfn_connection.rb', line 1816 def initialize(enabled: nil, schedule: nil) @enabled = enabled Jsii::Type.check_type(@enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enabled") unless @enabled.nil? @schedule = schedule.is_a?(Hash) ? ::AWSCDK::DataZone::CfnConnection::LineageSyncScheduleProperty.new(**schedule.transform_keys(&:to_sym)) : schedule Jsii::Type.check_type(@schedule, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19kYXRhem9uZS5DZm5Db25uZWN0aW9uLkxpbmVhZ2VTeW5jU2NoZWR1bGVQcm9wZXJ0eSJ9XX19")), "schedule") unless @schedule.nil? end |
Instance Attribute Details
#enabled ⇒ Boolean, ... (readonly)
Specifies whether the Amaon Redshift lineage sync configuration is enabled.
1827 1828 1829 |
# File 'data_zone/cfn_connection.rb', line 1827 def enabled @enabled end |
#schedule ⇒ AWSCDK::IResolvable, ... (readonly)
The schedule of the Amaon Redshift lineage sync configuration.
1832 1833 1834 |
# File 'data_zone/cfn_connection.rb', line 1832 def schedule @schedule end |
Class Method Details
.jsii_properties ⇒ Object
1834 1835 1836 1837 1838 1839 |
# File 'data_zone/cfn_connection.rb', line 1834 def self.jsii_properties { :enabled => "enabled", :schedule => "schedule", } end |
Instance Method Details
#to_jsii ⇒ Object
1841 1842 1843 1844 1845 1846 1847 1848 |
# File 'data_zone/cfn_connection.rb', line 1841 def to_jsii result = {} result.merge!({ "enabled" => @enabled, "schedule" => @schedule, }) result.compact end |