UserSettingProperty Struct
Information about the user's permission settings.
| 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 userSettingProperty: workspaces.CfnDirectory.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_workspaces as workspaces
user_setting_property = 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.*;
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.WorkSpaces;
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
Indicates the type of action.
maximumLengthoptionalnumbermaximum_lengthoptionalint | floatmaximumLengthoptionalNumberMaximumLengthoptionaldoubleMaximumLengthoptional*float64 #Indicates the maximum character length for the specified user setting.
Indicates if the setting is enabled or disabled.