Class: AWSCDK::LakeFormation::CfnPrincipalPermissions::DataCellsFilterResourceProperty

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

Overview

A structure that describes certain columns on certain rows.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(database_name:, name:, table_catalog_id:, table_name:) ⇒ DataCellsFilterResourceProperty

Returns a new instance of DataCellsFilterResourceProperty.

Parameters:

  • database_name (String)

    A database in the Data Catalog .

  • name (String)

    The name given by the user to the data filter cell.

  • table_catalog_id (String)

    The ID of the catalog to which the table belongs.

  • table_name (String)

    The name of the table.



606
607
608
609
610
611
612
613
614
615
# File 'lake_formation/cfn_principal_permissions.rb', line 606

def initialize(database_name:, name:, table_catalog_id:, table_name:)
  @database_name = database_name
  Jsii::Type.check_type(@database_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "databaseName")
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @table_catalog_id = table_catalog_id
  Jsii::Type.check_type(@table_catalog_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableCatalogId")
  @table_name = table_name
  Jsii::Type.check_type(@table_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "tableName")
end

Instance Attribute Details

#database_nameString (readonly)

A database in the Data Catalog .



621
622
623
# File 'lake_formation/cfn_principal_permissions.rb', line 621

def database_name
  @database_name
end

#nameString (readonly)

The name given by the user to the data filter cell.



626
627
628
# File 'lake_formation/cfn_principal_permissions.rb', line 626

def name
  @name
end

#table_catalog_idString (readonly)

The ID of the catalog to which the table belongs.



631
632
633
# File 'lake_formation/cfn_principal_permissions.rb', line 631

def table_catalog_id
  @table_catalog_id
end

#table_nameString (readonly)

The name of the table.



636
637
638
# File 'lake_formation/cfn_principal_permissions.rb', line 636

def table_name
  @table_name
end

Class Method Details

.jsii_propertiesObject



638
639
640
641
642
643
644
645
# File 'lake_formation/cfn_principal_permissions.rb', line 638

def self.jsii_properties
  {
    :database_name => "databaseName",
    :name => "name",
    :table_catalog_id => "tableCatalogId",
    :table_name => "tableName",
  }
end

Instance Method Details

#to_jsiiObject



647
648
649
650
651
652
653
654
655
656
# File 'lake_formation/cfn_principal_permissions.rb', line 647

def to_jsii
  result = {}
  result.merge!({
    "databaseName" => @database_name,
    "name" => @name,
    "tableCatalogId" => @table_catalog_id,
    "tableName" => @table_name,
  })
  result.compact
end