Class: AWSCDK::NimbleStudio::CfnLaunchProfile::StreamConfigurationSessionStorageProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
nimble_studio/cfn_launch_profile.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mode:, root: nil) ⇒ StreamConfigurationSessionStorageProperty

Returns a new instance of StreamConfigurationSessionStorageProperty.

Parameters:



720
721
722
723
724
725
# File 'nimble_studio/cfn_launch_profile.rb', line 720

def initialize(mode:, root: nil)
  @mode = mode
  Jsii::Type.check_type(@mode, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "mode")
  @root = root.is_a?(Hash) ? ::AWSCDK::NimbleStudio::CfnLaunchProfile::StreamingSessionStorageRootProperty.new(**root.transform_keys(&:to_sym)) : root
  Jsii::Type.check_type(@root, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19uaW1ibGVzdHVkaW8uQ2ZuTGF1bmNoUHJvZmlsZS5TdHJlYW1pbmdTZXNzaW9uU3RvcmFnZVJvb3RQcm9wZXJ0eSJ9XX19")), "root") unless @root.nil?
end

Class Method Details

.jsii_propertiesObject



734
735
736
737
738
739
# File 'nimble_studio/cfn_launch_profile.rb', line 734

def self.jsii_properties
  {
    :mode => "mode",
    :root => "root",
  }
end

Instance Method Details

#to_jsiiObject



741
742
743
744
745
746
747
748
# File 'nimble_studio/cfn_launch_profile.rb', line 741

def to_jsii
  result = {}
  result.merge!({
    "mode" => @mode,
    "root" => @root,
  })
  result.compact
end