Class: AWSCDK::AppStream::CfnStack::StreamingExperienceSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_stream/cfn_stack.rb

Overview

The streaming protocol that you want your stack to prefer.

This can be UDP or TCP. Currently, UDP is only supported in the Windows native client.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(preferred_protocol: nil) ⇒ StreamingExperienceSettingsProperty

Returns a new instance of StreamingExperienceSettingsProperty.

Parameters:

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

    The preferred protocol that you want to use while streaming your application.



885
886
887
888
# File 'app_stream/cfn_stack.rb', line 885

def initialize(preferred_protocol: nil)
  @preferred_protocol = preferred_protocol
  Jsii::Type.check_type(@preferred_protocol, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "preferredProtocol") unless @preferred_protocol.nil?
end

Instance Attribute Details

#preferred_protocolString? (readonly)

The preferred protocol that you want to use while streaming your application.



894
895
896
# File 'app_stream/cfn_stack.rb', line 894

def preferred_protocol
  @preferred_protocol
end

Class Method Details

.jsii_propertiesObject



896
897
898
899
900
# File 'app_stream/cfn_stack.rb', line 896

def self.jsii_properties
  {
    :preferred_protocol => "preferredProtocol",
  }
end

Instance Method Details

#to_jsiiObject



902
903
904
905
906
907
908
# File 'app_stream/cfn_stack.rb', line 902

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