UserSettingProperty Struct
Specifies an action and whether the action is enabled or disabled for users during their streaming sessions.
| 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 userSettingProperty: appstream.CfnStack.UserSettingProperty = {
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_appstream as appstream
user_setting_property = appstream.CfnStack.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.appstream.*;
UserSettingProperty userSettingProperty = UserSettingProperty.builder()
.action("action")
.permission("permission")
// the properties below are optional
.maximumLength(123)
.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 userSettingProperty = 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"
userSettingProperty := &UserSettingProperty{
Action: jsii.String("action"),
Permission: jsii.String("permission"),
// the properties below are optional
MaximumLength: jsii.Number(123),
}
Properties
The action that is enabled or disabled.
maximumLengthoptionalnumbermaximum_lengthoptionalint | floatmaximumLengthoptionalNumberMaximumLengthoptionaldoubleMaximumLengthoptional*float64 #Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.
notes
This can be specified only for the CLIPBOARD_COPY_FROM_LOCAL_DEVICE and CLIPBOARD_COPY_TO_LOCAL_DEVICE actions.
This defaults to 20,971,520 (20 MB) when unspecified and the permission is ENABLED . This can't be specified when the permission is DISABLED .
The value can be between 1 and 20,971,520 (20 MB).
Indicates whether the action is enabled or disabled.