Class: AWSCDK::KinesisFirehose::SchemaConfigurationFromCfnTableProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::SchemaConfigurationFromCfnTableProps
- Defined in:
- kinesis_firehose/schema_configuration_from_cfn_table_props.rb
Overview
Options for creating a Schema for record format conversion from a glue.CfnTable.
Instance Attribute Summary collapse
-
#region ⇒ String?
readonly
The region of the database the table is in.
-
#version_id ⇒ String?
readonly
Specifies the table version for the output data schema.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(region: nil, version_id: nil) ⇒ SchemaConfigurationFromCfnTableProps
constructor
A new instance of SchemaConfigurationFromCfnTableProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(region: nil, version_id: nil) ⇒ SchemaConfigurationFromCfnTableProps
Returns a new instance of SchemaConfigurationFromCfnTableProps.
9 10 11 12 13 14 |
# File 'kinesis_firehose/schema_configuration_from_cfn_table_props.rb', line 9 def initialize(region: nil, version_id: nil) @region = region Jsii::Type.check_type(@region, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "region") unless @region.nil? @version_id = version_id Jsii::Type.check_type(@version_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "versionId") unless @version_id.nil? end |
Instance Attribute Details
#region ⇒ String? (readonly)
Note:
Default: the region of the stack that contains the table reference is used
The region of the database the table is in.
20 21 22 |
# File 'kinesis_firehose/schema_configuration_from_cfn_table_props.rb', line 20 def region @region end |
#version_id ⇒ String? (readonly)
Note:
Default: LATEST
Specifies the table version for the output data schema.
if set to LATEST, Firehose uses the most recent table version. This means that any updates to the table are automatically picked up.
28 29 30 |
# File 'kinesis_firehose/schema_configuration_from_cfn_table_props.rb', line 28 def version_id @version_id end |
Class Method Details
.jsii_properties ⇒ Object
30 31 32 33 34 35 |
# File 'kinesis_firehose/schema_configuration_from_cfn_table_props.rb', line 30 def self.jsii_properties { :region => "region", :version_id => "versionId", } end |
Instance Method Details
#to_jsii ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'kinesis_firehose/schema_configuration_from_cfn_table_props.rb', line 37 def to_jsii result = {} result.merge!({ "region" => @region, "versionId" => @version_id, }) result.compact end |