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