Skip to content
v2.275.0

UserSettingProperty Struct ​

Information about the user's permission settings.

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,
};

Properties ​

actionstringactionstractionStringActionstringAction*stringrequired#
Indicates the type of action.
maximumLengthoptionalnumbermaximum_lengthoptionalint | floatmaximumLengthoptionalNumberMaximumLengthoptionaldoubleMaximumLengthoptional*float64#
Indicates the maximum character length for the specified user setting.
permissionstringpermissionstrpermissionStringPermissionstringPermission*stringrequired#
Indicates if the setting is enabled or disabled.