Class: AWSCDK::Glue::CfnDatabase::FederatedDatabaseProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Glue::CfnDatabase::FederatedDatabaseProperty
- Defined in:
- glue/cfn_database.rb
Overview
A FederatedDatabase structure that references an entity outside the AWS Glue Data Catalog .
Instance Attribute Summary collapse
-
#connection_name ⇒ String?
readonly
The name of the connection to the external metastore.
-
#identifier ⇒ String?
readonly
A unique identifier for the federated database.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(connection_name: nil, identifier: nil) ⇒ FederatedDatabaseProperty
constructor
A new instance of FederatedDatabaseProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(connection_name: nil, identifier: nil) ⇒ FederatedDatabaseProperty
Returns a new instance of FederatedDatabaseProperty.
725 726 727 728 729 730 |
# File 'glue/cfn_database.rb', line 725 def initialize(connection_name: nil, identifier: nil) @connection_name = connection_name Jsii::Type.check_type(@connection_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionName") unless @connection_name.nil? @identifier = identifier Jsii::Type.check_type(@identifier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "identifier") unless @identifier.nil? end |
Instance Attribute Details
#connection_name ⇒ String? (readonly)
The name of the connection to the external metastore.
736 737 738 |
# File 'glue/cfn_database.rb', line 736 def connection_name @connection_name end |
#identifier ⇒ String? (readonly)
A unique identifier for the federated database.
741 742 743 |
# File 'glue/cfn_database.rb', line 741 def identifier @identifier end |
Class Method Details
.jsii_properties ⇒ Object
743 744 745 746 747 748 |
# File 'glue/cfn_database.rb', line 743 def self.jsii_properties { :connection_name => "connectionName", :identifier => "identifier", } end |
Instance Method Details
#to_jsii ⇒ Object
750 751 752 753 754 755 756 757 |
# File 'glue/cfn_database.rb', line 750 def to_jsii result = {} result.merge!({ "connectionName" => @connection_name, "identifier" => @identifier, }) result.compact end |