Skip to content
v2.278.0

UserProfileDetailsProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const userProfileDetailsProperty: datazone.CfnUserProfile.UserProfileDetailsProperty = {
  iam: {
    arn: 'arn',
    groupProfileId: 'groupProfileId',
    sessionName: 'sessionName',
  },
  sso: {
    firstName: 'firstName',
    lastName: 'lastName',
    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 import aws_datazone as datazone

user_profile_details_property = datazone.CfnUserProfile.UserProfileDetailsProperty(
    iam=datazone.CfnUserProfile.IamUserProfileDetailsProperty(
        arn="arn",
        group_profile_id="groupProfileId",
        session_name="sessionName"
    ),
    sso=datazone.CfnUserProfile.SsoUserProfileDetailsProperty(
        first_name="firstName",
        last_name="lastName",
        username="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.services.datazone.*;

UserProfileDetailsProperty userProfileDetailsProperty = UserProfileDetailsProperty.builder()
        .iam(IamUserProfileDetailsProperty.builder()
                .arn("arn")
                .groupProfileId("groupProfileId")
                .sessionName("sessionName")
                .build())
        .sso(SsoUserProfileDetailsProperty.builder()
                .firstName("firstName")
                .lastName("lastName")
                .username("username")
                .build())
        .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.DataZone;

var userProfileDetailsProperty = new UserProfileDetailsProperty {
    Iam = new IamUserProfileDetailsProperty {
        Arn = "arn",
        GroupProfileId = "groupProfileId",
        SessionName = "sessionName"
    },
    Sso = new SsoUserProfileDetailsProperty {
        FirstName = "firstName",
        LastName = "lastName",
        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"

userProfileDetailsProperty := &UserProfileDetailsProperty{
	Iam: &IamUserProfileDetailsProperty{
		Arn: jsii.String("arn"),
		GroupProfileId: jsii.String("groupProfileId"),
		SessionName: jsii.String("sessionName"),
	},
	Sso: &SsoUserProfileDetailsProperty{
		FirstName: jsii.String("firstName"),
		LastName: jsii.String("lastName"),
		Username: jsii.String("username"),
	},
}

Properties ​

iamoptionalIResolvable | CfnUserProfile.IamUserProfileDetailsPropertyiamoptionaltyping.Union[IResolvable, IamUserProfileDetailsProperty]iamoptionalIResolvableIamoptionalIResolvableIamoptionalinterface{} #
The details of the IAM User Profile.
ssooptionalIResolvable | CfnUserProfile.SsoUserProfileDetailsPropertyssooptionaltyping.Union[IResolvable, SsoUserProfileDetailsProperty]ssooptionalIResolvableSsooptionalIResolvableSsooptionalinterface{} #
The details of the SSO User Profile.