Class: AWSCDK::NimbleStudio::CfnLaunchProfile::StreamConfigurationSessionStorageProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NimbleStudio::CfnLaunchProfile::StreamConfigurationSessionStorageProperty
- Defined in:
- nimble_studio/cfn_launch_profile.rb
Overview
Instance Attribute Summary collapse
- #mode ⇒ Array<String> readonly
- #root ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mode:, root: nil) ⇒ StreamConfigurationSessionStorageProperty
constructor
A new instance of StreamConfigurationSessionStorageProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mode:, root: nil) ⇒ StreamConfigurationSessionStorageProperty
Returns a new instance of StreamConfigurationSessionStorageProperty.
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 |
Instance Attribute Details
#mode ⇒ Array<String> (readonly)
729 730 731 |
# File 'nimble_studio/cfn_launch_profile.rb', line 729 def mode @mode end |
#root ⇒ AWSCDK::IResolvable, ... (readonly)
732 733 734 |
# File 'nimble_studio/cfn_launch_profile.rb', line 732 def root @root end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |