Class: AWSCDK::KinesisAnalyticsv2::CfnApplicationReferenceDataSource::S3ReferenceDataSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisAnalyticsv2::CfnApplicationReferenceDataSource::S3ReferenceDataSourceProperty
- Defined in:
- kinesis_analyticsv2/cfn_application_reference_data_source.rb
Overview
For an SQL-based Amazon Kinesis Data Analytics application, identifies the Amazon S3 bucket and object that contains the reference data.
A Kinesis Data Analytics application loads reference data only once. If the data changes, you call the UpdateApplication operation to trigger reloading of data into your application.
Instance Attribute Summary collapse
-
#bucket_arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the S3 bucket.
-
#file_key ⇒ String
readonly
The object key name containing the reference data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket_arn:, file_key:) ⇒ S3ReferenceDataSourceProperty
constructor
A new instance of S3ReferenceDataSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket_arn:, file_key:) ⇒ S3ReferenceDataSourceProperty
Returns a new instance of S3ReferenceDataSourceProperty.
854 855 856 857 858 859 |
# File 'kinesis_analyticsv2/cfn_application_reference_data_source.rb', line 854 def initialize(bucket_arn:, file_key:) @bucket_arn = bucket_arn Jsii::Type.check_type(@bucket_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucketArn") @file_key = file_key Jsii::Type.check_type(@file_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileKey") end |
Instance Attribute Details
#bucket_arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the S3 bucket.
865 866 867 |
# File 'kinesis_analyticsv2/cfn_application_reference_data_source.rb', line 865 def bucket_arn @bucket_arn end |
#file_key ⇒ String (readonly)
The object key name containing the reference data.
870 871 872 |
# File 'kinesis_analyticsv2/cfn_application_reference_data_source.rb', line 870 def file_key @file_key end |
Class Method Details
.jsii_properties ⇒ Object
872 873 874 875 876 877 |
# File 'kinesis_analyticsv2/cfn_application_reference_data_source.rb', line 872 def self.jsii_properties { :bucket_arn => "bucketArn", :file_key => "fileKey", } end |
Instance Method Details
#to_jsii ⇒ Object
879 880 881 882 883 884 885 886 |
# File 'kinesis_analyticsv2/cfn_application_reference_data_source.rb', line 879 def to_jsii result = {} result.merge!({ "bucketArn" => @bucket_arn, "fileKey" => @file_key, }) result.compact end |