Class: AWSCDK::KinesisVideo::CfnStream::StreamStorageConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_storage_tier: nil) ⇒ StreamStorageConfigurationProperty

Returns a new instance of StreamStorageConfigurationProperty.

Parameters:

  • default_storage_tier (String, nil) (defaults to: nil)

    The default storage tier for the stream data.



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_tierString? (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_propertiesObject



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_jsiiObject



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