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