UserProfileReference Struct
A reference to a UserProfile resource.
| 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_sagemaker as interfaces_sagemaker } from 'aws-cdk-lib/interfaces';
const userProfileReference: interfaces_sagemaker.UserProfileReference = {
domainId: 'domainId',
userProfileArn: 'userProfileArn',
userProfileName: 'userProfileName',
};
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_sagemaker as interfaces_sagemaker
user_profile_reference = interfaces_sagemaker.UserProfileReference(
domain_id="domainId",
user_profile_arn="userProfileArn",
user_profile_name="userProfileName"
)
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.sagemaker.*;
UserProfileReference userProfileReference = UserProfileReference.builder()
.domainId("domainId")
.userProfileArn("userProfileArn")
.userProfileName("userProfileName")
.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.Sagemaker;
var userProfileReference = new UserProfileReference {
DomainId = "domainId",
UserProfileArn = "userProfileArn",
UserProfileName = "userProfileName"
};
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"
userProfileReference := &UserProfileReference{
DomainId: jsii.String("domainId"),
UserProfileArn: jsii.String("userProfileArn"),
UserProfileName: jsii.String("userProfileName"),
}
Properties
The DomainId of the UserProfile resource.
userProfileArnstringuser_profile_arnstruserProfileArnStringUserProfileArnstringUserProfileArn*string required #The ARN of the UserProfile resource.
userProfileNamestringuser_profile_namestruserProfileNameStringUserProfileNamestringUserProfileName*string required #The UserProfileName of the UserProfile resource.