Class: AWSCDK::Interfaces::AWSDatabrew::ScheduleReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSDatabrew::ScheduleReference
- Defined in:
- interfaces/aws_databrew/schedule_reference.rb
Overview
A reference to a Schedule resource.
Instance Attribute Summary collapse
-
#schedule_name ⇒ String
readonly
The Name of the Schedule resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(schedule_name:) ⇒ ScheduleReference
constructor
A new instance of ScheduleReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(schedule_name:) ⇒ ScheduleReference
Returns a new instance of ScheduleReference.
8 9 10 11 |
# File 'interfaces/aws_databrew/schedule_reference.rb', line 8 def initialize(schedule_name:) @schedule_name = schedule_name Jsii::Type.check_type(@schedule_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scheduleName") end |
Instance Attribute Details
#schedule_name ⇒ String (readonly)
The Name of the Schedule resource.
16 17 18 |
# File 'interfaces/aws_databrew/schedule_reference.rb', line 16 def schedule_name @schedule_name end |
Class Method Details
.jsii_properties ⇒ Object
18 19 20 21 22 |
# File 'interfaces/aws_databrew/schedule_reference.rb', line 18 def self.jsii_properties { :schedule_name => "scheduleName", } end |
Instance Method Details
#to_jsii ⇒ Object
24 25 26 27 28 29 30 |
# File 'interfaces/aws_databrew/schedule_reference.rb', line 24 def to_jsii result = {} result.merge!({ "scheduleName" => @schedule_name, }) result.compact end |