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