Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::PartitionSpecProperty

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

Overview

Represents how to produce partition data for a table.

Partition data is produced by transforming columns in a table. Each column transform is represented by a named PartitionField .

Here is an example of the schema in JSON.

"partitionSpec": { "identity": [ {"sourceName": "column1"}, {"sourceName": "column2"}, {"sourceName": "column3"} ] }

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(identity: nil) ⇒ PartitionSpecProperty

Returns a new instance of PartitionSpecProperty.

Parameters:



3755
3756
3757
3758
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3755

def initialize(identity: nil)
  @identity = identity
  Jsii::Type.check_type(@identity, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa2luZXNpc2ZpcmVob3NlLkNmbkRlbGl2ZXJ5U3RyZWFtLlBhcnRpdGlvbkZpZWxkUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "identity") unless @identity.nil?
end

Instance Attribute Details

#identityAWSCDK::IResolvable, ... (readonly)

List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.

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



3766
3767
3768
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3766

def identity
  @identity
end

Class Method Details

.jsii_propertiesObject



3768
3769
3770
3771
3772
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3768

def self.jsii_properties
  {
    :identity => "identity",
  }
end

Instance Method Details

#to_jsiiObject



3774
3775
3776
3777
3778
3779
3780
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3774

def to_jsii
  result = {}
  result.merge!({
    "identity" => @identity,
  })
  result.compact
end