Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::PartitionFieldProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CfnDeliveryStream::PartitionFieldProperty
- Defined in:
- kinesis_firehose/cfn_delivery_stream.rb
Overview
Represents a single field in a PartitionSpec .
Amazon Data Firehose is in preview release and is subject to change.
Instance Attribute Summary collapse
-
#source_name ⇒ String
readonly
The column name to be configured in partition spec.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_name:) ⇒ PartitionFieldProperty
constructor
A new instance of PartitionFieldProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_name:) ⇒ PartitionFieldProperty
Returns a new instance of PartitionFieldProperty.
3712 3713 3714 3715 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3712 def initialize(source_name:) @source_name = source_name Jsii::Type.check_type(@source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceName") end |
Instance Attribute Details
#source_name ⇒ String (readonly)
The column name to be configured in partition spec.
Amazon Data Firehose is in preview release and is subject to change.
3723 3724 3725 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3723 def source_name @source_name end |
Class Method Details
.jsii_properties ⇒ Object
3725 3726 3727 3728 3729 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3725 def self.jsii_properties { :source_name => "sourceName", } end |
Instance Method Details
#to_jsii ⇒ Object
3731 3732 3733 3734 3735 3736 3737 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 3731 def to_jsii result = {} result.merge!({ "sourceName" => @source_name, }) result.compact end |