Class: AWSCDK::Glue::CfnTable::ViewDefinitionProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
glue/cfn_table.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(definer: nil, is_protected: nil, representations: nil, sub_objects: nil) ⇒ ViewDefinitionProperty

Returns a new instance of ViewDefinitionProperty.

Parameters:



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

#definerString? (readonly)



1712
1713
1714
# File 'glue/cfn_table.rb', line 1712

def definer
  @definer
end

#is_protectedBoolean, ... (readonly)



1715
1716
1717
# File 'glue/cfn_table.rb', line 1715

def is_protected
  @is_protected
end

#sub_objectsArray<String>? (readonly)



1721
1722
1723
# File 'glue/cfn_table.rb', line 1721

def sub_objects
  @sub_objects
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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