# StreamingExperienceSettingsProperty

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: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `preferredProtocol`: string — The preferred protocol that you want to use while streaming your application.
