Class: AWSCDK::DynamoDB::CfnTable::KinesisStreamSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DynamoDB::CfnTable::KinesisStreamSpecificationProperty
- Defined in:
- dynamo_db/cfn_table.rb
Overview
The Kinesis Data Streams configuration for the specified table.
Instance Attribute Summary collapse
-
#approximate_creation_date_time_precision ⇒ String?
readonly
The precision for the time and date that the stream was created.
-
#stream_arn ⇒ String
readonly
The ARN for a specific Kinesis data stream.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(stream_arn:, approximate_creation_date_time_precision: nil) ⇒ KinesisStreamSpecificationProperty
constructor
A new instance of KinesisStreamSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(stream_arn:, approximate_creation_date_time_precision: nil) ⇒ KinesisStreamSpecificationProperty
Returns a new instance of KinesisStreamSpecificationProperty.
1226 1227 1228 1229 1230 1231 |
# File 'dynamo_db/cfn_table.rb', line 1226 def initialize(stream_arn:, approximate_creation_date_time_precision: nil) @stream_arn = stream_arn Jsii::Type.check_type(@stream_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "streamArn") @approximate_creation_date_time_precision = approximate_creation_date_time_precision Jsii::Type.check_type(@approximate_creation_date_time_precision, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "approximateCreationDateTimePrecision") unless @approximate_creation_date_time_precision.nil? end |
Instance Attribute Details
#approximate_creation_date_time_precision ⇒ String? (readonly)
The precision for the time and date that the stream was created.
1244 1245 1246 |
# File 'dynamo_db/cfn_table.rb', line 1244 def approximate_creation_date_time_precision @approximate_creation_date_time_precision end |
#stream_arn ⇒ String (readonly)
The ARN for a specific Kinesis data stream.
Length Constraints: Minimum length of 37. Maximum length of 1024.
1239 1240 1241 |
# File 'dynamo_db/cfn_table.rb', line 1239 def stream_arn @stream_arn end |
Class Method Details
.jsii_properties ⇒ Object
1246 1247 1248 1249 1250 1251 |
# File 'dynamo_db/cfn_table.rb', line 1246 def self.jsii_properties { :stream_arn => "streamArn", :approximate_creation_date_time_precision => "approximateCreationDateTimePrecision", } end |
Instance Method Details
#to_jsii ⇒ Object
1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'dynamo_db/cfn_table.rb', line 1253 def to_jsii result = {} result.merge!({ "streamArn" => @stream_arn, "approximateCreationDateTimePrecision" => @approximate_creation_date_time_precision, }) result.compact end |