StreamingExperienceSettingsProperty Struct
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.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const streamingExperienceSettingsProperty: appstream.CfnStack.StreamingExperienceSettingsProperty = {
preferredProtocol: 'preferredProtocol',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appstream as appstream
streaming_experience_settings_property = appstream.CfnStack.StreamingExperienceSettingsProperty(
preferred_protocol="preferredProtocol"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appstream.*;
StreamingExperienceSettingsProperty streamingExperienceSettingsProperty = StreamingExperienceSettingsProperty.builder()
.preferredProtocol("preferredProtocol")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppStream;
var streamingExperienceSettingsProperty = new StreamingExperienceSettingsProperty {
PreferredProtocol = "preferredProtocol"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
streamingExperienceSettingsProperty := &StreamingExperienceSettingsProperty{
PreferredProtocol: jsii.String("preferredProtocol"),
}
Properties
preferredProtocoloptionalstringpreferred_protocoloptionalstrpreferredProtocoloptionalStringPreferredProtocoloptionalstringPreferredProtocoloptional*string #The preferred protocol that you want to use while streaming your application.