Class: AWSCDK::LakeFormation::CfnTagAssociation::DatabaseResourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
lake_formation/cfn_tag_association.rb

Overview

A structure for the database object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalog_id:, name:) ⇒ DatabaseResourceProperty

Returns a new instance of DatabaseResourceProperty.

Parameters:

  • catalog_id (String)

    The identifier for the Data Catalog .

  • name (String)

    The name of the database resource.



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_idString (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

#nameString (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_propertiesObject



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_jsiiObject



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