Class: AWSCDK::DataZone::CfnDataSource::ScheduleConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DataZone::CfnDataSource::ScheduleConfigurationProperty
- Defined in:
- data_zone/cfn_data_source.rb
Overview
The details of the schedule of the data source runs.
Instance Attribute Summary collapse
-
#schedule ⇒ String?
readonly
The schedule of the data source runs.
-
#timezone ⇒ String?
readonly
The timezone of the data source run.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(schedule: nil, timezone: nil) ⇒ ScheduleConfigurationProperty
constructor
A new instance of ScheduleConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(schedule: nil, timezone: nil) ⇒ ScheduleConfigurationProperty
Returns a new instance of ScheduleConfigurationProperty.
1293 1294 1295 1296 1297 1298 |
# File 'data_zone/cfn_data_source.rb', line 1293 def initialize(schedule: nil, timezone: nil) @schedule = schedule Jsii::Type.check_type(@schedule, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "schedule") unless @schedule.nil? @timezone = timezone Jsii::Type.check_type(@timezone, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timezone") unless @timezone.nil? end |
Instance Attribute Details
#schedule ⇒ String? (readonly)
The schedule of the data source runs.
1304 1305 1306 |
# File 'data_zone/cfn_data_source.rb', line 1304 def schedule @schedule end |
#timezone ⇒ String? (readonly)
The timezone of the data source run.
1309 1310 1311 |
# File 'data_zone/cfn_data_source.rb', line 1309 def timezone @timezone end |
Class Method Details
.jsii_properties ⇒ Object
1311 1312 1313 1314 1315 1316 |
# File 'data_zone/cfn_data_source.rb', line 1311 def self.jsii_properties { :schedule => "schedule", :timezone => "timezone", } end |
Instance Method Details
#to_jsii ⇒ Object
1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'data_zone/cfn_data_source.rb', line 1318 def to_jsii result = {} result.merge!({ "schedule" => @schedule, "timezone" => @timezone, }) result.compact end |