Class: AWSCDK::NimbleStudio::CfnLaunchProfile::StreamConfigurationSessionBackupProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::NimbleStudio::CfnLaunchProfile::StreamConfigurationSessionBackupProperty
- Defined in:
- nimble_studio/cfn_launch_profile.rb
Overview
Instance Attribute Summary collapse
- #max_backups_to_retain ⇒ Numeric? readonly
- #mode ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_backups_to_retain: nil, mode: nil) ⇒ StreamConfigurationSessionBackupProperty
constructor
A new instance of StreamConfigurationSessionBackupProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_backups_to_retain: nil, mode: nil) ⇒ StreamConfigurationSessionBackupProperty
Returns a new instance of StreamConfigurationSessionBackupProperty.
683 684 685 686 687 688 |
# File 'nimble_studio/cfn_launch_profile.rb', line 683 def initialize(max_backups_to_retain: nil, mode: nil) @max_backups_to_retain = max_backups_to_retain Jsii::Type.check_type(@max_backups_to_retain, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxBackupsToRetain") unless @max_backups_to_retain.nil? @mode = mode Jsii::Type.check_type(@mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mode") unless @mode.nil? end |
Instance Attribute Details
#max_backups_to_retain ⇒ Numeric? (readonly)
692 693 694 |
# File 'nimble_studio/cfn_launch_profile.rb', line 692 def max_backups_to_retain @max_backups_to_retain end |
#mode ⇒ String? (readonly)
695 696 697 |
# File 'nimble_studio/cfn_launch_profile.rb', line 695 def mode @mode end |
Class Method Details
.jsii_properties ⇒ Object
697 698 699 700 701 702 |
# File 'nimble_studio/cfn_launch_profile.rb', line 697 def self.jsii_properties { :max_backups_to_retain => "maxBackupsToRetain", :mode => "mode", } end |
Instance Method Details
#to_jsii ⇒ Object
704 705 706 707 708 709 710 711 |
# File 'nimble_studio/cfn_launch_profile.rb', line 704 def to_jsii result = {} result.merge!({ "maxBackupsToRetain" => @max_backups_to_retain, "mode" => @mode, }) result.compact end |