Class: AWSCDK::KinesisAnalytics::CfnApplicationReferenceDataSourceV2Props Deprecated
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalytics::CfnApplicationReferenceDataSourceV2Props
- Defined in:
- kinesis_analytics/cfn_application_reference_data_source_v2_props.rb
Overview
use aws-kinesisanalyticsv2 instead
Properties for defining a CfnApplicationReferenceDataSource.
Instance Attribute Summary collapse
-
#application_name ⇒ String
readonly
The name of the application.
-
#reference_data_source ⇒ AWSCDK::IResolvable, AWSCDK::KinesisAnalytics::CfnApplicationReferenceDataSourceV2::ReferenceDataSourceProperty
readonly
For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_name:, reference_data_source:) ⇒ CfnApplicationReferenceDataSourceV2Props
constructor
A new instance of CfnApplicationReferenceDataSourceV2Props.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_name:, reference_data_source:) ⇒ CfnApplicationReferenceDataSourceV2Props
Returns a new instance of CfnApplicationReferenceDataSourceV2Props.
12 13 14 15 16 17 |
# File 'kinesis_analytics/cfn_application_reference_data_source_v2_props.rb', line 12 def initialize(application_name:, reference_data_source:) @application_name = application_name Jsii::Type.check_type(@application_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationName") @reference_data_source = reference_data_source.is_a?(Hash) ? ::AWSCDK::KinesisAnalytics::CfnApplicationReferenceDataSourceV2::ReferenceDataSourceProperty.new(**reference_data_source.transform_keys(&:to_sym)) : reference_data_source Jsii::Type.check_type(@reference_data_source, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19raW5lc2lzYW5hbHl0aWNzLkNmbkFwcGxpY2F0aW9uUmVmZXJlbmNlRGF0YVNvdXJjZVYyLlJlZmVyZW5jZURhdGFTb3VyY2VQcm9wZXJ0eSJ9XX19")), "referenceDataSource") end |
Instance Attribute Details
#application_name ⇒ String (readonly)
The name of the application.
23 24 25 |
# File 'kinesis_analytics/cfn_application_reference_data_source_v2_props.rb', line 23 def application_name @application_name end |
#reference_data_source ⇒ AWSCDK::IResolvable, AWSCDK::KinesisAnalytics::CfnApplicationReferenceDataSourceV2::ReferenceDataSourceProperty (readonly)
For a SQL-based Kinesis Data Analytics application, describes the reference data source by providing the source information (Amazon S3 bucket name and object key name), the resulting in-application table name that is created, and the necessary schema to map the data elements in the Amazon S3 object to the in-application table.
28 29 30 |
# File 'kinesis_analytics/cfn_application_reference_data_source_v2_props.rb', line 28 def reference_data_source @reference_data_source end |
Class Method Details
.jsii_properties ⇒ Object
30 31 32 33 34 35 |
# File 'kinesis_analytics/cfn_application_reference_data_source_v2_props.rb', line 30 def self.jsii_properties { :application_name => "applicationName", :reference_data_source => "referenceDataSource", } end |
Instance Method Details
#to_jsii ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'kinesis_analytics/cfn_application_reference_data_source_v2_props.rb', line 37 def to_jsii result = {} result.merge!({ "applicationName" => @application_name, "referenceDataSource" => @reference_data_source, }) result.compact end |