Class: AWSCDK::KinesisVideo::CfnStream::StreamStorageConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisVideo::CfnStream::StreamStorageConfigurationProperty
- Defined in:
- kinesis_video/cfn_stream.rb
Overview
The configuration for stream storage, including the default storage tier for stream data.
This configuration determines how stream data is stored and accessed, with different tiers offering varying levels of performance and cost optimization.
Instance Attribute Summary collapse
-
#default_storage_tier ⇒ String?
readonly
The default storage tier for the stream data.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(default_storage_tier: nil) ⇒ StreamStorageConfigurationProperty
constructor
A new instance of StreamStorageConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(default_storage_tier: nil) ⇒ StreamStorageConfigurationProperty
Returns a new instance of StreamStorageConfigurationProperty.
606 607 608 609 |
# File 'kinesis_video/cfn_stream.rb', line 606 def initialize(default_storage_tier: nil) @default_storage_tier = default_storage_tier Jsii::Type.check_type(@default_storage_tier, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "defaultStorageTier") unless @default_storage_tier.nil? end |
Instance Attribute Details
#default_storage_tier ⇒ String? (readonly)
Note:
Default: - "HOT"
The default storage tier for the stream data.
This setting determines the storage class used for stream data, affecting both performance characteristics and storage costs.
Available storage tiers:
HOT- Optimized for frequent access with the lowest latency and highest performance. Ideal for real-time applications and frequently accessed data.WARM- Balanced performance and cost for moderately accessed data. Suitable for data that is accessed regularly but not continuously.
623 624 625 |
# File 'kinesis_video/cfn_stream.rb', line 623 def default_storage_tier @default_storage_tier end |
Class Method Details
.jsii_properties ⇒ Object
625 626 627 628 629 |
# File 'kinesis_video/cfn_stream.rb', line 625 def self.jsii_properties { :default_storage_tier => "defaultStorageTier", } end |
Instance Method Details
#to_jsii ⇒ Object
631 632 633 634 635 636 637 |
# File 'kinesis_video/cfn_stream.rb', line 631 def to_jsii result = {} result.merge!({ "defaultStorageTier" => @default_storage_tier, }) result.compact end |