Class: AWSCDK::Glue::CfnTable::ViewDefinitionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnTable::ViewDefinitionProperty
- Defined in:
- glue/cfn_table.rb
Overview
Instance Attribute Summary collapse
- #definer ⇒ String? readonly
- #is_protected ⇒ Boolean, ... readonly
- #representations ⇒ AWSCDK::IResolvable, ... readonly
- #sub_objects ⇒ Array<String>? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(definer: nil, is_protected: nil, representations: nil, sub_objects: nil) ⇒ ViewDefinitionProperty
constructor
A new instance of ViewDefinitionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(definer: nil, is_protected: nil, representations: nil, sub_objects: nil) ⇒ ViewDefinitionProperty
Returns a new instance of ViewDefinitionProperty.
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 |
# File 'glue/cfn_table.rb', line 1699 def initialize(definer: nil, is_protected: nil, representations: nil, sub_objects: nil) @definer = definer Jsii::Type.check_type(@definer, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "definer") unless @definer.nil? @is_protected = is_protected Jsii::Type.check_type(@is_protected, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "isProtected") unless @is_protected.nil? @representations = representations Jsii::Type.check_type(@representations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZ2x1ZS5DZm5UYWJsZS5WaWV3UmVwcmVzZW50YXRpb25Qcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "representations") unless @representations.nil? @sub_objects = sub_objects Jsii::Type.check_type(@sub_objects, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "subObjects") unless @sub_objects.nil? end |
Instance Attribute Details
#definer ⇒ String? (readonly)
1712 1713 1714 |
# File 'glue/cfn_table.rb', line 1712 def definer @definer end |
#is_protected ⇒ Boolean, ... (readonly)
1715 1716 1717 |
# File 'glue/cfn_table.rb', line 1715 def is_protected @is_protected end |
#representations ⇒ AWSCDK::IResolvable, ... (readonly)
1718 1719 1720 |
# File 'glue/cfn_table.rb', line 1718 def representations @representations end |
#sub_objects ⇒ Array<String>? (readonly)
1721 1722 1723 |
# File 'glue/cfn_table.rb', line 1721 def sub_objects @sub_objects end |
Class Method Details
.jsii_properties ⇒ Object
1723 1724 1725 1726 1727 1728 1729 1730 |
# File 'glue/cfn_table.rb', line 1723 def self.jsii_properties { :definer => "definer", :is_protected => "isProtected", :representations => "representations", :sub_objects => "subObjects", } end |
Instance Method Details
#to_jsii ⇒ Object
1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 |
# File 'glue/cfn_table.rb', line 1732 def to_jsii result = {} result.merge!({ "definer" => @definer, "isProtected" => @is_protected, "representations" => @representations, "subObjects" => @sub_objects, }) result.compact end |