Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::CatalogConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
kinesis_firehose/cfn_delivery_stream.rb

Overview

Describes the containers where the destination Apache Iceberg Tables are persisted.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(catalog_arn: nil, warehouse_location: nil) ⇒ CatalogConfigurationProperty

Returns a new instance of CatalogConfigurationProperty.

Parameters:

  • catalog_arn (String, nil) (defaults to: nil)

    Specifies the Glue catalog ARN identifier of the destination Apache Iceberg Tables.

  • warehouse_location (String, nil) (defaults to: nil)

    The warehouse location for Apache Iceberg tables. You must configure this when schema evolution and table creation is enabled.



1336
1337
1338
1339
1340
1341
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1336

def initialize(catalog_arn: nil, warehouse_location: nil)
  @catalog_arn = catalog_arn
  Jsii::Type.check_type(@catalog_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "catalogArn") unless @catalog_arn.nil?
  @warehouse_location = warehouse_location
  Jsii::Type.check_type(@warehouse_location, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "warehouseLocation") unless @warehouse_location.nil?
end

Instance Attribute Details

#catalog_arnString? (readonly)

Specifies the Glue catalog ARN identifier of the destination Apache Iceberg Tables.

You must specify the ARN in the format arn:aws:glue:region:account-id:catalog .



1349
1350
1351
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1349

def catalog_arn
  @catalog_arn
end

#warehouse_locationString? (readonly)

The warehouse location for Apache Iceberg tables. You must configure this when schema evolution and table creation is enabled.

Amazon Data Firehose is in preview release and is subject to change.



1356
1357
1358
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1356

def warehouse_location
  @warehouse_location
end

Class Method Details

.jsii_propertiesObject



1358
1359
1360
1361
1362
1363
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1358

def self.jsii_properties
  {
    :catalog_arn => "catalogArn",
    :warehouse_location => "warehouseLocation",
  }
end

Instance Method Details

#to_jsiiObject



1365
1366
1367
1368
1369
1370
1371
1372
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 1365

def to_jsii
  result = {}
  result.merge!({
    "catalogArn" => @catalog_arn,
    "warehouseLocation" => @warehouse_location,
  })
  result.compact
end