Class: AWSCDK::GameLiftStreams::CfnApplication::RuntimeEnvironmentProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
game_lift_streams/cfn_application.rb

Overview

Configuration settings that identify the operating system for an application resource.

This can also include a compatibility layer and other drivers.

A runtime environment can be one of the following:

  • For Linux applications
  • Ubuntu 22.04 LTS ( Type=UBUNTU, Version=22_04_LTS )
  • For Windows applications
  • Microsoft Windows Server 2022 Base ( Type=WINDOWS, Version=2022 )
  • Proton 9.0-2 ( Type=PROTON, Version=20250516 )
  • Proton 8.0-5 ( Type=PROTON, Version=20241007 )
  • Proton 8.0-2c ( Type=PROTON, Version=20230704 )

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, version:) ⇒ RuntimeEnvironmentProperty

Returns a new instance of RuntimeEnvironmentProperty.

Parameters:

  • type (String)

    The operating system and other drivers.

  • version (String)

    Versioned container environment for the application operating system.



624
625
626
627
628
629
# File 'game_lift_streams/cfn_application.rb', line 624

def initialize(type:, version:)
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type")
  @version = version
  Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version")
end

Instance Attribute Details

#typeString (readonly)

The operating system and other drivers.

For Proton, this also includes the Proton compatibility layer.



637
638
639
# File 'game_lift_streams/cfn_application.rb', line 637

def type
  @type
end

#versionString (readonly)

Versioned container environment for the application operating system.



642
643
644
# File 'game_lift_streams/cfn_application.rb', line 642

def version
  @version
end

Class Method Details

.jsii_propertiesObject



644
645
646
647
648
649
# File 'game_lift_streams/cfn_application.rb', line 644

def self.jsii_properties
  {
    :type => "type",
    :version => "version",
  }
end

Instance Method Details

#to_jsiiObject



651
652
653
654
655
656
657
658
# File 'game_lift_streams/cfn_application.rb', line 651

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