Class: AWSCDK::DynamoDB::CfnGlobalTable::KinesisStreamSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::DynamoDB::CfnGlobalTable::KinesisStreamSpecificationProperty
- Defined in:
- dynamo_db/cfn_global_table.rb
Overview
The Kinesis Data Streams configuration for the specified global table replica.
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.
1208 1209 1210 1211 1212 1213 |
# File 'dynamo_db/cfn_global_table.rb', line 1208 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.
1224 1225 1226 |
# File 'dynamo_db/cfn_global_table.rb', line 1224 def approximate_creation_date_time_precision @approximate_creation_date_time_precision end |
#stream_arn ⇒ String (readonly)
The ARN for a specific Kinesis data stream.
1219 1220 1221 |
# File 'dynamo_db/cfn_global_table.rb', line 1219 def stream_arn @stream_arn end |
Class Method Details
.jsii_properties ⇒ Object
1226 1227 1228 1229 1230 1231 |
# File 'dynamo_db/cfn_global_table.rb', line 1226 def self.jsii_properties { :stream_arn => "streamArn", :approximate_creation_date_time_precision => "approximateCreationDateTimePrecision", } end |
Instance Method Details
#to_jsii ⇒ Object
1233 1234 1235 1236 1237 1238 1239 1240 |
# File 'dynamo_db/cfn_global_table.rb', line 1233 def to_jsii result = {} result.merge!({ "streamArn" => @stream_arn, "approximateCreationDateTimePrecision" => @approximate_creation_date_time_precision, }) result.compact end |