StreamingPropertiesProperty Struct
Describes the streaming properties.
| 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_workspaces as workspaces } from 'aws-cdk-lib';
const streamingPropertiesProperty: workspaces.CfnDirectory.StreamingPropertiesProperty = {
globalAccelerator: {
mode: 'mode',
// the properties below are optional
preferredProtocol: 'preferredProtocol',
},
storageConnectors: [{
connectorType: 'connectorType',
status: 'status',
}],
streamingExperiencePreferredProtocol: 'streamingExperiencePreferredProtocol',
userSettings: [{
action: 'action',
permission: 'permission',
// the properties below are optional
maximumLength: 123,
}],
};
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_workspaces as workspaces
streaming_properties_property = workspaces.CfnDirectory.StreamingPropertiesProperty(
global_accelerator=workspaces.CfnDirectory.GlobalAcceleratorForDirectoryProperty(
mode="mode",
# the properties below are optional
preferred_protocol="preferredProtocol"
),
storage_connectors=[workspaces.CfnDirectory.StorageConnectorProperty(
connector_type="connectorType",
status="status"
)],
streaming_experience_preferred_protocol="streamingExperiencePreferredProtocol",
user_settings=[workspaces.CfnDirectory.UserSettingProperty(
action="action",
permission="permission",
# the properties below are optional
maximum_length=123
)]
)
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.workspaces.*;
StreamingPropertiesProperty streamingPropertiesProperty = StreamingPropertiesProperty.builder()
.globalAccelerator(GlobalAcceleratorForDirectoryProperty.builder()
.mode("mode")
// the properties below are optional
.preferredProtocol("preferredProtocol")
.build())
.storageConnectors(List.of(StorageConnectorProperty.builder()
.connectorType("connectorType")
.status("status")
.build()))
.streamingExperiencePreferredProtocol("streamingExperiencePreferredProtocol")
.userSettings(List.of(UserSettingProperty.builder()
.action("action")
.permission("permission")
// the properties below are optional
.maximumLength(123)
.build()))
.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.WorkSpaces;
var streamingPropertiesProperty = new StreamingPropertiesProperty {
GlobalAccelerator = new GlobalAcceleratorForDirectoryProperty {
Mode = "mode",
// the properties below are optional
PreferredProtocol = "preferredProtocol"
},
StorageConnectors = new [] { new StorageConnectorProperty {
ConnectorType = "connectorType",
Status = "status"
} },
StreamingExperiencePreferredProtocol = "streamingExperiencePreferredProtocol",
UserSettings = new [] { new UserSettingProperty {
Action = "action",
Permission = "permission",
// the properties below are optional
MaximumLength = 123
} }
};
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"
streamingPropertiesProperty := &StreamingPropertiesProperty{
GlobalAccelerator: &GlobalAcceleratorForDirectoryProperty{
Mode: jsii.String("mode"),
// the properties below are optional
PreferredProtocol: jsii.String("preferredProtocol"),
},
StorageConnectors: []interface{}{
&StorageConnectorProperty{
ConnectorType: jsii.String("connectorType"),
Status: jsii.String("status"),
},
},
StreamingExperiencePreferredProtocol: jsii.String("streamingExperiencePreferredProtocol"),
UserSettings: []interface{}{
&UserSettingProperty{
Action: jsii.String("action"),
Permission: jsii.String("permission"),
// the properties below are optional
MaximumLength: jsii.Number(123),
},
},
}
Properties
globalAcceleratoroptionalIResolvable | CfnDirectory.global_acceleratoroptionaltyping.Union[IResolvable, GlobalAcceleratorForDirectoryProperty]globalAcceleratoroptionalIResolvableGlobalAcceleratoroptionalIResolvableGlobalAcceleratoroptionalinterface{} #Describes the Global Accelerator for directory.
storageConnectorsoptionalIResolvable | IResolvable | CfnDirectory.storage_connectorsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, StorageConnectorProperty]]]storageConnectorsoptionalIResolvableStorageConnectorsoptionalIResolvableStorageConnectorsoptionalinterface{} #Indicates the storage connector used.
streamingExperiencePreferredProtocoloptionalstringstreaming_experience_preferred_protocoloptionalstrstreamingExperiencePreferredProtocoloptionalStringStreamingExperiencePreferredProtocoloptionalstringStreamingExperiencePreferredProtocoloptional*string #Indicates the type of preferred protocol for the streaming experience.
userSettingsoptionalIResolvable | IResolvable | CfnDirectory.UserSettingProperty[]user_settingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, UserSettingProperty]]]userSettingsoptionalIResolvableUserSettingsoptionalIResolvableUserSettingsoptionalinterface{} #Indicates the permission settings associated with the user.