Skip to content
v2.278.0

UserReference Struct ​

A reference to a User resource.

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 interfaces_appstream } from 'aws-cdk-lib/interfaces';
const userReference: interfaces_appstream.UserReference = {
  authenticationType: 'authenticationType',
  userArn: 'userArn',
  userName: 'userName',
};
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_appstream as interfaces_appstream

user_reference = interfaces_appstream.UserReference(
    authentication_type="authenticationType",
    user_arn="userArn",
    user_name="userName"
)
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.appstream.*;

UserReference userReference = UserReference.builder()
        .authenticationType("authenticationType")
        .userArn("userArn")
        .userName("userName")
        .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.AppStream;

var userReference = new UserReference {
    AuthenticationType = "authenticationType",
    UserArn = "userArn",
    UserName = "userName"
};
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"

userReference := &UserReference{
	AuthenticationType: jsii.String("authenticationType"),
	UserArn: jsii.String("userArn"),
	UserName: jsii.String("userName"),
}

Properties ​

authenticationTypestringauthentication_typestrauthenticationTypeStringAuthenticationTypestringAuthenticationType*string required #
The AuthenticationType of the User resource.
userArnstringuser_arnstruserArnStringUserArnstringUserArn*string required #
The ARN of the User resource.
userNamestringuser_namestruserNameStringUserNamestringUserName*string required #
The UserName of the User resource.