Class: AWSCDK::LakeFormation::CfnTagAssociation::DatabaseResourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::LakeFormation::CfnTagAssociation::DatabaseResourceProperty
- Defined in:
- lake_formation/cfn_tag_association.rb
Overview
A structure for the database object.
Instance Attribute Summary collapse
-
#catalog_id ⇒ String
readonly
The identifier for the Data Catalog .
-
#name ⇒ String
readonly
The name of the database resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(catalog_id:, name:) ⇒ DatabaseResourceProperty
constructor
A new instance of DatabaseResourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(catalog_id:, name:) ⇒ DatabaseResourceProperty
Returns a new instance of DatabaseResourceProperty.
532 533 534 535 536 537 |
# File 'lake_formation/cfn_tag_association.rb', line 532 def initialize(catalog_id:, name:) @catalog_id = catalog_id Jsii::Type.check_type(@catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogId") @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") end |
Instance Attribute Details
#catalog_id ⇒ String (readonly)
The identifier for the Data Catalog .
By default, it should be the account ID of the caller.
545 546 547 |
# File 'lake_formation/cfn_tag_association.rb', line 545 def catalog_id @catalog_id end |
#name ⇒ String (readonly)
The name of the database resource.
Unique to the Data Catalog.
552 553 554 |
# File 'lake_formation/cfn_tag_association.rb', line 552 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
554 555 556 557 558 559 |
# File 'lake_formation/cfn_tag_association.rb', line 554 def self.jsii_properties { :catalog_id => "catalogId", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
561 562 563 564 565 566 567 568 |
# File 'lake_formation/cfn_tag_association.rb', line 561 def to_jsii result = {} result.merge!({ "catalogId" => @catalog_id, "name" => @name, }) result.compact end |