Skip to content
v2.277.0

UserSettingsReference Struct ​

A reference to a UserSettings resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspacesweb as interfaces_workspacesweb } from 'aws-cdk-lib/interfaces';
const userSettingsReference: interfaces_workspacesweb.UserSettingsReference = {
  userSettingsArn: 'userSettingsArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_workspacesweb as interfaces_workspacesweb

user_settings_reference = interfaces_workspacesweb.UserSettingsReference(
    user_settings_arn="userSettingsArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.workspacesweb.*;

UserSettingsReference userSettingsReference = UserSettingsReference.builder()
        .userSettingsArn("userSettingsArn")
        .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.Interfaces.WorkSpacesWeb;

var userSettingsReference = new UserSettingsReference {
    UserSettingsArn = "userSettingsArn"
};
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"

userSettingsReference := &UserSettingsReference{
	UserSettingsArn: jsii.String("userSettingsArn"),
}

Properties ​

userSettingsArnstringuser_settings_arnstruserSettingsArnStringUserSettingsArnstringUserSettingsArn*stringrequired#
The UserSettingsArn of the UserSettings resource.